This commit is contained in:
Kovid Goyal 2008-03-27 02:27:15 +00:00
parent 91217add8b
commit a80e06fbdb
2 changed files with 10 additions and 2 deletions

View File

@ -36,6 +36,8 @@ Customizing e-book download
.. automember:: BasicNewsRecipe.title .. automember:: BasicNewsRecipe.title
.. automember:: BasicNewsRecipe.description
.. automember:: BasicNewsRecipe.__author__ .. automember:: BasicNewsRecipe.__author__
.. automember:: BasicNewsRecipe.max_articles_per_feed .. automember:: BasicNewsRecipe.max_articles_per_feed

View File

@ -32,10 +32,16 @@ class BasicNewsRecipe(object):
#: The title to use for the ebook #: The title to use for the ebook
title = _('Unknown News Source') title = _('Unknown News Source')
#: A couple of lines that describe the content this recipe downloads.
#: This will be used primarily in a GUI that presents a list of recipes.
description = ''
#: The author of this recipe #: The author of this recipe
__author__ = __appname__ __author__ = __appname__
#: Maximum number of articles to download from each feed #: Maximum number of articles to download from each feed. This is primarily
#: useful for feeds that don't have article dates. For most feeds, you should
#: use :attr:`BasicNewsRecipe.oldest_article`
max_articles_per_feed = 100 max_articles_per_feed = 100
#: Oldest article to download from this news source. In days. #: Oldest article to download from this news source. In days.