mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improved Berria recipe styles
This commit is contained in:
parent
7bcb500a47
commit
1111868a36
@ -22,15 +22,15 @@ class Berria(BasicNewsRecipe):
|
|||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(id='goiburua')
|
dict(id='goiburua')
|
||||||
,dict(name='div', attrs={'class':'burukoak'})
|
,dict(name='div', attrs={'class':['ber_ikus']})
|
||||||
,dict(name='div', attrs={'class':'testua' })
|
,dict(name='section', attrs={'class':'ber_ikus' })
|
||||||
,dict(name='div', attrs={'class':'ber_ikus' })
|
|
||||||
]
|
]
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='a', attrs={'class':'iruzkinak'})
|
dict(name='a', attrs={'class':'iruzkinak'})
|
||||||
|
,dict(name='div', attrs={'class':'laguntzaileak'})
|
||||||
]
|
]
|
||||||
|
|
||||||
extra_css = '#goiburua{font-weight: bold} .zintiloa{font-size: small} .titularra{font-size: x-large} .sarrera{font-weight: bold}'
|
extra_css = '#goiburua{font-weight: bold} .zintiloa{font-size: small} .sarrera{color:#666} .titularra{font-size: x-large} .sarrera{font-weight: bold} .argazoin{color:#666; font-size: small}'
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
(u'Edizioa jarraia' , u'http://berria.info/rss/ediziojarraia.xml')
|
(u'Edizioa jarraia' , u'http://berria.info/rss/ediziojarraia.xml')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user