summaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-01-31 15:36:42 -0600
committerDan McGee <dan@archlinux.org>2010-01-31 15:36:42 -0600
commitcc93d3eda6a929ce02a608a113b2eb5f74547323 (patch)
tree865eabd61137fa8700908d7c44d2998ed17fc64d /feeds.py
parentb13947bb774676918d3c81578d454703188c09e1 (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.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/feeds.py b/feeds.py
index a5b13697..bc8a5b0c 100644
--- a/feeds.py
+++ b/feeds.py
@@ -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]