View Single Post
Old 08-25-2010, 01:26 PM   #2520
miangue
Junior Member
miangue began at the beginning.
 
miangue's Avatar
 
Posts: 4
Karma: 10
Join Date: Aug 2010
Location: Colombia
Device: Sony PRS-300
Quote:
Originally Posted by Starson17 View Post
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!!!
miangue is offline