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 04-15-2012, 12:11 PM   #1
korederoma
Junior Member
korederoma began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2012
Device: Kindle
Help me writing this recipe

Hi guys,
I'm not able to fetch some pages of this web page: http://temi.repubblica.it/limes/

These are two example of pages I'm not able to read on my e-book reader:
1) http://temi.repubblica.it/limes/regg...mocrazia/34129

2) http://temi.repubblica.it/limes/vene...americhe/34134

This is my recipe:
Code:
class AdvancedUserRecipe1334503133(BasicNewsRecipe):
    title          = u'Limes'
    masthead_url            = 'http://temi.repubblica.it/UserFiles/limes/Image/Loghi/logo-limes.gif'
    language                = 'it'
    oldest_article = 2
    max_articles_per_feed = 100

    no_stylesheets = True
    auto_cleanup = True
    auto_cleanup_keep = '//div[@class="thumbnail"]'
    use_embedded_content = False

    extra_css               = """
                               img{display: block}
                              """

    feeds          = [(u'Limes', u'feed://temi.repubblica.it/limes/feed/')]

How can I fix it? I'm not an expert programmer of Python.
Thanks in advance!
korederoma is offline   Reply With Quote
Old 04-16-2012, 02:07 AM   #2
rty
Zealot
rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.
 
Posts: 105
Karma: 6066
Join Date: Apr 2010
Location: Travelling Nomad in Asia
Device: iPad 2, Nook 3G, Kindle DXG, Eken M001
I have no access to Calibre at the moment but I see in the stat, La Repubblica is one of the most popular news sites accessed through Calibre, so isn't the recipe already in the Calibre?

http://status.calibre-ebook.com/recipe_stats
rty is offline   Reply With Quote
Old 04-17-2012, 03:05 PM   #3
faber1971
Enthusiast
faber1971 began at the beginning.
 
Posts: 46
Karma: 10
Join Date: Dec 2011
Device: Kindle 3
Look at my post "3 new Italian recipes".
faber1971 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
What are you currently writing? Dr. Drib Writers' Corner 950 09-13-2012 12:12 AM
Recipe Request for "Daily Writing Tips" Loosheesh Recipes 3 12-01-2011 06:01 AM
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM
Help with writing recipe kiklop74 Calibre 2 12-05-2008 01:54 PM
Problems writing recipe kiklop74 Calibre 9 10-28-2008 06:58 PM


All times are GMT -4. The time now is 10:59 PM.


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