Google Sitemaps
Thanks to Wyome, he created a googlesitemaps theme. It's probably obvious to anyone what then to do with it, but I'm documenting it anyway.
1. Download the googlesitemaps theme.
Put the theme into your themes/ directory.
2. Modify the templates.
For each articles module pubtype,
- create the modules/articles/user-summary-XXX.xt tempate (copy existing one and rename)
- edit the base/user-main.xt to include a <xar:module> for the pubtype, such as
- <xar:module main="false" module="articles" ptid="9" numitems="1000" />
Note, you can also add tags for <changefreq> and <priority> for specific pubtypes (or even specific articles), such as
< changefreq>monthly</changefreq>
< priority>0.8</priority>
And you can add similar templates for other modules (like xarpages). [Add explanation here, once i do it myself].
3. Install the theme via Admin > Global > Themes
4. Tell google
Assuming you already have a webmaster tools account on google, go to My Sites and tell it your URL for the sitemaps, e.g.
http://www.vaporbase.com/index.php?module=base&theme=googlesitemap
REFERENCES
- https://www.google.com/webmasters/sitemaps/docs/en/protocol.html
- http://www.xaraya.com/index.php/release/displaynote/137.html
- http://wyome.com/blog/Google_SiteMap
- http://wyome.com/index.php?module=articles&func=display&ptid=7&aid=452
There are no comments attached to this item.



