Hi,
I wrote a recipe for Milenio a newspaper in mexico. When I transfer to my kindle in the View Sections List only appear 6 sections (the first six) when in my recipe I include 8. I try different thing but nothing seems to work.
Any suggestions?
This is my recipe:
Code:
class AdvancedUserRecipe1255971765(BasicNewsRecipe):
title = u'Milenio Noticias'
oldest_article = 2
max_articles_per_feed = 100
no_stylesheets = True
remove_tags_after = dict(name='div',attrs={'class':'go_to'})
remove_tags = [dict(name='div', attrs={'class':'print-logo'})]
remove_attributes = ['style', 'width']
remove_attributes = ['style', 'height']
feeds = [(u'Milenio a tiempo', u'http://www.milenio.com/feed/atiempo/df'),
(u'Politica', u'http://www.milenio.com/feed/atiempo/politica'),
(u'Negocios', u'http://www.milenio.com/feed/atiempo/negocios'),
(u'Policia', u'http://www.milenio.com/feed/atiempo/policia'),
(u'Tendencias', u'http://www.milenio.com/feed/atiempo/tendencias'),
(u'Internacional', u'http://www.milenio.com/feed/atiempo/internacional'),
(u'Cultura', u'http://www.milenio.com/feed/atiempo/cultura'),
(u'Espectaculos', u'http://www.milenio.com/feed/atiempo/espectaculos')]
def print_version(self, url):
return url.replace('http://www.milenio.com/node', 'http://www.milenio.com/print')