View Single Post
Old 02-24-2011, 07:20 AM   #1
Junior Member
amontiel69 began at the beginning.
Posts: 5
Karma: 10
Join Date: Feb 2011
Device: Kindle
Recipe for La Nacion of Costa Rica

Hi there,

I want to create a recipe for a Costa Rican newspaper called La Nacion ( The link to the page where I got the feeds from is I tried to create it myself and this is what I have so far

class AdvancedUserRecipe1298476526(BasicNewsRecipe):
title = u'La Nacion'
oldest_article = 7
max_articles_per_feed = 10
no_stylesheets = True
remove_tags = [dict(name='div', attrs={'class':['footer_derechos', 'compartir', 'opinar_forma']})]

feeds = [(u'Portada', u''), (u'Ultima Hora', u''), (u'Nacionales', u''), (u'Sucesos', u''), (u'Deportes', u''), (u'Internacionales', u''), (u'Econom\xeda', u''), (u'Aldea Global', u''), (u'Opini\xf3n', u'')]

I am not totally happy with the results as I was unable to remove any of the DIV called compartir, footer_derechos and opinar_forma are just copyright notices and links to social networks. Also, the layout is not entirely satisfactory as there are lots of extra stuff that needs to be removed, such as the weather information on the front page.

Can anyone help me make this a better looking recipe? I know a lot of Costa Rican Kindle users will be very happy.

Thanks a lot

Last edited by amontiel69; 02-24-2011 at 08:19 AM. Reason: Added link to newspaper
amontiel69 is offline   Reply With Quote