From 0b088b7eac5bc0f5c5b8a7c0c2fa80138ae95731 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Jan 2008 03:11:21 +0000 Subject: [PATCH] --- src/libprs500/ebooks/lrf/web/profiles/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libprs500/ebooks/lrf/web/profiles/__init__.py b/src/libprs500/ebooks/lrf/web/profiles/__init__.py index 4e21873a00..27e6a5144d 100644 --- a/src/libprs500/ebooks/lrf/web/profiles/__init__.py +++ b/src/libprs500/ebooks/lrf/web/profiles/__init__.py @@ -156,6 +156,13 @@ class DefaultProfile(object): def parse_feeds(self): ''' Create list of articles from a list of feeds. + @return: A list of dictionaries, each of the form: + { + 'title' : article title, + 'url' : URL of print version, + 'date' : The publication date of the article as a string, + 'description' : A summary of the article + } ''' added_articles = {} feeds = self.get_feeds()