Commit Graph

12 Commits

Author SHA1 Message Date
Dan McGee
4590196d79 Integrate master key into rest of site
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-30 14:07:35 -06:00
Dan McGee
a883b0af23 Add a split packages sitemap
With very low priority, but this should at least give a few more
cross-linking pages to any crawlers using sitemaps.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11 11:57:04 -06:00
Dan McGee
cda9c5bb34 Add a base pages sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15 16:55:03 -05:00
Dan McGee
b0bad20756 Use correct date in news sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15 16:12:01 -05:00
Dan McGee
4a9b6867a3 Refactor common select_related into manager method
For a Package object query, we almost always did .select_related('arch',
'repo). Refactor this into the manager as a 'normal()' method so we can
avoid sprinkling the same logic everywhere.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15 15:50:14 -05:00
Dan McGee
f637a1eb67 Move news model to an appropriate place
Never would have guessed it should actually be in news/models.py.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08 00:23:55 -05:00
Dan McGee
2750b94345 Move package utility functions
We now have a few of them, so move them to their own file like we do in the
other applications.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28 10:53:27 -05:00
Dan McGee
e595665abd Add a package groups sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 17:25:46 -05:00
Dan McGee
5f9d98d407 Sitemaps: split and index, add package files
Split it up as it is growing rather large, and add all the package files
views to the mix so Google or anyone can pick those up. They get a slightly
lower priority (if that even matters).

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10 00:17:51 -06:00
Dan McGee
d709604102 Remove archweb prefix from all imports
Unnecessary, and lets us standardize on not using it everywhere.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10 00:29:27 -06:00
Dan McGee
f22f20003b Make sitemap generation suck a lot less
Add a select_related() clause that was really needed.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-02 21:38:53 -06:00
Ismael Carnales
c1a197d29a added sitemaps from archweb_pub 2009-11-09 22:24:45 -02:00