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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-02-2010, 09:56 AM   #1
weebl
Junior Member
weebl began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: none
Poughkeepsie Journal recipe

Special thanks to Starson17 for assistance with coding

Code:
class AdvancedUserRecipe1291143841(BasicNewsRecipe):
    title          = u'Poughkeepsie Journal'
    oldest_article = 7
    max_articles_per_feed = 100
    no_stylesheets = True
    timefmt = ' [%a, %d %b, %Y]'
    feeds          = [(u'Local News', u'http://poughkeepsiejournal.com/apps/pbcs.dll/oversikt?Category=RSS01&mime=xml'), (u'Local Business', u'http://poughkeepsiejournal.com/apps/pbcs.dll/oversikt?Category=RSS02&mime=xml'), (u'Local Sports', u'http://poughkeepsiejournal.com/apps/pbcs.dll/oversikt?Category=RSS03&mime=xml'), (u'Life', u'http://poughkeepsiejournal.com/apps/pbcs.dll/oversikt?Category=RSS04&mime=xml')]
    remove_tags = [dict(name='img', attrs={'src':'/graphics/mastlogo.gif'})] 

    def print_version(self, url):
          return url.replace('http://www.poughkeepsiejournal.com', 'http://www.poughkeepsiejournal.com/print')

Last edited by weebl; 12-02-2010 at 09:12 PM.
weebl is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New England of Journal recipe Ebookerr Calibre 1 08-26-2010 05:59 AM
Recipe tweek for accessing journal through university account korona Calibre 0 01-29-2010 12:22 PM
Short Fiction James, Henry: Miss Gunton of Poughkeepsie, v.1, 3 March 2009. Patricia IMP Books 0 03-02-2009 08:50 PM
Short Fiction James, Henry: Miss Gunton of Poughkeepsie, v.1, 3 March 2009. Patricia BBeB/LRF Books 0 03-02-2009 08:48 PM
Wall Street Journal Recipe Quality? rhsanborn Calibre 6 12-05-2008 12:42 AM


All times are GMT -4. The time now is 07:49 AM.


MobileRead.com is a privately owned, operated and funded community.