|
|
#1 |
|
Junior Member
![]() 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 09:41 PM. |
|
|
|
|
|
#2 |
|
Junior Member
![]() 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-04-2015 at 12:17 AM. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,615
Karma: 28549044
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.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Color Random Issues | Elizziewag | Nook Developer's Corner | 2 | 12-23-2011 07:47 PM |
| RSS feed to MOBI conversion issues. | Joseph R | Recipes | 1 | 08-28-2011 01:25 AM |
| Calibre 0.8.13 - RSS News weird random titles | Zillion | Calibre | 2 | 08-07-2011 01:25 PM |
| PRS-505 Random restarts, USB charging issues, bad battery? | wobblerlorri | Sony Reader | 1 | 05-27-2011 07:49 PM |
| Random page breaks and random subscripts? | sark666 | Kobo Reader | 2 | 09-04-2010 03:25 AM |