Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2011, 07:09 AM   #1
Lev667
Junior Member
Lev667 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Using recipe specific convertion

Hi guys,

I am using calibre to download feeds automatically to my kindle,
some of the feeds are in english and some are hebrew.

Kindle cant display mobi files in hebrew, but it works fine with pdf.

I would like to convert the english feeds to mobi, and the hebrew ones to pdf,
by adding some flag to the hebrew feeds recipe (add a variable ConvertToPdf = True or end the title name with ".pdf" or something like that),
and in the method that is doing the conversion check for that flag.
If its not there use the default mobi conversion, else convert to pdf.

Sounds simoe enough, but I tried to look through the code, and I didnt find where to add this logic.

can to point me where should I start?

thanks,
Lev.
Lev667 is offline   Reply With Quote
Old 03-04-2011, 08:48 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Lev667 View Post
can to point me where should I start?
You can do this via command line. I can't make any suggestions on where to start in the code.
__________________
The speed limit on our spacetime highway of life is c - lightspeed. Surprisingly, the posted minimum is also c. We can go no faster, nor any slower! The conversion factor from the time dimension to space is ct. When stationary in space, we must move into the future at c to have our clock tick off t. When moving in space, the spacetime vector c tilts from pure motion in time. The faster we move in the space dimension, the slower we move in the time dimension.
Starson17 is offline   Reply With Quote
 
Enthusiast
Old 03-04-2011, 12:01 PM   #3
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: 22,519
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the fetch_scheduled_recipe function in gui2.tools
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
kovidgoyal is offline   Reply With Quote
Old 03-05-2011, 09:21 AM   #4
Lev667
Junior Member
Lev667 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Quote:
Originally Posted by kovidgoyal View Post
Look at the fetch_scheduled_recipe function in gui2.tools
thank,
it works
Lev667 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doc to Epub convertion problems johnbajer Calibre 5 06-04-2010 05:30 PM
Cover pictures after convertion from ePub to Mobi paulpeer Calibre 8 03-23-2010 09:23 AM
Best PDF Convertion Tool Nathan Campos Workshop 5 12-27-2009 10:47 AM
I am looking for a tool that could automate convertion of... astra Workshop 24 08-30-2009 06:38 AM
txt2pdf convertion web application spaze PDF 1 08-28-2009 07:57 AM


All times are GMT -4. The time now is 03:07 PM.


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