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: 4,004
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.
Starson17 is offline   Reply With Quote
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: 26,103
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the fetch_scheduled_recipe function in gui2.tools
kovidgoyal is online now   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 AM.


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