this work`s for me
Code:
class AdvancedUserRecipe1305547242(BasicNewsRecipe):
title = u'thedailygreen'
oldest_article = 7
max_articles_per_feed = 1
no_stylesheets = True
use_embedded_content = False
remove_javascript = True
def print_version(self,url):
segments = url.split('/')
printURL = '/'.join(segments[0:3]) + '/print-this/' + '/'.join(segments[4:])
return printURL
def preprocess_html(self, soup):
for alink in soup.findAll('a'):
if alink.string is not None:
tstr = alink.string
alink.replaceWith(tstr)
return soup
feeds = [ (u'Green Homes', u'http://www.thedailygreen.com/green-homes/rss/'),
(u'New Green Cuisine', u'http://www.thedailygreen.com/healthy-eating/rss/'),
(u'Living Green', u'http://www.thedailygreen.com/living-green/rss/'),
(u'Ask An Organic Mom', u'http://www.thedailygreen.com/living-green/blogs/organic-parenting/organic-parenting-rss'),
(u'Backyard Matters', u'http://www.thedailygreen.com/living-green/blogs/easy-tips/easy-tips-rss'),
(u'Big Green Purse', u'http://www.thedailygreen.com/green-homes/blogs/green-products-services/green-products-services-rss'),
(u'Driving Directions Getting There Green', u'http://www.thedailygreen.com/living-green/blogs/cars-transportation/cars-transportation-rss'),
(u'Green Hacks', u'http://www.thedailygreen.com/green-homes/blogs/diy-hacks/diy-hacks-rss'),
(u'Pix We Need From You', u'http://www.thedailygreen.com/weird-weather/blogs/submit/submit-rss'),
(u'Recipes from the Gluten-Free Girl', u'http://www.thedailygreen.com/healthy-eating/blogs/gluten-free/gluten-free-rss'),
(u'Shapattack', u'http://www.thedailygreen.com/environmental-news/blogs/shapley/shapley-rss'),
(u'SOLE Food Digest', u'http://www.thedailygreen.com/healthy-eating/blogs/organic-sustainable-food/organic-sustainable-food-rss'),
(u'Starre Power: Fashion and Beauty', u'http://www.thedailygreen.com/living-green/blogs/fashion-beauty/fashion-beauty-rss'),
(u'The 100 Mile Diet', u'http://www.thedailygreen.com/healthy-eating/blogs/100-mile-diet/100-mile-diet-rss'),
(u'The Beekeeper', u'http://www.thedailygreen.com/environmental-news/blogs/bees/bees-rss'),
(u'The Green Carpet: Hollywood', u'http://www.thedailygreen.com/living-green/blogs/celebrities/celebrities-rss'),
(u'The Green Cheapskate', u'http://www.thedailygreen.com/living-green/blogs/save-money/save-money-rss'),
(u'The Green Conservative', u'http://www.thedailygreen.com/environmental-news/blogs/republican/republican-rss'),
(u'The Greengrower', u'http://www.thedailygreen.com/green-homes/blogs/organic-gardening/organic-gardening-rss'),
(u'The Hypermiler', u'http://www.thedailygreen.com/living-green/blogs/gas-mileage/gas-mileage-rss'),
(u'The Storm Pundit', u'http://www.thedailygreen.com/environmental-news/blogs/hurricanes-storms/hurricanes-storms-rss'),
(u'The Zen Cleaner', u'http://www.thedailygreen.com/green-homes/blogs/nontoxic/nontoxic-rss'),
(u'What to Eat', u'http://www.thedailygreen.com/healthy-eating/blogs/healthy-food/healthy-food-rss'),
(u'Urth Guy', u'http://www.thedailygreen.com/living-green/blogs/recycling-design-technology/recycling-design-technology-rss')]