Hi,
I'm trying to create a custom NYTimes global edition to replace the old IHT recipe. I've adapted as much formatting as I could from the NY Times recipe, but I can't get it to fetch multipage articles. Any help would be great.
I've only added a single feed so far, will add more once I can do multipage,
Thanks in advance,
Derry
Recipe is as follows:
Code:
class AdvancedUserRecipe1239810597(BasicNewsRecipe):
title = u'iht test'
oldest_article = 7
max_articles_per_feed = 100
remove_tags_before = dict(id='article')
remove_tags_after = dict(id='article')
remove_tags = [dict(attrs={'class':['articleTools', 'post-tools', 'side_tool', 'nextArticleLink clearfix']}),
dict(id=['footer', 'toolsRight', 'articleInline', 'navigation', 'archive', 'side_search', 'blog_sidebar', 'side_tool', 'side_index']),
dict(name=['script', 'noscript', 'style'])]
encoding = 'cp1252'
no_stylesheets = True
extra_css = 'h1 {font: sans-serif large;}\n.byline {font:monospace;}'
feeds = [(u'iht front', u'http://www.nytimes.com/services/xml/rss/nyt/GlobalHome.xml')]