12-02-2010, 08:56 AM | #1 |
Junior Member
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 08:12 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New England of Journal recipe | Ebookerr | Calibre | 1 | 08-26-2010 04:59 AM |
Recipe tweek for accessing journal through university account | korona | Calibre | 0 | 01-29-2010 11:22 AM |
Short Fiction James, Henry: Miss Gunton of Poughkeepsie, v.1, 3 March 2009. | Patricia | IMP Books | 0 | 03-02-2009 07:50 PM |
Short Fiction James, Henry: Miss Gunton of Poughkeepsie, v.1, 3 March 2009. | Patricia | BBeB/LRF Books | 0 | 03-02-2009 07:48 PM |
Wall Street Journal Recipe Quality? | rhsanborn | Calibre | 6 | 12-04-2008 11:42 PM |