View Single Post
Old 05-21-2009, 03:58 PM   #526
Rafardeon
Enthusiast
Rafardeon began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Mar 2009
Location: Germany
Device: Sony PRS-505
I currently worked out my first (very simple) recipe (and learning python on the way ). It works pretty well on my PRS-505.
If anyone's interested: it's from PHD Comics:

Code:
class AdvancedUserRecipe1242934654(BasicNewsRecipe):
    title          = u'PHD Comics'
    oldest_article = 14
    max_articles_per_feed = 100

    feeds          = [(u'PHD Comics', u'http://www.phdcomics.com/gradfeed.php')]

    def print_version(self, url):
        return url.replace('http://www.phdcomics.com/comics.php?f=', 'http://www.phdcomics.com/comics/archive_print.php?comicid=')

Sorry, if there's a duplicate (couldn't scan all posts).
Rafardeon is offline