![]() |
#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. |
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#3 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
|
|
![]() |
![]() |
![]() |
#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"
|
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#6 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
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. |
![]() |
![]() |
![]() |
#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?
|
![]() |
![]() |
![]() |
#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.
|
![]() |
![]() |
![]() |
#10 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
Spoiler:
|
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Don't recall, I think it fetches first.
|
![]() |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
#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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |