Let's see if someone can help me.
I made this recipe from a magazine in Colombia (larepublica.com.co). Everything comes as is the want but with a problem, is that the source of the title of each story as I get the source of the article and wanted to come out big and bold but How I can do this?, What command should I add? ... Thanks!
Here's the recipe:
Quote:
class AdvancedUserRecipe1282450582(BasicNewsRecipe):
title = u'LaRepublica.com'
oldest_article = 7
max_articles_per_feed = 100
use_embedded_content = False
no_stylesheets = True
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')]
|
And here is part of the source code where the title of the news:
Quote:
<div id="noticia">
<!-- Titulo de la noticia -->
<div id="titulo">
Interés de inversionistas sube el Igbc hasta 13.602,04 unidades
</div>
<!-- Info de la noticia -->
<div id="info">
|