View Single Post
Old 06-17-2011, 07:02 AM   #2
sexymax15 began at the beginning.
sexymax15's Avatar
Posts: 30
Karma: 12
Join Date: Jun 2011
Location: India
Device: Kindle 3g
Macleans Magazine recipe Better then Inbuilt

The inbuilt recipe doesnot work. Here's my recipe, it works fine,no problem whatsoever.

class AdvancedUserRecipe1308306308(BasicNewsRecipe):
title = u'Maclean Magazine (Canada)'
oldest_article = 30
max_articles_per_feed = 12

use_embedded_content = False

remove_empty_feeds = True
no_stylesheets = True
remove_javascript = True
remove_tags = [dict(name ='img'),dict (id='header'),{'class':'postmetadata'}]
remove_tags_after = {'class':'postmetadata'}

feeds = [(u'Blog Central', u''),
(u'Canada', u''),
(u'World', u''),
(u'Business', u''),
(u'Arts & Culture', u''),
(u'Opinion', u''),
(u'Health', u''),
(u'Environment', u'')]
def print_version(self, url):
return url + 'print/'


Attached Files
File Type: zip Maclean Magazine (Canada) (626 Bytes, 150 views)
sexymax15 is offline   Reply With Quote