View Single Post
Old 10-27-2011, 05:57 PM   #3
julio:map
Member
julio:map began at the beginning.
 
Posts: 23
Karma: 12
Join Date: Jul 2011
Device: Cool-er
Well maybe my answer arrives too late.

Code:
class Real_world_economics_review(BasicNewsRecipe):
    title          = u'Real-world economies review blog'
    oldest_article = 7
    max_articles_per_feed = 100

    no_stylesheets = True

    keep_only_tags = dict(name='div', attrs={'id':'main'})
    remove_tags = [dict(name='div', attrs={'id':'postpath'}),
        dict(name='div', attrs={'class':'robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing'}),
        dict(name='div', attrs={'class':'sharedaddy sd-sharing-enabled'})
        ]

    feeds          = [(u'Real-World Economics Review Blog', u'http://rwer.wordpress.com/feed/')]
julio:map is offline   Reply With Quote