mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Financieele Dagblad by marvin_2
This commit is contained in:
parent
670bcdc7e9
commit
10fa8b1b2d
29
recipes/financieele_dagblad.recipe
Normal file
29
recipes/financieele_dagblad.recipe
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class fd(BasicNewsRecipe):
|
||||
title = u'Het Financieele Dagblad'
|
||||
__author__ = 'marvin_2'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
no_stylesheets = True
|
||||
cover_url = 'http://www.fd.nl/static/gfx/logo-fd-164x78.gif'
|
||||
language = 'nl'
|
||||
|
||||
keep_only_tags = (dict(name = 'div', attrs = {'class': ['headlinearticle']}))
|
||||
remove_tags = [dict(name='span' , attrs={'class':['opties']})]
|
||||
|
||||
feeds = [
|
||||
(u'Overzicht',u'http://www.fd.nl/nieuws/overzicht/?view=RSS&profiel=OPENBAAR')
|
||||
|
||||
|
||||
]
|
||||
extra_css = '''
|
||||
h1 {font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:x-large;}
|
||||
p{font-family:Arial,Helvetica,sans-serif;}
|
||||
strong{font-weight:bold; margin-right:5pt;margin-top:20pt;}
|
||||
.datum_ie {font-style:italic;font-size:small;}
|
||||
img {align:left;}
|
||||
'''
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user