Generating the Google News Sitemap in FarCry CMS
September 15 2010, 4:21 PM
The FarCry Google Sitemap service will also generate a "news sitemap". Google have a special format for organisations that put out regular news-like content, and with a slight modification you can generate this type of sitemap as well. For example, create a type webskin for your News content type at:
./yourproject/webskins/dmNews/displayTypeSiteMap.cfm
http://www.mysite.com/dmnews/sitemap For more information see the Google Sitemap Code By Example section of the WIKI.
./yourproject/webskins/dmNews/displayTypeSiteMap.cfm
https://gist.github.com/580395
In the newsTypes argument passed to the oSiteMap you can pass in a list of types but you must also pass in the name of the property for publishdate. Point Google Sitemaps (under Google Webmaster Tools) to this News sitemap url:http://www.mysite.com/dmnews/sitemap For more information see the Google Sitemap Code By Example section of the WIKI.