Hi, of course, what I did is to create as Dave suggested a new page template including following code:
*************************************** START ****************** <?xml version='1.0' encoding='UTF-8'?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>$url.absoluteSite</loc> <lastmod>2008-01-08T08:22:38Z</lastmod> <changefreq>daily</changefreq> <priority>0.250</priority> </url> <url> <loc>$url.home</loc> <lastmod>2008-01-08T08:22:38Z</lastmod> <changefreq>daily</changefreq> <priority>0.250</priority> </url> #set($pager = $model.getWeblogEntriesPager()) #set($map = $pager.getEntries()) #foreach($day in $map.keySet()) #set($entries = $map.get($day)) #foreach($entry in $entries) <url> <loc>$url.entry($entry.anchor)</loc> <lastmod>$utils.formatDate($day, "yyyy-MM-dd")</lastmod> <changefreq>daily</changefreq> <priority>0.450</priority> </url> #end #end </urlset> *********************** END ****************************************** It includes right now urls for home, weblog home and entries, but I guess it can be improved including urls for days and categories at least. On the other hand, it is though for Googlebot robot (I suggest to visit http://www.sitemaps.org/protocol.php for more information about the sitemap protocol). Since I will come back to it soon I will post the final code including everything. I hope this helps at least, Cheers, 2008/1/10, [EMAIL PROTECTED] < [EMAIL PROTECTED]>: > > Hi Jorge, > > Is it possible for you to post the code for dynamic Sitemap > generator from Roller ? > > It will be of great help for others for dealing with Search Engine > Companies. > > Have a Great Day ! > > Thanks > > Shyam Prasad > > ________________________________ > > From: Jorge Martinez [mailto:[EMAIL PROTECTED] > Sent: Thu 1/10/2008 3:00 AM > To: [email protected] > Subject: Re: Sitemaps for Roller 4.0 > > > > Hi again! > > I managed to build the sitemap page as suggested and is working allright > :-). It is build dinamically at > http://mydomain/roller/weblog/page/sitemap.xml > > Now I just wonder whether is possible to make it visible at > http://mydomain/roller/sitemap.xml since standard specifications require > sitemaps to be located at the highest level within the folder tree. > > Regards, > > Jorge > > > > 2008/1/7, Jorge Martinez <[EMAIL PROTECTED]>: > > > > Allright, that should work. thanks Dave, > > > > Jorge > > > > 2008/1/7, Dave <[EMAIL PROTECTED]>: > > > > > > On Jan 4, 2008 4:40 AM, Jorge Martinez <[EMAIL PROTECTED]> wrote: > > > > I raised a question a couple of weeks ago about a sitemap generation > > > whithin > > > > Roller 4.0 . and Dave asked which kind of sitemap, so I'll try to > > > explain > > > > which purpose is on behind. > > > > > > > > I'm running Roller 4.0 for a corporate blog ( > > > > http://www.aparcalia.com/Observatorio) and I'm 'fighting against' > > > Google for > > > > having the whole site properly indexed and crawled. One of the > > > must-task > > > > whithin this process is to provide Google with a Sitemap of the site > > > > including the complete list of URLs claimed to be crawled and > indexed, > > > and > > > > here is where I would find very useful a 'sitemap-generator' whithin > > > Roller > > > > 4.0. I know this feature is supported by other blog platforms, so I > > > wonder > > > > whether Roller has such a tool. I went through all documentation but > > > didn't > > > > find anything. > > > > > > Roller does not have a sitemap feature, but you should be able to > > > write one yourself. > > > > > > Here's how I would do it: > > > > > > 1) Use your existing aggregated site-wide "front-page" blog. If you > > > don't have one you can add the $site model to an existing blog (i.e. > > > add the classname below to the list of custom models in the blog's > > > Settings page). > > > > > > org.apache.roller.weblogger.ui.rendering.model.SiteModel > > > > > > 2) Create a new page template in your blog with the name sitemap.html > > > or sitemap.xml, whichever is appropriate. > > > > > > 3) In your new sitemap page, use template code and the $url and $site > > > models to display all of links you would like to index in the > > > appropriate format for Google. See the Template Guide for docs on > > > those models. > > > > > > 4) Make Google aware of your site map using the appropriate technique. > > > > > > Hope that helps... > > > > > > - Dave > > > > > > > > > > > -- > > Jorge Martinez > > 630934694 > > > > > -- > Jorge Martinez > 630934694 > > > -- Jorge Martinez 630934694
