Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2015, 08:36 PM   #1
ryanshanabarger
Junior Member
ryanshanabarger began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: Kindle Voyage
Le Monde random RSS issues

Hello! I set up a new recipe for Le Monde, and for some reason a couple of the rss feeds aren't working. I even tried to make a recipe with a single one, changing nothing from the "new recipe" form. I also used a chrome rss reader, and it worked fine and I can see all the articles. All the rss links come from the same place, the official list. http://www.lemonde.fr/rss/

So there is definitely an issue with Calibre not being able to pull from the feed for some reason. I would really appreciate someone looking into this!

Here is an example rss that doesn't download (isn't even in the side bar on kindle).

http://www.lemonde.fr/technologies/rss_full.xml

Using latest version of Calibre for Mac.

THANK YOU!!!

Last edited by ryanshanabarger; 10-03-2015 at 08:41 PM.
ryanshanabarger is offline   Reply With Quote
Old 10-03-2015, 08:39 PM   #2
ryanshanabarger
Junior Member
ryanshanabarger began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: Kindle Voyage
For the record, here is the full recipe I'm trying to use. Some of the titles look weird, but that's just how the french accents are translated. I've tried it without them and get the same result. The ones that won't download are Technology and American Elections.

Code:
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1443900970(BasicNewsRecipe):
    title          = 'Le Monde'
    oldest_article = 7
    max_articles_per_feed = 100
    auto_cleanup   = True
    no_stylesheets = True
    auto_cleanup_keep = '//div[@class="thumbnail"]'

    feeds          = [
        ('A la une', 'http://www.lemonde.fr/rss/une.xml'),
        ('Actu', 'http://www.lemonde.fr/m-actu/rss_full.xml'),
        ('Am\xe9riques', 'http://www.lemonde.fr/ameriques/rss_full.xml'),
        ('\xc9lections am\xe9ricaines', 'http://www.lemonde.fr/elections-americaines/rss_full.xml'),
        (u'Technologies', u'http://www.lemonde.fr/technologies/rss_full.xml'),
        ('Sciences', 'http://www.lemonde.fr/sciences/rss_full.xml'),
        ('International', 'http://www.lemonde.fr/international/rss_full.xml'),
        ('Europe', 'http://www.lemonde.fr/europe/rss_full.xml'),
        ('Soci\xe9t\xe9', 'http://www.lemonde.fr/societe/rss_full.xml'),
        ('Economie', 'http://www.lemonde.fr/economie/rss_full.xml'),
    ]
    
    def get_cover_url(self):
        cover = 'http://imagesociale.fr/wp-content/uploads/lemonde-1301151.jpg'
        return cover
    masthead_url = 'http://www.resistnetwork.com/assets/shared/images/journal/Le-Monde-newspaper-logo.jpg'

Last edited by kovidgoyal; 10-03-2015 at 11:17 PM.
ryanshanabarger is offline   Reply With Quote
Advert
Old 10-03-2015, 11:19 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the download log, you will see that all entries in the feed are too old, the latest entry is from April. You can always change oldest_article in your recipe if you want really old articles.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color Random Issues Elizziewag Nook Developer's Corner 2 12-23-2011 06:47 PM
RSS feed to MOBI conversion issues. Joseph R Recipes 1 08-28-2011 12:25 AM
Calibre 0.8.13 - RSS News weird random titles Zillion Calibre 2 08-07-2011 12:25 PM
PRS-505 Random restarts, USB charging issues, bad battery? wobblerlorri Sony Reader 1 05-27-2011 06:49 PM
Random page breaks and random subscripts? sark666 Kobo Reader 2 09-04-2010 02:25 AM


All times are GMT -4. The time now is 10:48 AM.


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