View Single Post
Old 02-24-2011, 01:41 PM   #2
amontiel69
Junior Member
amontiel69 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2011
Device: Kindle
After tweaking the recipe a bit more, this is what I have

class AdvancedUserRecipe1298476526(BasicNewsRecipe):
title = u'La Nacion'
oldest_article = 7
max_articles_per_feed = 10
no_stylesheets = True
remove_tags = [dict(attrs={'class':['scroller_clima','col320_noborde','redes_connect', 'simple_overlay','proyector_mcm']}),dict(id=['footer_derechos', 'compartir', 'opinar_forma','formulario_encabezado','footer','h eader','rating','herramientas','comentar_tool_bott om','relacionadas','comentar'])]

feeds = [(u'Portada', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=portada'), (u'Ultima Hora', u'http://www.nacion.com/Generales/RSS/UltimaHoraRss.aspx'), (u'Nacionales', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=elpais'), (u'Sucesos', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=sucesos'), (u'Deportes', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=deportes'), (u'Internacionales', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=mundo'), (u'Econom\xeda', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=economia'), (u'Aldea Global', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=aldeaglobal'), (u'Opini\xf3n', u'http://www.nacion.com/Generales/RSS/EdicionRss.aspx?section=opinion')]

This recipe downloads the articles and removes the extra fluff, however, I want to keep the newspaper's logo on the frontpage and also format the layout a little better. Any help is welcome

Thanks
amontiel69 is offline   Reply With Quote