View Single Post
Old 06-22-2011, 02:19 PM   #4
BRGriff began at the beginning.
Posts: 55
Karma: 12
Join Date: May 2011
Location: Deland, Florida
Device: Kindle 3
I learned something new from this discussion which will help when I myself post a recipe. Thank you.

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' feed/'),
            (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/'
BRGriff is offline   Reply With Quote