![]() |
#1 |
Member
![]() Posts: 11
Karma: 64
Join Date: Jan 2012
Device: Cybook Orizon
|
Recipe for "Le monde édition abonné"
I appenrently forgot to post my recipe for "Le monde Édition abonné", (Le monde, subscriber edition) here.
So here is the link to my current version (on github): https://github.com/vanicat/monde-abo..._abonne.recipe |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,154
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've added your recipe, but it will break in timezones different from your own because you need to set the date for the download URL as per the time in the GMT (or france's?) timezone. Use time.gmtime() for this.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 11
Karma: 64
Join Date: Jan 2012
Device: Cybook Orizon
|
I've updated the recipe to take care of the problem (using GMT time), it is still at the same url: https://github.com/vanicat/monde-abo..._abonne.recipe
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,154
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Better, though to be fully robust, you should detect when the download url is not available and set ltime to the previous day (I doubt that the download URL date is 24hrs in the future at all times of the day).
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 11
Karma: 64
Join Date: Jan 2012
Device: Cybook Orizon
|
I've updated the recipe, for better css handling, and to download older version of « Le monde » if the edition dated of tomorow is not available..
Last available version of the recipe is there: https://raw.github.com/vanicat/monde..._abonne.recipe |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 11
Karma: 64
Join Date: Jan 2012
Device: Cybook Orizon
|
Obvioulsy, just after I had send this message, someone tell me that it was not working with last version of calibre. The correction was a quick fix, so here is the last version:
https://raw.github.com/vanicat/monde..._abonne.recipe |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2013
Device: Kobo Glo
|
Hello,
I would like to suggest a new recipe for the newspaper "Le Monde" on paper. While the previous version was very helpful, she had some problems. In particular, it downloaded a zip to get the id of the items, and then recovered them. But this generated a lot of 404 errors, the unavailability of the script sometimes for several hours (because Le Monde sent the zip before but not articles)... In addition, the content was sometimes unsuitable for ebooks, and we did not have access to columns besides the articles. The new recipe download only one xml file (designed for the iOS "Le Monde" app) which contains the preformated articles. ![]() I would like to thank darkl who helped me for the temporary files ! https://raw.github.com/sylvaindurand...lemonde.recipe |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2013
Device: Kobo Glo
|
May I suggest to change the name of one recipe in Calibre ?
- " Le Monde " downloads articles from the website LeMonde.fr - " Le Monde - Édition abonnés " downloads articles from the newspaper Le Monde. It would be more logical that these two recipes are called respectively "LeMonde.fr" and "Le Monde" ![]() |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,154
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have updated the recipe (with some changes). I do not generally like to change recipe titles as it causes problems for people already using the recipe with the old title. Instead you can add some text to the description field to make it clear what the recipe does.
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2013
Device: Kobo Glo
|
Great !
I've updated your modifications on Github, and I'll warn you if there is any update in the future. ![]() |
![]() |
![]() |
![]() |
#11 | ||
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2013
Device: Kobo glo
|
Hi everybody,
first of all thanks to all of you for the work you're doing : it's very convenient for me who's away from France to have Lemonde entire newspaper coming straight to my reader ( a Kobo ) - actually i bought this reader mostly for reading the press... The Lemonde edition abonnes recipe of Darkl was working very fine till recently. Since some weeks, It stopped to work with the following error message : Quote:
Quote:
![]() If you know any thing I could change to fix this, that would be so good of you ! I add that other recipe for "The economist", "El Pais" or "BBC Mundo" for instance, work perfectly on the version of Calibre I use. Thanks again ! Paul Last edited by PaulMiroufle; 02-18-2013 at 01:04 PM. |
||
![]() |
![]() |
![]() |
#12 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2013
Device: Kobo Glo
|
I would bet on an error in your username and password, which generates these errors in both scripts
![]() If not, are you that your subscription on "LeMonde.fr" allow you to read the newspaper on the website? I've updated my script to show an error message in case of wrong id. Last edited by Tan Phi; 02-19-2013 at 11:04 AM. |
![]() |
![]() |
![]() |
#14 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2013
Device: Kobo glo
|
Quote:
Thanks again to all of you ! Paul |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New recipe for "Süddeutsche Zeitung" using "E-Paper mobile" subscription | Ernst | Recipes | 3 | 02-16-2013 07:37 AM |
Recipe Request : "Reader's Digest Indian Edition" | anishd19 | Recipes | 0 | 12-17-2011 04:37 AM |
Recipe for "Galicia Confidencial" and "De L a V" | roebek | Recipes | 1 | 07-19-2011 09:17 AM |
SONY pocket edition: "Device locked" + "charge battery" obstacles? | hermes | Devices | 3 | 06-02-2011 03:32 AM |