|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
|
Using recipe specific convertion
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. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
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. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 | 1 | 08-28-2009 07:57 AM | |