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 09-11-2009, 02:50 PM   #721
jeremynpross
Junior Member
jeremynpross began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: none
Request for Visual Book recipe

Dear Recipe Creators,
I am working with the publisher of "The Kingdom Experiment" to convert it from PDF to Kindle and other eBook formats.

Here's the book:
http://www.amazon.com/Kingdom-Experi...693916&sr=1-1#

The book is highly designed, with supergraphics type text, lots of white space, and a few images. We want to preserve the look of each page.

You can see the page layout via Amazon's "look Inside" here:

http://www.amazon.com/Kingdom-Experi...&sr=1-1#reader

I've tried Calibre conversion from the PDF and from a zip archive of 300 dpi JPG exports renamed as CBZ. I tried output as ePub and as Mobi.

None work perfectly to preserve page layout, stretching and misplacing text. Using the free mobi tool to convert preserves the look but makes the text way too blurry.

Do you have any suggestions as to how I can do this conversion via the GUI in Calibre?

Forgive my ignorance, but I don't know the first thing about using a command line, right down to where the commands are entered, what syntax to use and where there are spaces.

I'm on deadline to get this figured out and will appreciate any help you can give me.

Thanks,
Jeremy Ross
jeremyr@earthlink.net
jeremynpross is offline  
Old 09-12-2009, 01:04 PM   #722
radikaldissent
Junior Member
radikaldissent began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: none
Philadelphia Inquirer Recipe

I've read through this thread and I've heard someone request a philly.com recipe. I'm not sure if someone got around to it but I created a recipe for the Philadelphia Inquirer (http://www.philly.com/inquirer/). It seems to work okay and I've attached it to this post. I'm always open to suggestions or advice to improve it.
Attached Files
File Type: zip philly.recipe.zip (986 Bytes, 223 views)

Last edited by radikaldissent; 09-12-2009 at 01:43 PM. Reason: Edit to reflect that it works.
radikaldissent is offline  
Old 09-12-2009, 01:30 PM   #723
radikaldissent
Junior Member
radikaldissent began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: none
Mothers Jones Recipe (Not functioning correctly yet)

I've been working on a recipe for mother jones, it's not totally functional though. I've got it to point to the print url but on some articles the content is cut off. If you run it, the first article works but the second one titled "The Melting Climate Change Deadline" at http://www.motherjones.com/print/27210 is cut off. Only the first paragraph is displayed. This problem also shows up for other articles in the feed. I'd appreciate any help to fix this.
Attached Files
File Type: zip motherjones.recipe.zip (607 Bytes, 186 views)
radikaldissent is offline  
Old 09-12-2009, 10:48 PM   #724
cix3
Member
cix3 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Kindle 2
Salon.com recipe

Salon, the award-winning online news and entertainment Web site, combines original investigative stories, breaking news, provocative personal essays and highly respected criticism along with popular staff-written blogs about politics, technology and culture.

http://www.salon.com

Code:
class Salon_com(BasicNewsRecipe):
    title = 'Salon.com'
    __author__ = 'cix3'
    description = 'Salon.com - Breaking news, opinion, politics, entertainment, sports and culture.'
    timefmt = ' [%b %d, %Y]'

    oldest_article = 7
    max_articles_per_feed = 100

    remove_tags = [dict(name='div', attrs={'class':['ad_content', 'clearfix']}), dict(name='hr'), dict(name='img')]

    remove_tags_before = dict(name='h2')

    feeds = [
        ('All News & Politics', 'http://feeds.salon.com/salon/news'),
        ('War Room', 'http://feeds.salon.com/salon/war_room'),
        ('All Arts & Entertainment', 'http://feeds.salon.com/salon/ent'),
        ('I Like to Watch', 'http://feeds.salon.com/salon/iltw'),
        ('Book Reviews', 'http://feeds.salon.com/salon/books'),
        ('All Life stories', 'http://feeds.salon.com/salon/mwt'),
        ('Broadsheet', 'http://feeds.salon.com/salon/broadsheet'),
        ('All Opinion', 'http://feeds.salon.com/salon/opinion'),
        ('All Sports', 'http://feeds.salon.com/salon/sports'),
        ('All Tech & Business', 'http://feeds.salon.com/salon/tech'),
        ('Ask the Pilot', 'http://feeds.salon.com/salon/ask_the_pilot'),
        ('How the World Works', 'http://feeds.salon.com/salon/htww')
            ]

    def print_version(self, url):
        return url.replace('/index.html', '/print.html')
Enjoy!
cix3 is offline  
Old 09-14-2009, 12:40 AM   #725
olaf
Enthusiast
olaf is on a distinguished road
 
Posts: 43
Karma: 50
Join Date: May 2009
Device: Kindle3
I am a total newbie to this and can't figure out my local newspaper RSS feeds. I tried some others, like BBC and they worked ok, but the feeds listed on this page don't come up with any results. Do I have to write special code to access these particular feeds?

http://www.telegram.com/apps/pbcs.dl...egory=rss_main
olaf is offline  
Old 09-14-2009, 05:20 AM   #726
danielc
Junior Member
danielc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2009
Device: none
Hi , i wanna to a help too ...
i go Jamie website and i wanna to make the RSS for the daily recipe of J.Oliver... can give me a help ? the picture cant showing out .. it will be great and i can bring it and make different dishes everyday by him .. ha ha THanks

http://rss.feedsportal.com/c/32402/f/467087/index.rss
danielc is offline  
Old 09-14-2009, 12:06 PM   #727
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
olaf - I followed the instructions and was able to download a readable paper. Did you copy the links to the individual feeds, as opposed to using the main page? Here's the recipe I ended up with for 3 sections, 5 articles per section:

Code:
class AdvancedUserRecipe1252944207(BasicNewsRecipe):
    title          = u'Telegram - Worcester MA'
    oldest_article = 7
    max_articles_per_feed = 5

    feeds          = [(u'Front Page News', u'http://www.telegram.com/apps/pbcs.dll/section?Category=RSS03&MIME=xml'), (u'Local News', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1101'), (u'Business', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1002')]
GRiker is offline  
Old 09-14-2009, 12:15 PM   #728
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
danielc:

The problem is that calibre doesn't recognize 'feed://' as a valid url source. I replaced it with 'http://' and the recipe correctly downloads content from the site.

Code:
class AdvancedUserRecipe1252944534(BasicNewsRecipe):
    title          = u"Jamie's Recipes"
    oldest_article = 7
    max_articles_per_feed = 5

    feeds          = [(u"Jamie's Daily Recipe", u'http://rss.feedsportal.com/c/32402/f/467087/index.rss')]
Kovid, is it possible to recognize 'feed://' as a valid url prefix?

G
GRiker is offline  
Old 09-14-2009, 03:36 PM   #729
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,399
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by GRiker View Post
Kovid, is it possible to recognize 'feed://' as a valid url prefix?

G
I can basically have it replace, feed:// with http://
kovidgoyal is offline  
Old 09-14-2009, 05:35 PM   #730
ccowie
Hiding with an ereader
ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.
 
ccowie's Avatar
 
Posts: 391
Karma: 3987376
Join Date: Sep 2009
Location: Kitchener Ontario
Device: Kindle Paperwhite, Sony PRS 950, Ipad 2, PRS 350
Is it possible to get a recipe for the Globe and Mail?
ccowie is offline  
Old 09-14-2009, 06:23 PM   #731
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,399
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There already is one
kovidgoyal is offline  
Old 09-14-2009, 08:33 PM   #732
olaf
Enthusiast
olaf is on a distinguished road
 
Posts: 43
Karma: 50
Join Date: May 2009
Device: Kindle3
Quote:
Originally Posted by GRiker View Post
olaf - I followed the instructions and was able to download a readable paper. Did you copy the links to the individual feeds, as opposed to using the main page? Here's the recipe I ended up with for 3 sections, 5 articles per section:

Code:
class AdvancedUserRecipe1252944207(BasicNewsRecipe):
    title          = u'Telegram - Worcester MA'
    oldest_article = 7
    max_articles_per_feed = 5

    feeds          = [(u'Front Page News', u'http://www.telegram.com/apps/pbcs.dll/section?Category=RSS03&MIME=xml'), (u'Local News', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1101'), (u'Business', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1002')]
GRiker - thanks for the help. Something must be off with my program configuration - I had essentially the same recipe and was getting address failures. Copied your recipe and the same thing. I will re-install things to see if that makes a difference. Thanks again for looking at that for me.

Re-installed and used your recipe, but get an error on each of the three feeds - (11001, 'getaddrinfo failed'). Not sure what the difference is and why it works for you and not me.

Last edited by olaf; 09-15-2009 at 07:41 AM.
olaf is offline  
Old 09-15-2009, 01:51 AM   #733
danielc
Junior Member
danielc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2009
Device: none
THanks GRiker,

THe problems is now it just show the content and after click into the pages, it cant show the picture and only get the words out.

Can give me a lesson on it too ? so thanks ...

Daniel


Quote:
Originally Posted by GRiker View Post
danielc:

The problem is that calibre doesn't recognize 'feed://' as a valid url source. I replaced it with 'http://' and the recipe correctly downloads content from the site.

Code:
class AdvancedUserRecipe1252944534(BasicNewsRecipe):
    title          = u"Jamie's Recipes"
    oldest_article = 7
    max_articles_per_feed = 5

    feeds          = [(u"Jamie's Daily Recipe", u'http://rss.feedsportal.com/c/32402/f/467087/index.rss')]
Kovid, is it possible to recognize 'feed://' as a valid url prefix?

G
danielc is offline  
Old 09-15-2009, 02:07 PM   #734
ccowie
Hiding with an ereader
ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.ccowie ought to be getting tired of karma fortunes by now.
 
ccowie's Avatar
 
Posts: 391
Karma: 3987376
Join Date: Sep 2009
Location: Kitchener Ontario
Device: Kindle Paperwhite, Sony PRS 950, Ipad 2, PRS 350
I'm not sure if this is possible, but the more I read on these forums the more it seems everything is possible.
I've purchased a few issues of Orson Scott Card's Intergalactic Medicine Show electronic magazine. Is there any way to get a recipe that can deliver the issues I've purchased?
ccowie is offline  
Old 09-15-2009, 04:19 PM   #735
Andreiko
Junior Member
Andreiko began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2009
Device: Kindle DX, Sony-505
Firts of all thank you guys for great job you have been doing for those dumbs like me who cannot create a normal and functional RSS recipe.

I was checking and trying to create my own, advanced one, with downloadable articles (printed versions) so i can deploy it on my Kindle DX, but... its above my knowlege. Actualy i was trying to create the ricipe from the examples, but couldnt manage

I realy kindly ask you guys, plz, create one from http://www.inosmi.ru
with full articles, from this rss:http://www.inosmi.ru/misc/export/xml...ranslation.xml

Its a russian news site, which actually provides translated (to russian) articles from all over the world. It would be really col to have this one. Also, i found that we dont have any pre-installed russian-language (and ukrainian) RSS feeds in calibre. I think i shall ask you also guys to make some 10-15 RSS feeds there. But firts i have to made up my mind about what are those realy reliable and major news and media sites.

But again, thank you guy for great job.
Andreiko 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 05:42 AM.


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