mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:43:54 +02:00
The Journal.ie by Phil Burns
This commit is contained in:
parent
cbe800e423
commit
7a122f2b6e
1 changed files with 26 additions and 0 deletions
26
recipes/the_journal.recipe
Normal file
26
recipes/the_journal.recipe
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2011 Phil Burns'
|
||||
'''
|
||||
TheJournal.ie
|
||||
'''
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class TheJournal(BasicNewsRecipe):
|
||||
|
||||
__author_ = 'Phil Burns'
|
||||
title = u'TheJournal.ie'
|
||||
oldest_article = 1
|
||||
max_articles_per_feed = 100
|
||||
encoding = 'utf8'
|
||||
language = 'en_IE'
|
||||
timefmt = ' (%A, %B %d, %Y)'
|
||||
|
||||
no_stylesheets = True
|
||||
remove_tags = [dict(name='div', attrs={'class':'footer'}),
|
||||
dict(name=['script', 'noscript'])]
|
||||
|
||||
extra_css = 'p, div { margin: 0pt; border: 0pt; text-indent: 0.5em }'
|
||||
|
||||
feeds = [
|
||||
(u'Latest News', u'http://www.thejournal.ie/feed/')]
|
||||
Loading…
Reference in a new issue