PS: the problem with this approach is that your site needs to include some 
page where all the urls that it can generate are listed.

e.g. you make a /app/default/showme/ controller that takes an integer and 
returns the representation of a product, that you previously saved in a 
database...... (/app/default/showme/1, /app/dedault/showme/2, etc)

How do you crawl them "automatically" without a /app/default/show/all that 
lists all products ?
Usually when you want to generate a sitemap.xml it's because bots (that 
basically point to your domain and start crawling like the script provided) 
can't know in advance your dinamically generated pages if there isn't 
somewhere a page that lists ALL of them.



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to