12-15-2010, 10:01 PM | #1 |
Member
Posts: 12
Karma: 10
Join Date: Jan 2010
Device: Sony PRS600S
|
Recipe produces no Images - Please help.
I am the Editor of a weekly newspaper in Canada. We are in the process of buliding a new website, with RSS feeds so that we can have readers subscribe to our feeds and have Calibre port them into eReaders. (ePub format)
The problem I am having is that my Recipe does not fetch our photos. I get the content, but only the text. I have checked the manual and this forum, but there I fail to locate any indication that Calibre is fussy about what type of web graphic it filters out. Is there anyone out there that can help me either understand the problem, or even help my create the recipe? Thank you.. Brian Hahn |
12-16-2010, 08:41 AM | #2 |
Zealot
Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
try posing your code and the relevant RSS feeds.
|
Advert | |
|
12-16-2010, 08:42 AM | #3 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
12-16-2010, 03:53 PM | #4 |
Member
Posts: 12
Karma: 10
Join Date: Jan 2010
Device: Sony PRS600S
|
Hi, and thank you for the quick reply.
The images are .jpg files. I first tried .gif but the change did nothing. The website is under development so the feed page address will change after completion. It is temporarily on a subdomain. The feed can be found at: http://pipestone.inmca.com/feeds.asp. The actual address will be www.pipestoneflyer.ca when the site is moved over. Like I said before, the text formats perfectly with the recipe wizard in Calibre. But this image problem is confounding. If anyone can help, It would be appreciated. Thank you.. Brian Hahn Editor |
12-16-2010, 04:31 PM | #5 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
You can force Calibre to follow to the articles with: Code:
use_embedded_content = False Last edited by Starson17; 12-16-2010 at 04:33 PM. |
||
Advert | |
|
12-16-2010, 05:27 PM | #6 | |
Member
Posts: 12
Karma: 10
Join Date: Jan 2010
Device: Sony PRS600S
|
Still no Joy...
Quote:
So this is what I am up to. I downloaded Python and did as you said. I put the changes the embedded condition to FALSE. Now when I run the script, the recipe downloads all images from the website. So in fact it is not really just taking the feed from the RSS files. I have never used Python and the so I am learning as I go. The following is how my script looks: class AdvancedUserRecipe1292537099(BasicNewsRecipe): title = 'Leduc - Wetaskiwin Pipestone Flyer' __author__ = 'Brian Hahn' description = 'News from Alberta, Canada' oldest_article = 14 max_articles_per_feed = 100 no_stylesheets = False #delay = 1 use_embedded_content = False encoding = 'utf8' publisher = 'Pipestone Publishing' category = 'News, Alberta, Canada' language = 'en_CA' feeds = [ ('Features Stories', 'http://pipestone.inmca.com/Feature.rss'), ('Editorial Comment', 'http://pipestone.inmca.com/Comments.rss'), ('Letters to the Editor', 'http://pipestone.inmca.com/Opinion.rss'), ('Opinion', 'http://pipestone.inmca.com/Columnists.rss'), ('Sports', 'http://pipestone.inmca.com/Sports.rss'), ('On the Beat', 'http://pipestone.inmca.com/Police%20Blotter.rss'), ('Business News', 'http://pipestone.inmca.com/Chambers.rss'), ('Local Government', 'http://pipestone.inmca.com/Government.rss'), ('Faith', 'http://pipestone.inmca.com/Faith.rss'), ] I appreciate all your feedback and patience. Thanks again. Brian Hahn |
|
12-16-2010, 08:29 PM | #7 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Your heading is "Still no joy" but I don't see a question in your post. Do you have one?
You wrote: Quote:
Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre produces Python function terminated unexpectedly | roelvdh | Calibre | 6 | 09-09-2013 07:50 PM |
The Economist recipe images are too large | santino1980 | Recipes | 4 | 11-01-2010 03:35 PM |
New Recipe features supporting Kindle masthead images | GRiker | Calibre | 6 | 08-27-2010 04:08 PM |
Instapaper now produces epub files | Harmon | Sony Reader | 19 | 02-14-2010 03:31 PM |
Seiko Epson produces hi-res E Ink display | Alexander Turcic | News | 38 | 11-23-2007 12:00 PM |