Hola.
Gracias por el enlace, no la conocía.
Tenía preparada la de Astroseti, pero solo funciona la sección de artículos,
y no se actualiza muy a menudo.
Código:
__license__ = 'GPL v3'
__author__ = 'Ricardo Jurado'
__copyright__ = 'Ricardo Jurado'
__version__ = 'v0.1'
__date__ = '12 February 2011'
'''
http://www.noticiasdelaciencia.com/
'''
class AdvancedUserRecipe1297031650(BasicNewsRecipe):
title = u'Noticiasdelaciencia.com'
masthead_url = 'http://noticiasdelaciencia.com/upload/img/periodico/img_1.png'
cover_url = 'http://noticiasdelaciencia.com/upload/img/periodico/img_1.png'
publisher = u''
__author__ = 'Ricardo Jurado'
description = 'Noticias de la ciencia'
category = 'News,Science'
oldest_article = 2
max_articles_per_feed = 25
no_stylesheets = True
use_embedded_content = False
encoding = 'UTF-8'
remove_javascript = True
language = 'es'
extra_css = """
p{text-align: justify; font-size: 100%}
body{ text-align: left; font-size:100% }
h1{font-family: sans-serif; font-size:140%; font-weight:bold; text-align: justify; }
.antetitulo{font-family:Arial,Helvetica,sans-serif; font-size:110%; font-weight:bold; margin-bottom: 1em;}
.entradilla{font-family:Arial,Helvetica,sans-serif; font-size:100%; font-weight:bold; margin-bottom: 1em;}
.ACCIONES_SOCIAL{font-family:Arial,Helvetica,sans-serif; font-size:xx-small; margin-bottom: 1em;}
"""
keep_only_tags = [
dict(name='div', attrs={'class':'NOTICIA'})
]
remove_tags = [
dict(name='div', attrs={'class':'PUNTUACION'}),
dict(name='div', attrs={'class':'CONTENIDO_SOCIALentero'}),
# dict(name='div', attrs={'class':'ACCIONES_SOCIAL'}),
]
feeds = [
(u'NOTICIAS', u'http://noticiasdelaciencia.com/rss.xml')
]
--
Saludos.