mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
ideal.es by Josemi Liebana
This commit is contained in:
parent
4027c32a26
commit
74d8de937b
68
recipes/ideal_almeria.recipe
Normal file
68
recipes/ideal_almeria.recipe
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# encoding: utf-8 -*-
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__author__ = 'Josemi Liébana <office at josemi-liebana.com>'
|
||||||
|
__copyright__ = 'Josemi Liébana'
|
||||||
|
__version__ = 'v0.1'
|
||||||
|
__date__ = '5 January 2012'
|
||||||
|
|
||||||
|
|
||||||
|
'''
|
||||||
|
www.ideal.es
|
||||||
|
'''
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class Ideal(BasicNewsRecipe):
|
||||||
|
title = u'Ideal (Edición Almería)'
|
||||||
|
__author__ = u'Josemi Liébana'
|
||||||
|
description = u'Noticias de Almería y el resto del mundo'
|
||||||
|
publisher = 'Ideal'
|
||||||
|
category = u'News, Politics, Spain, Almería'
|
||||||
|
publication_type = 'Newspaper'
|
||||||
|
oldest_article = 2
|
||||||
|
max_articles_per_feed = 200
|
||||||
|
no_stylesheets = True
|
||||||
|
encoding = 'cp1252'
|
||||||
|
use_embedded_content = False
|
||||||
|
language = 'es'
|
||||||
|
remove_empty_feeds = True
|
||||||
|
masthead_url = u'http://www.ideal.es/img/rd.logotipo2_ideal.gif'
|
||||||
|
cover_url = u'http://www.ideal.es/granada/noticias/201112/24/Media/Granada/portada--647x894.JPG'
|
||||||
|
extra_css = u' body{font-family: Arial,Helvetica,sans-serif } img{margin-bottom: 0.4em} .photo-caption{font-size: x-small} '
|
||||||
|
|
||||||
|
conversion_options = {
|
||||||
|
'comment' : description
|
||||||
|
, 'tags' : category
|
||||||
|
, 'publisher' : publisher
|
||||||
|
, 'language' : language
|
||||||
|
}
|
||||||
|
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(attrs={'id':'title'})
|
||||||
|
,dict(attrs={'class':['overhead','headline','subhead','date','text','noticia_cont','desarrollo']})
|
||||||
|
]
|
||||||
|
|
||||||
|
remove_tags = [dict(name='ul')]
|
||||||
|
|
||||||
|
remove_attributes = ['width','height']
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
(u'Última Hora' , u'http://www.ideal.es/almeria/rss/feeds/ultima.xml' )
|
||||||
|
,(u'Portada' , u'http://www.ideal.es/almeria/portada.xml' )
|
||||||
|
,(u'Local' , u'http://www.ideal.es/almeria/rss/feeds/granada.xml' )
|
||||||
|
,(u'Deportes' , u'http://www.ideal.es/almeria/rss/feeds/deportes.xml' )
|
||||||
|
,(u'Sociedad' , u'http://www.ideal.es/almeria/rss/feeds/sociedad.xml' )
|
||||||
|
,(u'Cultura' , u'http://www.ideal.es/almeria/rss/feeds/cultura.xml' )
|
||||||
|
,(u'Economía' , u'http://www.ideal.es/almeria/rss/feeds/economia.xml' )
|
||||||
|
,(u'Costa' , u'http://www.ideal.es/almeria/rss/feeds/costa.xml' )
|
||||||
|
,(u'Puerta Purchena' , u'http://www.ideal.es/almeria/rss/feeds/puerta_purchena.xml' )
|
||||||
|
,(u'Andalucía' , u'http://www.ideal.es/almeria/rss/feeds/andalucia.xml' )
|
||||||
|
,(u'España' , u'http://www.ideal.es/almeria/rss/feeds/espana.xml' )
|
||||||
|
,(u'Mundo' , u'http://www.ideal.es/almeria/rss/feeds/internacional.xml' )
|
||||||
|
,(u'Vivir' , u'http://www.ideal.es/almeria/rss/feeds/vivir.xml' )
|
||||||
|
,(u'Opinión' , u'http://www.ideal.es/almeria/rss/feeds/opinion.xml' )
|
||||||
|
,(u'Televisión' , u'http://www.ideal.es/almeria/rss/feeds/television.xml' )
|
||||||
|
,(u'Contraportada' , u'http://www.ideal.es/almeria/rss/feeds/contraportada.xml' )
|
||||||
|
]
|
||||||
|
|
69
recipes/ideal_granada.recipe
Normal file
69
recipes/ideal_granada.recipe
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
# encoding: utf-8 -*-
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__author__ = 'Josemi Liébana <office at josemi-liebana.com>'
|
||||||
|
__copyright__ = 'Josemi Liébana'
|
||||||
|
__version__ = 'v0.1'
|
||||||
|
__date__ = '5 January 2012'
|
||||||
|
|
||||||
|
|
||||||
|
'''
|
||||||
|
www.ideal.es
|
||||||
|
'''
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class Ideal(BasicNewsRecipe):
|
||||||
|
title = u'Ideal (Edición Granada)'
|
||||||
|
__author__ = u'Josemi Liébana'
|
||||||
|
description = u'Noticias de Granada y el resto del mundo'
|
||||||
|
publisher = 'Ideal'
|
||||||
|
category = 'News, Politics, Spain, Granada'
|
||||||
|
publication_type = 'Newspaper'
|
||||||
|
oldest_article = 2
|
||||||
|
max_articles_per_feed = 200
|
||||||
|
no_stylesheets = True
|
||||||
|
encoding = 'cp1252'
|
||||||
|
use_embedded_content = False
|
||||||
|
language = 'es'
|
||||||
|
remove_empty_feeds = True
|
||||||
|
masthead_url = 'http://www.ideal.es/img/rd.logotipo2_ideal.gif'
|
||||||
|
cover_url = 'http://www.ideal.es/granada/noticias/201112/24/Media/Granada/portada--647x894.JPG'
|
||||||
|
extra_css = ' body{font-family: Arial,Helvetica,sans-serif } img{margin-bottom: 0.4em} .photo-caption{font-size: x-small} '
|
||||||
|
|
||||||
|
conversion_options = {
|
||||||
|
'comment' : description
|
||||||
|
, 'tags' : category
|
||||||
|
, 'publisher' : publisher
|
||||||
|
, 'language' : language
|
||||||
|
}
|
||||||
|
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(attrs={'id':'title'})
|
||||||
|
,dict(attrs={'class':['overhead','headline','subhead','date','text','noticia_cont','desarrollo']})
|
||||||
|
]
|
||||||
|
|
||||||
|
remove_tags = [dict(name='ul')]
|
||||||
|
|
||||||
|
remove_attributes = ['width','height']
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
(u'Última Hora' , u'http://www.ideal.es/granada/rss/feeds/ultima.xml' )
|
||||||
|
,(u'Portada' , u'http://www.ideal.es/granada/portada.xml' )
|
||||||
|
,(u'Local' , u'http://www.ideal.es/granada/rss/feeds/granada.xml' )
|
||||||
|
,(u'Deportes' , u'http://www.ideal.es/granada/rss/feeds/deportes.xml' )
|
||||||
|
,(u'Sociedad' , u'http://www.ideal.es/granada/rss/feeds/sociedad.xml' )
|
||||||
|
,(u'Cultura' , u'http://www.ideal.es/granada/rss/feeds/cultura.xml' )
|
||||||
|
,(u'Economía' , u'http://www.ideal.es/granada/rss/feeds/economia.xml' )
|
||||||
|
,(u'Costa' , u'http://www.ideal.es/granada/rss/feeds/costa.xml' )
|
||||||
|
,(u'La Carrera' , u'http://www.ideal.es/granada/rss/feeds/la_carrera.xml' )
|
||||||
|
,(u'Puerta Real' , u'http://www.ideal.es/granada/rss/feeds/puerta_real.xml' )
|
||||||
|
,(u'Andalucía' , u'http://www.ideal.es/granada/rss/feeds/andalucia.xml' )
|
||||||
|
,(u'España' , u'http://www.ideal.es/granada/rss/feeds/espana.xml' )
|
||||||
|
,(u'Mundo' , u'http://www.ideal.es/granada/rss/feeds/internacional.xml' )
|
||||||
|
,(u'Vivir' , u'http://www.ideal.es/granada/rss/feeds/vivir.xml' )
|
||||||
|
,(u'Opinión' , u'http://www.ideal.es/granada/rss/feeds/opinion.xml' )
|
||||||
|
,(u'Televisión' , u'http://www.ideal.es/granada/rss/feeds/television.xml' )
|
||||||
|
,(u'Contraportada' , u'http://www.ideal.es/granada/rss/feeds/contraportada.xml' )
|
||||||
|
]
|
||||||
|
|
67
recipes/ideal_jaen.recipe
Normal file
67
recipes/ideal_jaen.recipe
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
# encoding: utf-8 -*-
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__author__ = 'Josemi Liébana <office at josemi-liebana.com>'
|
||||||
|
__copyright__ = 'Josemi Liébana'
|
||||||
|
__version__ = 'v0.1'
|
||||||
|
__date__ = '5 January 2012'
|
||||||
|
|
||||||
|
|
||||||
|
'''
|
||||||
|
www.ideal.es
|
||||||
|
'''
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class Ideal(BasicNewsRecipe):
|
||||||
|
title = u'Ideal (Edición Jaén)'
|
||||||
|
__author__ = u'Josemi Liébana'
|
||||||
|
description = u'Noticias de Jaén y el resto del mundo'
|
||||||
|
publisher = 'Ideal'
|
||||||
|
category = u'News, Politics, Spain, Jaén'
|
||||||
|
publication_type = 'Newspaper'
|
||||||
|
oldest_article = 2
|
||||||
|
max_articles_per_feed = 200
|
||||||
|
no_stylesheets = True
|
||||||
|
encoding = 'cp1252'
|
||||||
|
use_embedded_content = False
|
||||||
|
language = 'es'
|
||||||
|
remove_empty_feeds = True
|
||||||
|
masthead_url = 'http://www.ideal.es/img/rd.logotipo2_ideal.gif'
|
||||||
|
cover_url = 'http://www.ideal.es/granada/noticias/201112/24/Media/Granada/portada--647x894.JPG'
|
||||||
|
extra_css = ' body{font-family: Arial,Helvetica,sans-serif } img{margin-bottom: 0.4em} .photo-caption{font-size: x-small} '
|
||||||
|
|
||||||
|
conversion_options = {
|
||||||
|
'comment' : description
|
||||||
|
, 'tags' : category
|
||||||
|
, 'publisher' : publisher
|
||||||
|
, 'language' : language
|
||||||
|
}
|
||||||
|
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(attrs={'id':'title'})
|
||||||
|
,dict(attrs={'class':['overhead','headline','subhead','date','text','noticia_cont','desarrollo']})
|
||||||
|
]
|
||||||
|
|
||||||
|
remove_tags = [dict(name='ul')]
|
||||||
|
|
||||||
|
remove_attributes = ['width','height']
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
(u'Última Hora' , u'http://www.ideal.es/jaen/rss/feeds/ultima.xml' )
|
||||||
|
,(u'Portada' , u'http://www.ideal.es/jaen/portada.xml' )
|
||||||
|
,(u'Local' , u'http://www.ideal.es/jaen/rss/feeds/granada.xml' )
|
||||||
|
,(u'Deportes' , u'http://www.ideal.es/jaen/rss/feeds/deportes.xml' )
|
||||||
|
,(u'Sociedad' , u'http://www.ideal.es/jaen/rss/feeds/sociedad.xml' )
|
||||||
|
,(u'Cultura' , u'http://www.ideal.es/jaen/rss/feeds/cultura.xml' )
|
||||||
|
,(u'Economía' , u'http://www.ideal.es/jaen/rss/feeds/economia.xml' )
|
||||||
|
,(u'Costa' , u'http://www.ideal.es/jaen/rss/feeds/costa.xml' )
|
||||||
|
,(u'Andalucía' , u'http://www.ideal.es/jaen/rss/feeds/andalucia.xml' )
|
||||||
|
,(u'España' , u'http://www.ideal.es/jaen/rss/feeds/espana.xml' )
|
||||||
|
,(u'Mundo' , u'http://www.ideal.es/jaen/rss/feeds/internacional.xml' )
|
||||||
|
,(u'Vivir' , u'http://www.ideal.es/jaen/rss/feeds/vivir.xml' )
|
||||||
|
,(u'Opinión' , u'http://www.ideal.es/jaen/rss/feeds/opinion.xml' )
|
||||||
|
,(u'Televisión' , u'http://www.ideal.es/jaen/rss/feeds/television.xml' )
|
||||||
|
,(u'Contraportada' , u'http://www.ideal.es/jaen/rss/feeds/contraportada.xml' )
|
||||||
|
]
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user