[web2py] Re: sitemap.xml

2017-06-21 Thread Ian Ryder
def sitemap(): # Import Os and Regex import os from gluon.myregex import regex_expose # Finding You Controllers ctldir = os.path.join(request.folder, "controllers") ctls = os.listdir(ctldir) # Excluding The appadmin.py and the Manage.py

[web2py] Re: sitemap.xml

2017-06-21 Thread Ron Chatterjee
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

[web2py] Re: sitemap.xml

2013-05-15 Thread Omi Chiba
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 genera

[web2py] Re: sitemap.xml

2013-05-15 Thread Niphlod
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.. (/

[web2py] Re: sitemap.xml

2013-05-15 Thread Niphlod
you mean that you want every possible url crawled and included in a sitemap ??? that's not web2py's specific, just take a crawler and generate the list of urls http://stackoverflow.com/questions/9561020/how-do-i-use-the-python-scrapy-module-to-list-all-the-urls-from-my-website On Wednesday,

[web2py] Re: sitemap.xml

2013-05-15 Thread Omi Chiba
I was thinking like this website where it will search for the directly under the domain and generate sitemap.xml. http://www.xml-sitemaps.com/ On Wednesday, May 15, 2013 1:59:26 PM UTC-5, Niphlod wrote: > > automatically from what list ? > it's needed at least a list of urls to generate it

[web2py] Re: sitemap.xml

2013-05-15 Thread Niphlod
automatically from what list ? it's needed at least a list of urls to generate it On Wednesday, May 15, 2013 4:59:01 PM UTC+2, Omi Chiba wrote: > > Do we have the way to generate sitemap.xml automatically? -- --- You received this message because you are subscribed to the Google Groups "