Quote:
Originally Posted by Starson17
extra_css is used to control formatting. Search this thread for some samples and read here.
|
Starson Thanks, I put the line "extra_css" and it came out like this:
Code:
class AdvancedUserRecipe1282450582(BasicNewsRecipe):
title = u'LaRepublica.com'
oldest_article = 7
max_articles_per_feed = 100
use_embedded_content = False
no_stylesheets = True
extra_css = '''
.titulo {font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
.periodista {font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
.fecha_publicacion {font-family:Helvetica,Arial,sans-serif;font-size:small;}
'''
keep_only_tags = [
dict(name='div', attrs={'id':['noticia']})
]
remove_tags = [
dict(name='div', attrs={'id':['iconos', 'relacionados', 'documentos_adjuntos']}),
dict(name='span', attrs={'id':['comentarios']})
]
feeds = [(u'Noticias', u'http://www.larepublica.com.co/rss/larepublica.xml')]
But todoas forms does not work

. What I can be doing wrong?
Can anyone help me please? ...
I should clarify that the labels want to change the format are:
Code:
<div id="titulo">
<div id="periodista">
<div id="fecha_publicacion">
THANK YOU!!!