Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 08-31-2009, 04:38 PM   #691
TMF
Enthusiast
TMF began at the beginning.
 
Posts: 42
Karma: 10
Join Date: May 2009
Device: PRS-505
Kovid, sorry; I've added this as the first line of the recipe, but it still produces the same error message.
TMF is offline  
Old 08-31-2009, 04:54 PM   #692
twiz
Gentoo Geek
twiz began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2009
Location: Portland, OR
Device: Kindle 1, Kindle 2, Nokia N800, Palm TX
Hello!

I appreciate any help with this: I have a fairly simple blog I'd like to follow: The Old Foodie. http://www.theoldfoodie.com. A nice blog exploring world culinary history. I've been using calibre since 0.5.x without any major issues on Sabayon Gentoo with a Kindle 2.

I've tried using the blog's feedburner, atom, and xml feeds, and all error out after a few seconds with the errors I've pasted at the bottom. After erroring out it will refuse to try downloading the feed again without restarting calibre, but will run other recipes without issue. I've tested the built-in recipes, and they work fine and create readable MOBI files. I've tried clearing out temp and settings folders, and running calibre as a superuser to rule out file-write glitches.

Here is the output:

Fetch news from Old Foodie
InputFormatPlugin: Recipe Input running Downloading
Fetching file:///tmp/calibre_0.6.10_4aThWM_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.6.10_78agJi_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.6.10_ZJ4Mpu_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.6.10_BjA_xM_feeds2disk.html
Downloading
Fetching file:///tmp/calibre_0.6.10_DCe6Q9_feeds2disk.html
WARNING: Encoding detection confidence 99%
Processing images...
Fetching https://blogger.googleusercontent.co...eoldfoodie.com
WARNING: Encoding detection confidence 99%
Processing images...
Fetching https://blogger.googleusercontent.co...eoldfoodie.com
WARNING: Encoding detection confidence 99%
Processing images...
WARNING: Encoding detection confidence 99%
Fetching https://blogger.googleusercontent.co...eoldfoodie.com
WARNING: Encoding detection confidence 99%
Processing images...
Fetching https://blogger.googleusercontent.co...eoldfoodie.com
Processing images...
Fetching https://blogger.googleusercontent.co...eoldfoodie.com
Recursion limit reached. Skipping links in file:///tmp/calibre_0.6.10_ZJ4Mpu_feeds2disk.html
file:///tmp/calibre_0.6.10_ZJ4Mpu_feeds2disk.html saved to /tmp/calibre_0.6.10_GHwNDb_plumber/feed_0/article_3/calibre_0.6.10_ZJ4Mpu_feeds2disk.xhtml
Downloaded article: An Airship Luncheon. from http://www.theoldfoodie.com/2009/08/...-luncheon.html
Downloading
/opt/calibre/calibre-parallel: line 7: 10113 Segmentation fault $loader "$@"


Out of desperation I've even tried downloading directly from the home page (www.oldfoodie.com). This job produces a MOBI loaded with a large, unbroken paragraph with all html flags visible.

If anyone sees an obvious misstep I've made, or knows a quick and dirty way to get this feed going, it would be much appreciated!
twiz is offline  
Advert
Old 08-31-2009, 05:00 PM   #693
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
New recipe for HLN:
Attached Files
File Type: zip HLN.zip (900 Bytes, 217 views)
kiklop74 is offline  
Old 08-31-2009, 05:09 PM   #694
varin44
Junior Member
varin44 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2009
Device: Kindle 2
this was a duplicate post. my original post (under twiz) has been removed from the spam bins and restored. sorry about that!

Last edited by varin44; 08-31-2009 at 06:22 PM.
varin44 is offline  
Old 09-01-2009, 04:03 AM   #695
danielc
Junior Member
danielc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2009
Device: none
Hi all i am new here and i am from HK, i know everyone is using English here , i love the program of Calibre but after a few try , i still have no idea how to make one Chinese newspaper recipes.. i know its hard for you guys, but do anyone can know Chinese and try for me ? will be very appreciate ... cheer ... ^^
danielc is offline  
Advert
Old 09-01-2009, 04:05 AM   #696
danielc
Junior Member
danielc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2009
Device: none
here is the link : http://hk.apple.nextmedia.com/templa...01&sec_id=4104
danielc is offline  
Old 09-01-2009, 09:18 AM   #697
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
The Old Foodie blog:
Attached Files
File Type: zip theoldfoodie.zip (593 Bytes, 218 views)
kiklop74 is offline  
Old 09-01-2009, 11:20 AM   #698
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@TMF: Your recipe works for me
@twiz: That's a bug with your calibre install, not your recipe. Does conversion of ebooks work in your calibre?
kovidgoyal is offline  
Old 09-01-2009, 05:18 PM   #699
twiz
Gentoo Geek
twiz began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2009
Location: Portland, OR
Device: Kindle 1, Kindle 2, Nokia N800, Palm TX
I convert to MOBI and occasionally to EPUB without issue. I've converted at least 100 books with no problems.

I have seen variations of segmentation faults with the loader before. Mostly in the last two versions before 0.6.8. My calibre would randomly close while idle, and I'd see a seg fault waiting for me at the command line. It didn't seem to be a result of any regular functions of calibre (excluding news feeds; this is the first time I've tried them out). But with version 0.6.8, whatever was causing the random closes stopped. Also, coming out of the last 0.5.x version, it stopped recognizing my Kindle 2 upon hotplug. Mildly disturbing, but I just switched to Save to Disk from calibre directly to my mounted drive. It's only a small hassle for me to save books to my Kindle 2 that way instead.

I can't figure out why a custom recipe for Old Foodie would trigger a seg fault.

Thanks for the recipe for Old Foodie! I'll experiment with other custom recipes and see if they seg fault out also. That might narrow down the issue. Between upgrades I do wipe the calibre personal settings folder to try to prevent corruptions from carrying over.

Last edited by twiz; 09-01-2009 at 05:40 PM.
twiz is offline  
Old 09-02-2009, 10:00 PM   #700
bhandarisaurabh
Enthusiast
bhandarisaurabh began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
I would love to request a recipe for business standard ,its a business newspaper
http://www.business-standard.com/india/,thanks in advance
bhandarisaurabh is offline  
Old 09-03-2009, 10:28 PM   #701
A4-
Connoisseur
A4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheeseA4- can extract oil from cheese
 
A4-'s Avatar
 
Posts: 84
Karma: 1110
Join Date: Aug 2009
Location: Netherlands
Device: iRex iLiad v2
I'm working on a receipt for Tweakers.net (dutch tech news) and I've got it working, but lots of images wont show up on the Ebook Viewer.
Here is a random newspost with those images which wont show up.
For now I'm only interested in the thumbnails and not the full size ones.
Any help is apreciated

Here's my receipe:
Code:
class AdvancedUserRecipe1252025187(BasicNewsRecipe):
    title          = u'Tweakers.net'
    oldest_article = 4
    max_articles_per_feed = 40
    no_stylesheets = True
    use_embedded_content = False

    keep_only_tags = [dict(name='div', attrs={'class':'columnwrapper news'})]

    remove_tags    = [dict(name='div', attrs={'class':'reacties'}),
	         {'id' : ['utracker']},
	         {'class' : ['sidebar']}
	         ]

    feeds          = [(u'Tweakers.net', u'http://tweakers.net/feeds/nieuws.xml')]
A4- is offline  
Old 09-07-2009, 05:43 AM   #702
macsilber
Junior Member
macsilber began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: kindle
Hi I would appreciate hep on http://inc.com and http://www.entrepreneur.com/

Thank you!
macsilber is offline  
Old 09-07-2009, 08:25 AM   #703
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
macsilber,

RSS feeds are your friend. Here are the RSS feeds for Entrepreneur, and here is the RSS feed for Inc.

Follow the instructions for creating a custom recipe, and if you get stuck, ask for help.

G
GRiker is offline  
Old 09-07-2009, 09:33 AM   #704
macsilber
Junior Member
macsilber began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: kindle
Sorry did not explain it very well - I tried the rss feeds and they work kind of ok. I tried doing some programming but to no avail in cleaning it up properly.

For example to convert

http://www.entrepreneur.com/marketin...cle203248.html

to

http://www.entrepreneur.com/article/...is/203248.html

also on another one
http://goal.com/en/feeds/news?id=1659&fmt=rss

The print option creates a pdf so not sure how to handle for example
http://www.goal.com/en/news/1863/wor...-ireland-south

prints to

http://www.goal.com/en/news/1863/wor...reland-south#p

which is actually a pdf file.

Last edited by macsilber; 09-07-2009 at 09:42 AM.
macsilber is offline  
Old 09-07-2009, 10:33 AM   #705
dmendozadmd
Junior Member
dmendozadmd began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2009
Device: Sony PRS505
Quote:
Originally Posted by kovidgoyal View Post
Since there have been a lot of custom recipe requests of late, I'm starting a sticky where they can be aggregated. Post requests for custom recipes here. Once you have a custom recipe that works well for you (please test both the LRF and EPUB versions), let me know and I'll include it into calibre so others can benefit from it as well.
Please explain to a newbie: what's a sticky? what's a recipe as used in your message?
dmendozadmd is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom column read ? pchrist7 Calibre 2 10-04-2010 02:52 AM
Archive for custom screensavers sleeplessdave Amazon Kindle 1 07-07-2010 12:33 PM
How to back up preferences and custom recipes? greenapple Calibre 3 03-29-2010 05:08 AM
Donations for Custom Recipes ddavtian Calibre 5 01-23-2010 04:54 PM
Help understanding custom recipes andersent Calibre 0 12-17-2009 02:37 PM


All times are GMT -4. The time now is 07:19 AM.


MobileRead.com is a privately owned, operated and funded community.