New recipe for NPR

This commit is contained in:
Kovid Goyal 2009-11-12 16:54:26 -07:00
parent de6541ebe3
commit 975bff46a2
3 changed files with 22 additions and 3 deletions

View File

@ -1,8 +1,8 @@
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1257775999(BasicNewsRecipe):
class AnDrumaMor(BasicNewsRecipe):
title = u'An Druma M\xf3r'
__author__ = "David O'Calaghan"
__author__ = "David O'Callaghan"
oldest_article = 7
max_articles_per_feed = 100
language = 'ga'

View File

@ -0,0 +1,19 @@
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1257302745(BasicNewsRecipe):
title = u'National Public Radio'
oldest_article = 7
language = 'en'
__author__ = 'onyxrev'
max_articles_per_feed = 100
remove_tags_before = {'class':'storytitle'}
remove_tags_after = dict(name='div', attrs={'id':'storytext' })
remove_tags = [
dict(name='body', attrs={'id':'blog'}),
dict(name='div', attrs={'class':'enlarge_measure'}),
dict(name='div', attrs={'class':'enlarge_html'}),
dict(name='div', attrs={'class':'bucketwrap primary'})
]
feeds = [(u'National Public Radio', u'http://www.npr.org/rss/rss.php?id=1001')]

View File

@ -88,7 +88,7 @@ class POCKETBOOK360(EB600):
gui_name = 'PocketBook 360'
FORMATS = ['epub', 'pdf', 'txt']
FORMATS = ['epub', 'fb2', 'pdf', 'djvu', 'rtf', 'chm', 'txt']
VENDOR_NAME = 'PHILIPS'
WINDOWS_MAIN_MEM = 'MASS_STORGE'