View Single Post
Old 06-17-2011, 01:47 AM   #3
sexymax15
Enthusiast
sexymax15 began at the beginning.
 
sexymax15's Avatar
 
Posts: 30
Karma: 12
Join Date: Jun 2011
Location: India
Device: Kindle 3g
Here's my recipe for Grantland. Just ignore the podcast and everything is fine with the recipe.
Quote:
#created by sexymax15 ....sexymax15@gmail.com
#Grantland recipe

class AdvancedUserRecipe1308288573(BasicNewsRecipe):
title = u'Grantland'
oldest_article = 30
max_articles_per_feed = 20
no_stylesheets = True
use_embedded_content = False

remove_empty_feeds = True
remove_javascript = True
remove_tags_before = dict(id='content')
remove_tags_after = dict(id='footer')
remove_tags = [dict(name='h1', attrs={'class':'grantland-logo'}),
dict(name='nav'),dict(name='aside')]

feeds = [(u'Grantland', u'http://www.grantland.com/feed')]
def print_version(self, url):
return url + '?view=print'
Screenshots:





Attached Files
File Type: zip Grantland_1120.zip (504 Bytes, 174 views)
sexymax15 is offline   Reply With Quote