Add support for generating sitemap.
authorMagnus Hagander <magnus@hagander.net>
Tue, 28 Sep 2010 14:12:13 +0000 (16:12 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 28 Sep 2010 14:12:13 +0000 (16:12 +0200)
commit22f5578c299235a65c561ef2d77231478e9c34a1
tree89b12992845586117a3ce9edcab0e68a3d64b94c
parent8fce64451ecee58d8fdd4450a2b5ff4fedb05dbb
Add support for generating sitemap.

Each module now contains a struct.py file that will return all
the URLs that it can generate (yes, this is a small break of the
abstraction of url.py, but we've broken that elsewhere as well),
and also which search-engine-weight (0.1-1.0) that this URL should
be given.
17 files changed:
pgweb/contributors/struct.py [new file with mode: 0644]
pgweb/core/struct.py [new file with mode: 0644]
pgweb/core/views.py
pgweb/docs/struct.py [new file with mode: 0644]
pgweb/downloads/struct.py [new file with mode: 0644]
pgweb/events/struct.py [new file with mode: 0644]
pgweb/featurematrix/struct.py [new file with mode: 0644]
pgweb/lists/struct.py [new file with mode: 0644]
pgweb/misc/struct.py [new file with mode: 0644]
pgweb/news/struct.py [new file with mode: 0644]
pgweb/profserv/struct.py [new file with mode: 0644]
pgweb/pwn/struct.py [new file with mode: 0644]
pgweb/quotes/struct.py [new file with mode: 0644]
pgweb/sponsors/struct.py [new file with mode: 0644]
pgweb/survey/struct.py [new file with mode: 0644]
pgweb/urls.py
pgweb/util/sitestruct.py [new file with mode: 0644]