Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2011, 02:30 PM   #1
Bobus
Junior Member
Bobus began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2011
Device: Kindle
pro-linux.de recipe

Hello,

here is a recipe for pro-linux.de. It is not perfect, but you can read all articles.

Code:
class AdvancedUserRecipe1295265555(BasicNewsRecipe):
    title          = u'Pro-Linux.de'
    oldest_article = 3
    max_articles_per_feed = 100

    feeds          = [(u'Pro-Linux', u'http://www.pro-linux.de/backend/pro-linux.rdf')]

    def print_version(self, url):
        return url.replace('/news/1/', '/news/1/print/').replace('/artikel/2/', '/artikel/2/print/')

    remove_tags_after = [dict(name='div', attrs={'class':'print_links'})]
Bobus is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 05:57 AM
Opticbook 3600 pro or standard when using acrobat pro? circularforward Workshop 2 01-29-2010 04:05 AM
Linux coredump Sony Reader 12 11-17-2009 06:07 AM
pdf converted to epub file not working on my EZ Pocket Pro Pro luvshihtzu Astak EZReader 2 10-20-2009 08:30 PM
eReader Pro (formerly PalmReader Pro) V2.5.0 Alexander Turcic Reading and Management 0 05-21-2004 04:59 AM


All times are GMT -4. The time now is 12:35 AM.


MobileRead.com is a privately owned, operated and funded community.