Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes


Thread Tools Search this Thread
Old 12-07-2010, 09:07 PM   #1
cisaak began at the beginning.
Posts: 17
Karma: 10
Join Date: Aug 2010
Device: Kindle DX
Recipe for St Louis Post Dispatch

Here is my recipe for the St. Louis Post Dispatch:

class AdvancedUserRecipe1282093204(BasicNewsRecipe):
    title          = u'St Louis Post-Dispatch'
    oldest_article = 1
    max_articles_per_feed = 15
    masthead_url = ''

    feeds          = [
         (u'News-Bill McClellan', u''),
         (u'News-Columns', u'*&l=50&f=rss&t=article'),
         (u'News-Crime & Courts'),
         (u'News-Deb Peterson', u''),
         (u'News-Education', u''),
         (u'News-Government & Politics', u''),
         (u'News-Local', u''),
         (u'News-Metro', u''),
         (u'News-Metro East', u''),
         (u'News-Missouri Out State', u''),
         (u'Opinion-Colleen Carroll Campbell', u''),
         (u'Opinion-Editorial', u''),
         (u'Opinion-Kevin Horrigan', u''),
         (u'Opinion-Mailbag', u''),
         (u'Business Columns-Savvy Consumer', u''),
         (u'Business Columns-Lager Heads', u''),
         (u'Business Columns-Job Watch', u''),
         (u'Business Columns-Steve Geigerich', u''),
         (u'Business Columns-David Nicklaus', u''),
         (u'Business Columns-Jim Gallagher', u''),
         (u'Business Columns-Building Blocks', u''),
         (u'Business', u'*l&l=100&f=rss&t=article'),
         (u'Business-Technology', u''),
         (u'Business-National', u''),
         (u'Travel', u'*&l=100&f=rss&t=article'),
         (u'Sports', u'*&f=rss&t=article'),
         (u'Sports-Baseball', u''),
         (u'Sports-Bernie Miklasz', u''),
         (u'Sports-Bryan Burwell', u''),
         (u'Sports-College', u'*&l=100&f=rss&t=article'),
         (u'Sports-Dan Caesar', u''),
         (u'Sports-Football', u''),
         (u'Sports-Hockey', u''),
         (u'Sports-Illini', u''),
         (u'Sports-Jeff Gordon', u''),
         (u'Life & Style', u''),
         (u'Life & Style-Debra Bass', u''),
         (u'Life & Style-Food and Cooking', u''),
         (u'Life & Style-Health/Medicine/Fitness', u''),
         (u'Life & Style-Joe Holleman', u''),
         (u'Life & Style-Steals-and-Deals', u''),
         (u'Life & Style-Tim Townsend', u''),
         (u'Entertainment', u''),
         (u'Entertainment-Arts & Theatre', u''),
         (u'Entertainment-Books & Literature', u''),
         (u'Entertainment-Dining', u''),
         (u'Entertainment-Events Calendar', u''),
         (u'Entertainment-Gail Pennington', u''),
         (u'Entertainment-Hip Hops', u''),
         (u'Entertainment-House-O-Fun', u''),
         (u'Entertainment-Kevin C. Johnson', u'')
    remove_empty_feeds = True
    remove_tags = [dict(name='div', attrs={'id':'blox-logo'}),dict(name='a')]
    keep_only_tags = [dict(name='h1'), dict(name='p', attrs={'class':'byline'}), dict(name="div", attrs={'id':'blox-story-text'})]
    extra_css = 'p {text-align: left;}'
cisaak is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
Recipe for St. Louis Post-Dispatch cisaak Calibre 1 12-06-2010 11:02 PM
August 9th order (UK) dispatch. robins777 Amazon Kindle 1 09-02-2010 04:25 AM
iRex 800 ready for dispatch mgmueller iRex 29 01-20-2010 11:00 AM
Post your user-created recipe here! GatorDeb Calibre 3 06-29-2009 03:00 PM

All times are GMT -4. The time now is 10:43 PM. is a privately owned, operated and funded community.