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
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
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
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.. (/
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,
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
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
"
7 matches
Mail list logo