~ubuntu-branches/ubuntu/karmic/calibre/karmic

« back to all changes in this revision

Viewing changes to src/calibre/web/feeds/recipes/recipe_craigslist.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-30 12:49:41 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20090730124941-kviipg9ypwgppulc
Tags: upstream-0.6.3+dfsg
ImportĀ upstreamĀ versionĀ 0.6.3+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
 
3
from __future__ import with_statement
 
4
 
 
5
__license__   = 'GPL v3'
 
6
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
 
7
__docformat__ = 'restructuredtext en'
 
8
 
 
9
from calibre.web.feeds.news import BasicNewsRecipe
 
10
 
 
11
class CraigsList(BasicNewsRecipe):
 
12
     title          = u'craigslist - Best Of'
 
13
     oldest_article = 365
 
14
     max_articles_per_feed = 100
 
15
     language = _('English')
 
16
     __author__ = 'kiodane'
 
17
 
 
18
     feeds          = [(u'Best of craigslist',
 
19
 u'http://www.craigslist.org/about/best/all/index.rss'), ]
 
20