From cc93d3eda6a929ce02a608a113b2eb5f74547323 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 31 Jan 2010 15:36:42 -0600 Subject: Make the feed titles more descriptive FS#16752. Signed-off-by: Dan McGee --- feeds.py | 9 ++++----- 1 file 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 @@ def item_categories(self, item): 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] -- cgit v1.2.3-54-g00ecf