06-19-2008, 11:51 AM | #61 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Add ePub to eReader and all the common ebook readers (except MS Reader) would be supported. It is likely that MobiPocket and FictionWise will support ePub as input to their publishing tools, so only epub2lrf is essential in the short term.
|
06-19-2008, 11:59 AM | #62 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
epub2lrf (calibre 0.4.72) I'm not sure if Kovid/anyone else has filed the rough edges (cover, TOC support) off the version I contributed, but epub -> LRF is definitely there. |
|
06-19-2008, 12:51 PM | #63 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah epub2lrf is there thanks to llasram. It might need some polishing, but that will happen automatically when people start using it and submit bug reports.
epub2mobi would depend on html2mobi. I'm going to wait a bit on that and see if mobipocket release a cross platform mobigen, in which case I dont have to write it. |
06-19-2008, 05:35 PM | #64 |
Sleeper.
Posts: 109
Karma: 10
Join Date: Dec 2007
Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro
|
Question
Dear Kovid,
as a non-programmer I am a little worried about the "command line based" part of your description. Will people like me (not really familiar with terminal and/or python commands) be able to take advantage of this feature or will we have to wait until it's integrated into the GUI? I can't imagine myself executing command line code on a regular basis... jo. Last edited by jotheman; 06-19-2008 at 05:38 PM. |
06-19-2008, 05:59 PM | #65 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Because of the design of calibre, once the command line utilities are available, adding support to the GUI is just a matter of a few hours of work. I will however put off adding that support until html2epub is debugged a bit.
|
06-20-2008, 07:01 AM | #66 |
Member Retired
Posts: 8
Karma: 10
Join Date: Jun 2008
Location: Luxembourg, Grand-Duché de Luxembourg
Device: Sony PRS-505
|
To be seen...
If it's just a matter of replacing files, I don't see a problem there. Anyway... I started putting some effort into it. The good thing so far: - All required packages are available - I was able to install it up to this point: Installed /[...]/lib/python2.5/site-packages/calibre-0.4.72-py2.5.egg Processing dependencies for calibre Finished processing dependencies for calibre into a local copy of the python tree, which also allows for checking which files are installed where (crucial for a clean de-installation procedure) The bad: - Some package versions are a bit off, e.g. pyqt is at 4.3.something, whereas the requirements are asking for 4.4.whatever. Other packages are more recent than stated in the requirements. Whereas I don't expect any issues from the latter, I do expect problems from the former. - Symlinking stuff into /usr/bin isn't a good idea in my opinion. I don't know if that's the common way to do it on Linux, but on FreeBSD I'd rather expect symlinks into /usr/local/bin, if at all. - I still have to run the postinstall and I haven't tried starting the software yet, either. I'll do that as soon as I'm in front of the machine again. The ugly: - Putting it into a ports-compatible form. I'm afraid I don't have enough time for this. It's a pity that there's no way to set it up as a self-contained installation without causing too many problems in other areas. |
06-20-2008, 11:35 AM | #67 | |
Member Retired
Posts: 8
Karma: 10
Join Date: Jun 2008
Location: Luxembourg, Grand-Duché de Luxembourg
Device: Sony PRS-505
|
Quote:
You must be root to run this command. *sigh* Why on earth? I'm using a local copy of python in ${HOME}/lib/python2.5. There's absolutely no need to run something as root. |
|
06-20-2008, 11:49 AM | #68 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's because it needs to install system files (udev rules and HAL FDI files) for device detection. Have you looked at the binary installer? It creates a single directory installation (and a few small bash scripts in /usr/bin).
|
06-20-2008, 01:02 PM | #69 | |
Member Retired
Posts: 8
Karma: 10
Join Date: Jun 2008
Location: Luxembourg, Grand-Duché de Luxembourg
Device: Sony PRS-505
|
Quote:
Besides that, udev is a Linuxism as far as I know. FreeBSD has its own dynamic devfs implementation. Not yet, but thanks for the hint. I already saw the /usr/bin stuff, though (as mentioned before). |
|
06-20-2008, 03:23 PM | #70 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can pass options to calibre_postinstall to disable any stage of the process.
Code:
Usage: calibre_postinstall [options] Options: -h, --help show this help message and exit --use-destdir If set, respect the environment variable DESTDIR when installing files --do-not-reload-udev-hal If set, do not try to reload udev rules and HAL FDI files --group-file=GROUP_FILE File from which to read group information. Default: /etc/group --dont-check-root If set, do not check if we are root. --make-errors-fatal If set die on errors. |
06-23-2008, 02:04 PM | #71 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
If the Reader's .epub support is crippled in some way (only supported with a yet-to-be-released PRS model, only supported with DRM, buggy renderer, etc.), then implement a fully CSS-aware HTML -> LRF layer using cssutils or other full CSS parser.
|
06-28-2008, 06:29 PM | #72 | |
Member Retired
Posts: 8
Karma: 10
Join Date: Jun 2008
Location: Luxembourg, Grand-Duché de Luxembourg
Device: Sony PRS-505
|
Quote:
|
|
06-30-2008, 06:53 AM | #73 |
Sleeper.
Posts: 109
Karma: 10
Join Date: Dec 2007
Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro
|
New request
Hi Kovid,
now that I am the proud owner of a fully chinese-enabled PRS500, I finally had the chance to really try out library management with Calibre. Most important finding: There is nor real sync-feature. I can send books to the reader, but when I delete them, they will still stay in the reader's memory, so I have to delete them twice; changes in metadata are not automatically synced, etc. => having syncable playlists (or collections, or series, or whatever) would be really helpful to stay organized. Maybe on could add a default setting for any book to be synced to internal memory/SD card automatically, e.g. whenever something changes. As you might have guessed from all my previous questions and suggestions, I read a lot of short, read-and-delete news articles, mostly created with BookIt. It is really difficult to stay organized without the possibilty to delte files directly on the device and without automatic syncing, e.g. like an iPod does with iTunes. I cannot delete files on my iPod either, so I have smart playlists to find the podcasts I've already listend to, so that I know which ones I can delete. I wish there was a similar way to keep my PRS500 tidied up with Calibre. For now I reverted to a ChronoSync action for my news files, so they won't clog up my Calibre library (twice). But I have to remember which articles I've already read and then delete them from my HDD, the deletion will then be synced with my SD card the next time it is connected to my Mac. Not a perfect solution either. Why does everything have to be so complicated? ... Cheers, jo. Last edited by jotheman; 06-30-2008 at 06:56 AM. |
06-30-2008, 07:15 AM | #74 |
creator of calibre
Posts: 44,333
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The problem is that there isn't a reliable enough mechanism on the PRS500 to achieve true syncing. This is primarily because the 500 has no internal clock and times drift. So there's no reliable way of knowing when something is newer.
|
06-30-2008, 09:37 AM | #75 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I guess that one way to do it would be to record the timestamp on the external file system in your database, and recopy the file to the Reader if it had changed to a later time.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Timewap feature | theducks | Calibre | 3 | 05-08-2010 12:54 PM |
[Old Thread] Calibre 'feature request' thread | Waba | Calibre | 2 | 02-10-2010 07:52 PM |
Thank you Kovid and Calibre crew! | pshrynk | Calibre | 16 | 04-13-2009 08:56 PM |
Is it possible to skip to any page desired? | JRAWKER | Sony Reader | 9 | 02-02-2007 11:51 AM |