diff options
author | Dan McGee <dan@archlinux.org> | 2010-01-31 15:36:42 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-01-31 15:36:42 -0600 |
commit | cc93d3eda6a929ce02a608a113b2eb5f74547323 (patch) | |
tree | 865eabd61137fa8700908d7c44d2998ed17fc64d /feeds.py | |
parent | b13947bb774676918d3c81578d454703188c09e1 (diff) |
Make the feed titles more descriptive
FS#16752.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'feeds.py')
-rw-r--r-- | feeds.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,12 +1,11 @@ import datetime from django.contrib.syndication.feeds import Feed from archweb.main.models import Package, News -#from datetime import datetime class PackageFeed(Feed): - title = 'Recent Package Updates' + title = 'Arch Linux Recent Package Updates' link = '/packages/' - description = 'Recent Package Updates' + description = 'Recently updated packages in the Arch Linux package repositories.' def items(self): return Package.objects.select_related('arch', 'repo').order_by('-last_update')[:24] @@ -18,9 +17,9 @@ class PackageFeed(Feed): return (item.repo.name,item.arch.name) class NewsFeed(Feed): - title = 'Recent News Updates' + title = 'Arch Linux Recent News Updates' link = '/news/' - description = 'Recent News Updates' + description = 'The latest and greatest news from the Arch Linux distribution.' def items(self): return News.objects.select_related('author').order_by('-postdate', '-id')[:10] |