Quote:
Originally Posted by chell1948
Hi, I'd like to request a recipe for the popular New York Times-based blog, FiveThirtyEight ( http://fivethirtyeight.blogs.nytimes.com/)
Here is the RSS:
http://feeds.feedburner.com/538dotcom
The only potential problem is that the RSS feed for this blog, like others hosted by the NYT, only provides a summary of the article.Would it be possible to get a recipe despite this minor problem?
Thanks in advance!
|
=======================
Try this for a start... (I can't offer any more)
class AdvancedUserRecipe1306863255(BasicNewsRecipe):
title = u'5thirty8'
author = 'Dave Asbury'
oldest_article = 14
max_articles_per_feed = 100
remove_empty_feeds = True
no_stylesheets = True
keep_only_tags = [
dict(name='h1', attrs={'class' : 'entry-title'}),
dict(name='div', attrs={'class' : 'entry-content'})
]
feeds = [(u'FiveThirtyEight', u'http://feeds.feedburner.com/538dotcom')]