Thread: recipe request
View Single Post
Old 06-02-2011, 02:23 PM   #2
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 206
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
Quote:
Originally Posted by chell1948 View Post
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')]
scissors is offline   Reply With Quote