View Single Post
Old 07-11-2011, 10:50 AM   #2
yoss15
Enthusiast
yoss15 began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Jul 2011
Device: Kindle
OK so I've tried to do what I can to make my own recipe but I have no experience with this at all besides some basic knowledge of HTML.

Here is what I have so far

Code:
lass AdvancedUserRecipe1310393888(BasicNewsRecipe):
    title          = u'World Socialist Web Site'
    oldest_article = 7
    max_articles_per_feed = 100

    feeds          = [(u'World Socialist Web Site', u'http://www.wsws.org/rss/en.xml')]
def print_version(self, url):
    return url.replace('http://', 'http://wsws.org/tools/index.php?page=print&url=')	

remove_tags_before    = dict(id='page')

remove_tags_after   = dict(id='page')
The remove tags lines don't seem to be working for me, I'm not sure what I'm doing wrong, any ideas?
yoss15 is offline   Reply With Quote