09-25-2010, 10:28 AM | #1 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Scientific American
The current Scientific American recipe is broken. The site changed. I've completely rewritten it:
Spoiler:
Last edited by Starson17; 09-25-2010 at 11:13 AM. |
09-25-2010, 02:18 PM | #2 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Tony (or anyone else)
If you get a chance, would you check that this recipe is working in 0.7.20? Check the built-in, not the one posted here, and check it inside Calibre, not your test environment. I was seeing some odd behavior. There should be more than 3 feeds, and the name of the epub should have "Issue" inside square brackets, as in "[October 2010 Issue]" and not just "[October 2010]". Thanks! |
Advert | |
|
09-25-2010, 02:39 PM | #3 | |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
|
|
09-25-2010, 02:51 PM | #4 |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
I only see three feeds
I also only see October 2010 in braces I also a bunch of "extra junk"
|
09-25-2010, 02:58 PM | #5 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Code:
issuetag = soup.find('p',attrs={'id':'articleDek'}) |
|
Advert | |
|
09-25-2010, 03:07 PM | #6 | |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
|
|
09-25-2010, 03:10 PM | #7 |
creator of calibre
Posts: 44,001
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just to note: When you run a builtin recipe incalibre, the latest version of the recipe is fetched from the calibre server. When you run a recipe from the command line by providing the path to a .recipe file, that file is used.
Your problems may be caused by the mismatch between the two recipes. |
09-25-2010, 03:12 PM | #8 |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
the built in recipe does not have imagetag in it. do you want me to put it and then run the test?
|
09-25-2010, 03:16 PM | #9 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I believe you, because I saw your problem, too. This is similar, but not the same, as it's not dependent on --test. It's almost like another recipe is running. I'm getting 13 feeds, not 3, They start with "Features," and there is no "Departments" feed.
|
09-25-2010, 03:19 PM | #10 | |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
Spoiler:
|
|
09-25-2010, 03:22 PM | #11 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
09-25-2010, 03:24 PM | #12 |
creator of calibre
Posts: 44,001
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Don't recall, I think it fetches first.
|
09-25-2010, 03:26 PM | #13 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Thanks for the help. |
|
09-25-2010, 03:37 PM | #14 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
OK, here's what's happening. I'm running Calibre 0.7.20 from updated code. If I try to edit the builtin, I see my recipe (Kovid has updated the codebase with my submitted recipe). If I browse to the recipe in resources, I also see my recipe. But, if I try to just run it normally, as a builtin recipe, I get another version (with code that I can't see). I'm sure that wherever it's pulling the recipe from will eventually update to what's in the code base and that will fix this.
Thanks for the help, Tony, and for the answers, Kovid. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scientific American recipe broken (?) | jamesewood | Calibre | 4 | 09-23-2010 03:37 PM |
Science and Politics - from Scientific American | kennyc | Lounge | 0 | 05-04-2010 07:02 AM |
PRS-600 Cannot load scientific american pdf file | mjsalman | Sony Reader | 11 | 02-06-2010 12:50 PM |
Scientific American recipe | Stingo | Calibre | 2 | 10-30-2009 05:42 PM |
Scientific American E-Ink Article | wallcraft | News | 1 | 05-28-2008 11:59 AM |