mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:16:45 +02:00
Poughkeepsie Journal by weebl
This commit is contained in:
parent
28732ccbdb
commit
ac23ca7503
1 changed files with 19 additions and 0 deletions
19
resources/recipes/poughkeepsie_journal.recipe
Normal file
19
resources/recipes/poughkeepsie_journal.recipe
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class AdvancedUserRecipe1291143841(BasicNewsRecipe):
|
||||
title = u'Poughkeepsipe Journal'
|
||||
language = 'en'
|
||||
__author__ = 'weebl'
|
||||
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')
|
||||
|
||||
Loading…
Reference in a new issue