Plugin

Archived
Forum
(read-only)

Rein de Vries does not actively monitor this forum
(but you can still get help from other EE users).


For official support, visit the official support site »

Google Sitemap Lite

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Rein de Vries

     

You must be logged in to post.

How to implement?

Support (Resolved)

rmrketing
rmrketing

I can’t figure out how to get this add-on working - I’m using NavEE, and the tag I’m using is as follows:

{exp:google_sitemap_lite:generate type=“navee” menu_id=“3”}

I’ve tried it in a web page template and an xml template, but neither seems to render anything.  The menu id definitely exists. Any help would be greatly appreciated!

Jim Pannell
# 1
Jim Pannell

I’ve also just tried this and am getting zero output. Is it possible that the plugin isn’t compatible with the latest versions of EE and Structure?

John Gribben
# 2
John Gribben

Same problem. Using Structure.  Nothing happens.

jtrascap
# 3
jtrascap

Seems to be forgotten by the dev..

Michael bradley
# 4
Michael bradley

I managed to get this working OK with structure. Make sure you’re passing both ‘type’ and ‘mode’ params. Also, double-check that the template type is XML and not web page (otherwise I don’t think it will output anything)

{exp:google_sitemap_lite:generate type=“structure” mode=“all”}

PeaceMatt
# 5
PeaceMatt

Why is there no documentaion for this?

PeaceMatt
# 6
PeaceMatt
Michael bradley - 14 October 2011 05:10 AM

I managed to get this working OK with structure. Make sure you’re passing both ‘type’ and ‘mode’ params. Also, double-check that the template type is XML and not web page (otherwise I don’t think it will output anything)

{exp:google_sitemap_lite:generate type=“structure” mode=“all”}

Hi Michael, I am trying to implement this with Structure too.. Where did you place this Tag? As there is no documentation I was opting for ebedding it in a footer snippet… what do you reckon?

Reinos
# 7
Developer
Reinos

Just updated the documentation:

==============
EXAMPLES
==============
{exp:google_sitemap_lite:generate type=“structure” mode=“all”}
{exp:google_sitemap_lite:generate type=“structure”}
This genereate a full sitemap for the structure pages

{exp:google_sitemap_lite:generate type=“structure” mode=“pages”}
This genereate a sitemap for only the pages from structure (Not the listings)

{exp:google_sitemap_lite:generate type=“taxonomy” nav_id=“1”}
This genereate a full sitemap for taxonomy pages

{exp:google_sitemap_lite:generate type=“navee” nav_id=“1”}
This genereate a full sitemap for taxonomy pages  
 
 
==============
HOW TO
==============
- Create a new template called ‘sitemap’
- Set the type for this template to ‘XML’
- Place the tag in the template ‘{exp:google_sitemap_lite:generate type=“structure”}’
- Now the template generate a XML sitemap bases on the structure pages.