Which directory sitemap.xml should be placed at? I am guessing under the 
app directory?



On Wednesday, May 15, 2013 at 6:26:58 PM UTC-4, Omi Chiba wrote:
>
> You're right. The web site I previously posted create the index up to 
> controller level. I think it's OK for now.
>
> On Wednesday, May 15, 2013 3:44:26 PM UTC-5, Niphlod wrote:
>>
>> 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.
>>
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to