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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 12-28-2007, 03:18 PM   #1
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Convert LIT bug & patch

I'm surprised no one else has noticed this, but Convert LIT 1.8 has a bug which causes it to occassionally generate incorrect cross-file links. For example, it may link to footnote14.html instead of footnote1.html or page71.jpg instead of page7.jpg. I've e-mailed the maintainer, but given that the Convert LIT page hasn't been updated for a few years I'm not sure what sort of response to expect. For the time being, the attached patch fixes this issue for me.
Attached Files
File Type: txt clit-href-patch.txt (627 Bytes, 210 views)
llasram is offline   Reply With Quote
Advert
Old 12-28-2007, 08:12 PM   #2
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: 31,308
Karma: 8154029
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you dont receive a response from the clit maintainers and since this concerns the conversion of undrmed lit files to HTML are you interested in re-implementing that part of clit in python? I've already made a beginning at the port (to read metadata from lit files) it's in the metadata module of libprs500's source tree.
kovidgoyal is online now   Reply With Quote
Old 12-28-2007, 08:42 PM   #3
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
If you could tell the Debian maintainer for clit about this it would be good...
tompe is offline   Reply With Quote
Old 12-30-2007, 02:29 PM   #4
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by kovidgoyal View Post
If you dont receive a response from the clit maintainers and since this concerns the conversion of undrmed lit files to HTML are you interested in re-implementing that part of clit in python? I've already made a beginning at the port (to read metadata from lit files) it's in the metadata module of libprs500's source tree.
Ok, I'm game. :-)
llasram is offline   Reply With Quote
Old 12-30-2007, 04:05 PM   #5
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: 31,308
Karma: 8154029
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here's a link to the lit decompiling code I have so far, it extracts the metadata OPF file from the lit file.

https://libprs500.kovidgoyal.net/bro...etadata/lit.py

You can use it as a base to extract the other file types. Ask if you need any help.
kovidgoyal is online now   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JB & ALP - FW and Patch question jlg432 Ectaco jetBook 1 08-16-2010 03:47 PM
0.6.37 convert to ePub bug(?) cutterjohn42 Calibre 1 02-05-2010 09:14 AM
Bug reports & advices for next versions (0.6.32 MacOS X) neotheone Calibre 2 01-07-2010 01:14 PM
Possible Bug: Odd Glitches in Formatting .lit to .lrf RJ_Cruze_Jr Calibre 7 08-02-2009 11:25 AM
Bug when trying to convert a PRC file Alfy Calibre 3 10-18-2008 12:23 PM


All times are GMT -4. The time now is 02:51 AM.


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