Debian Codegraph @

recipes/the_journal.recipe

raw
1 __license__ = 'GPL v3'
2 __copyright__ = '2011 Phil Burns'
3 '''
4 TheJournal.ie
5 '''
6
7 from calibre.web.feeds.news import BasicNewsRecipe
8
9
10 class TheJournal(BasicNewsRecipe):
11 __author_ = 'Phil Burns'
12 title = 'TheJournal.ie'
13 oldest_article = 1
14 max_articles_per_feed = 100
15 encoding = 'utf8'
16 language = 'en_IE'
17 timefmt = ' (%A, %B %d, %Y)'
18
19 no_stylesheets = True
20 remove_tags = [dict(name='div', attrs={'class': 'footer'}), dict(name=['script', 'noscript'])]
21
22 extra_css = 'p, div { margin: 0pt; border: 0pt; text-indent: 0.5em }'
23
24 feeds = [('Latest News', 'http://www.thejournal.ie/feed/')]