tag:blogger.com,1999:blog-3397491887017083415.post5432387499986091222..comments2013-02-25T19:15:28.656-08:00Comments on Programming thoughts and other randomities: Koboish ebooksAnonymoushttp://www.blogger.com/profile/12660293310913786395noreply@blogger.comBlogger33125tag:blogger.com,1999:blog-3397491887017083415.post-51982098105866786372013-02-25T19:15:28.656-08:002013-02-25T19:15:28.656-08:00Thank you for your reply, but I still can't se...Thank you for your reply, but I still can't seem to get my kobo to remember my last page read when I exit my book then return back to it.<br /><br />I double checked and I already have the latest firmware (2.4.0) on my kobo. I then removed from by device and then from calibre all the books I manually changed to title.kepub.epub. Then I reloaded my original .epub files to calibre and added them back to my device. But everything is still as it was before.<br /><br />I get the proper cover images on my kobo, does this mean that I installed the plugin correctly?<br /><br />Alarin said:<br />"Second, you don't have to manually set the title.kepub.epub, that is what the plugin does"<br /><br />After doing all of the above and not getting my desired results I checked my books file in the calibre library. It was not set to title.kepub.epub, but rather had the original title accompanied by the extension .epub<br /><br />I feel that I must be doing something wrong and missing a step somewhere, but I can't seem to figure out what it is<br />Anonymoushttps://www.blogger.com/profile/14472911900396208321noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-74677819247154530262013-02-21T02:30:29.929-08:002013-02-21T02:30:29.929-08:00First of all, you cannot sinc the kepub made this ...First of all, you cannot sinc the kepub made this way with the android pp, becouse you have to buy the kepub, and have it saved in the cloud data managment of kobo to be able to use the snc between devices, and if you didn't buy the kepub, but just converted it from an epub, it won't be saved on the cloud storage.<br /><br />Second, you don't have to manually set the title.kepub.epub, that is what the plugin does, if you do i manually, your file will be something like title.kepub.kepub.epub, and i really don't have any idea about how the kobo will read thet file.<br /><br />For the remember of the last readed page, he kobo should remind it automatically... the problems can be or the strange format (kepub.kepub.epub) or, simply the firmware is bugged.<br />If you didn't update it already, i would strongly raccomand to install the latest firmware (2.4.0) wich is fast, and, above all, really stable. You can find it here, with the instructions to install it, if needed:<br /> http://www.mobileread.com/forums/showthread.php?t=185660<br />Hopeit helps ;)Alarinhttps://www.blogger.com/profile/02554308253431975014noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-56068131154762465612013-02-17T12:38:37.725-08:002013-02-17T12:38:37.725-08:00I would like to start by saying that I have a Kobo...I would like to start by saying that I have a Kobo Glo and I know next to nothing about ebook formats or what is going on here. I tried to follow all the instructions but I don't know if I made a mistake somewhere. If someone could point out my error (if there is one) that would be greatly appreciated<br /><br />This is what I did to upload a kobofied book to my kobo:<br />1) I downloaded the plugin, made the instructed files into a .zip and uploaded the plugin to calibre<br />2) In calibre settings I set metadata managment to auto<br />3) I modified my ebooks extension to be .kepub.epub<br />4) I added my new ebook to calibre, then uploaded it to my device.<br /><br />Was there a point where I was supposed to apply the new plugin to my ebook? Or does my calibre now apply the plugin automatically to all .kepub.epub books?<br /><br />Also one last questions, does anybody know if there is some way to have a kepub.epub book remember the last page read (not just the beginning of my last chapter)? Or for me to be able to sync bookmarks between my android kobo app and my kobo ereader?Anonymoushttps://www.blogger.com/profile/14472911900396208321noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-45297254035354308192013-01-18T12:30:04.111-08:002013-01-18T12:30:04.111-08:00Regarding Joel plugin, and the problems encauntere...Regarding Joel plugin, and the problems encauntered by peppe and jarruda:<br /><br />i got the same problems, and i found a solution: in calibre, you have to set the metadata managment to "automatic", then, copy the books in your kobo, unplug, plug back and the program calibre will send a new stream of metadata; unplug again, and you'll have your covers ;)<br />to set the metadata managment to automatic go to Preferences | Import/Export | Sending books to devices and change it.<br /><br />Hope this will help ;)<br /><br />Tested with kobo glow 2.1.5Alarinhttps://www.blogger.com/profile/02554308253431975014noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-56633192438704872872013-01-18T04:06:06.799-08:002013-01-18T04:06:06.799-08:00Thanks Joel. It works!!! And I have to admit I'...Thanks Joel. It works!!! And I have to admit I'm stunned by how well it works. I followed the instructions for the driver you uploaded. I then connected my Kobo Glo to Calibre and uploaded a book to try it out. Not only the new book had a cover, all my previous epub books uploaded as kepub.epub had a cover too all the sudden!!!Anonymoushttps://www.blogger.com/profile/13006330971853166342noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-80059328610505208482013-01-16T10:33:44.614-08:002013-01-16T10:33:44.614-08:00I know why it's doesn't work.
it's bec...I know why it's doesn't work.<br />it's because the plug in don't add image in .kobo/libary, the modification on a sql database is good, but not the transfer of picture.<br />I dunno how modify a code source, i'm not so good in python, i'm trying, but I don't know if I can.<br />But if I can, i post a modification here, and on mobile read with credit for Joel, if I you want.<br />Sorry for my bad english, i'm french<br />Peppehttps://www.blogger.com/profile/09516880258538723210noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-63048994863553217822013-01-16T09:51:49.361-08:002013-01-16T09:51:49.361-08:00Hi,
thank you so much, calibre convert epub in kep...Hi,<br />thank you so much, calibre convert epub in kepub when i transfer it.<br />But, same problem of jarruda, no cover.<br />Maybe i'm doing something wrong too.<br />Good work.Peppehttps://www.blogger.com/profile/09516880258538723210noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-7255098050811486882013-01-15T11:52:05.537-08:002013-01-15T11:52:05.537-08:00Hi Joel!!
Firt thank you for your amazing work!! ...Hi Joel!!<br /><br />Firt thank you for your amazing work!! (and thank´s to Daniel too).<br /><br />I´m testing the driver.. the only thing I can´t make work is the cover... I don´t see the image... I made as you say: transfer the epub, disconnect, let kobo process (no cover...), plug again, enter Calibre (I need to do some???), exit calibre, disconnect, let kobo process again and no cover....<br /><br />I sure I´m doing something wrong....<br /><br />I upload a PDF and works great, no different from original driver<br /><br />I have a Kobo Touch 2.3.1.<br /><br />Thank´s a lot!!! (and sorry for my bad english....)jarrudahttps://www.blogger.com/profile/06813956149412247604noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-35305259888944290382013-01-14T23:07:23.877-08:002013-01-14T23:07:23.877-08:00Hi Joel,
Thanks for the heads up. I'll take a ...Hi Joel,<br />Thanks for the heads up. I'll take a look at the driver when I get a little time to play with my kobo. <br />I would have used lxml too as it's already available inside calibre but I don't know much (actually anything) about it and Beautifull Soup seemed easier specially as I only had a few hours available to pull this off. <br />Please post back if you make any updates. <br />I don't have much time but at least I can test a little.Anonymoushttps://www.blogger.com/profile/12660293310913786395noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-39267242853482594192013-01-12T11:39:33.789-08:002013-01-12T11:39:33.789-08:00I'm working on an extension to the Calibre Kob...I'm working on an extension to the Calibre Kobo Touch driver to auto-magically handle most of this when sending an ePub file to a Kobo Touch/Glo/Mini. I only have a Glo to test with though, but it looks like everything should be the same from the database side. I'm using lxml directly, I found that using BeautifulSoup caused more issues than it was worth (mostly around poorly-converted ePubs or some ePubs from the Kobo store that have intermingled file encodings) and lxml handled them much better.<br /><br />Here's what the driver currently does if the uploaded file ends in '.epub':<br />1. For all h[1-6] and p tags in every HTML file, wrap the contents of the tag in a span tag with id attribute "kobo.X.1", where X is an incrementing counter starting at 1, reset with each file. The driver checks for the existence of these span tags and skips this processing on a per-tag basis. There's no validation that existing tags aren't duplicated elsewhere so it would be a bad idea to pass a half-processed file through this. It will still work on the device, but annotations and last read position might get wonky.<br />2. Ensure the file name on the device ends with the required '.kepub.epub', so adding this to preferences somewhere is not required.<br />3. Generate the database entries for each ePub file. There's an entry for the book itself, entries for anything in toc.ncx, and an entry for each individual HTML file defined in content.opf. The database entries I add include series information and the proper Image ID, but this doesn't stop the Kobo device from processing the new books after unplugging the device, which strips out series and image ID data. Still working on how to prevent the device from automatically processing these files.<br />4. Every time metadata is synced to the device, re-set the Image ID field for every book entry with a NULL ImageId field.<br /><br />The images are already uploaded and properly sized by Calibre so there isn't any need to deal with converting/sizing images. They (and series information, if you're setting it) won't display the first time you eject the device after copying the books but plug it back in after the Kobo does its processing, let calibre update the metadata, and it'll be ready to go.<br /><br />I'm not sure it's ready for publishing yet (I'm still testing some things around ePubs, haven't tried non-ePub files yet) but the source is on Github at https://github.com/jgoguen/calibre-kobo-driver for anyone that wants to try it out. The usual disclaimers (at your own risk, your mileage may vary, back up your data before you start, not my fault if anything breaks or explodes or ignites or if Zerg start crawling out of your computer) all apply.Joel Goguenhttps://www.blogger.com/profile/13434017068926444091noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-11273062050695261542012-09-01T23:51:35.276-07:002012-09-01T23:51:35.276-07:00It's a Japan release that people are trying. F...It's a Japan release that people are trying. Forum reports are mixed but most have no problems. Clock is back and speed in epubs which I don't use now are improved. Still like to see, as you do, if adding to KoboReader.sqlite could be automated. Might try another forum post to see it it generates more interest?Michaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-9452960243349617812012-09-01T02:40:27.753-07:002012-09-01T02:40:27.753-07:00Thanks for the news. Didn't know they released...Thanks for the news. Didn't know they released a new version. Any improvements?Anonymoushttps://www.blogger.com/profile/12660293310913786395noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-51530636819722454202012-09-01T02:09:00.445-07:002012-09-01T02:09:00.445-07:00Hi Daniel
Downloaded 2.1.1 seems to work great wit...Hi Daniel<br />Downloaded 2.1.1 seems to work great with Kobofied books.<br />I am the same as you just keep books I am reading on my KT. If I want a lib keep it on PC.<br />Michaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-69670283267426333642012-08-14T07:11:34.887-07:002012-08-14T07:11:34.887-07:00I usually read one book at a time so it's not ...I usually read one book at a time so it's not difficult changing the font size on the device. I just strip out the font formatting from the epubs. Anonymoushttps://www.blogger.com/profile/12660293310913786395noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-27951333844863886742012-08-14T06:55:22.721-07:002012-08-14T06:55:22.721-07:00Hi Daniel hope the holiday was good.
Don't see...Hi Daniel hope the holiday was good.<br />Don't seem to notice any major problem in use except sleep mode first to remember position. A Kobofied epub is better in that making the bottom menu appear I see the little stripes indicating new chapter starts and how much of the book read by the thick black line from the left. Kobo books do not have this and I just read a Kobo book (purchased) which was in 5 parts with about 22 chapters in each, so really missed the little stripes in bottom menu to see how far I had read.<br />I'm interest too if automation can be improved but it seems very few are interested!<br />One change I make is to change "font-size: 1em;" to "font-size: 1.1em;" in stylesheet.css. I find that the font size is then the same as Kobo books and I can change between type without altering font size or marginsMichaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-32066445543747134412012-08-13T21:30:25.329-07:002012-08-13T21:30:25.329-07:00Hi Michael, sorry for the late reply, I've bee...Hi Michael, sorry for the late reply, I've been on holiday last week. I didn't find any obvious problems but this process is purely experimental as I don't know for sure what the actual difference between kepub and epub is. There is probably more to it but this seems to work for now. I'll let you know if I find any other tricks. What I'd be interested in is a way to automatize the cover step as it's quite tedious having to modify the database and restart the device when setting the covers. Anonymoushttps://www.blogger.com/profile/12660293310913786395noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-30816414283922316152012-08-08T04:42:51.380-07:002012-08-08T04:42:51.380-07:00Hi Daniel
As I said "Search & Replace&quo...Hi Daniel<br />As I said "Search & Replace" in calibre convert to remove a DIV etc from HTML's in one easy click. Some CSS margins can be wrong and this can be change on convert by removing with "Look and Feel".<br />Find to make sure it rememberer's where it is must goto sleep mode first. Although is set sleep 15mins off 60 or never works fine.<br />You said you are not sure about converting to Kepubs. Have you found some problems? Be interested.<br />Thanks MichaelMichaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-74062088441757216372012-08-05T11:30:35.398-07:002012-08-05T11:30:35.398-07:00Hi Daniel
Thanks for pointers and have had success...Hi Daniel<br />Thanks for pointers and have had success in using "Search & Replace" in calibre convert to remove a DIV etc from HTML's in one easy click.<br />Now with your jsx PS file I have the covers as well. Really please as my ebooks now work well. No really interested in Shelves as I read a book and the delete it.<br />Calibre works no problem with V 2. Just go the CalibrePreferences "dialog" look for the Advanced section at the bottom, then Plugins, expand the line that reads Device Interface Plugins, select Kobo Reader Device Interface and then Customize, and finally, on that screen select the option Attempt to support new... <br />In our libraries lend epubs so that where I hope to get my books from.<br />Thanks again and any tips you have come across I would be interested in as I don't think Kobo will do a lot with epubs as they wish to sell Kepubs.<br />MichaelMichaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-39540380898779054922012-08-01T05:07:01.279-07:002012-08-01T05:07:01.279-07:00I'll check this out, thanks for the suggestion...I'll check this out, thanks for the suggestionMaxhttps://www.blogger.com/profile/03999429296341936761noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-71856799644740785392012-08-01T04:43:06.540-07:002012-08-01T04:43:06.540-07:00Are you sure that the file containing the words yo...Are you sure that the file containing the words you are trying to highlight contains the kobo spans? I use highlights to mark spelling errors because it's quocker than adding an annotation and it's ok. This is actually the reason that led me to try and see what was the difference between epubs and kepubs. The only case in which highlight didn't work was when the kobo spans were not added. You could open the epub with sigil and take a quick look at each file inside to make sure all of them have the kobo spans addedAnonymoushttps://www.blogger.com/profile/12660293310913786395noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-32056208351688473142012-08-01T04:26:55.383-07:002012-08-01T04:26:55.383-07:00I'm just testing some koboified epub, I've...I'm just testing some koboified epub, I've found 2 thing that still doesn't works:<br />1) Text search inside the opened book doesn't work, it doesn't find anything<br />2) annotation works, but word/sentence highlighting doesn't (I can't add an annotation to highlighted sentence, when I try, the highlight simply vanish)Maxhttps://www.blogger.com/profile/03999429296341936761noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-34045294946925997732012-07-31T20:19:22.804-07:002012-07-31T20:19:22.804-07:00Hi Michael, I can't say for sure what is wrong...Hi Michael, I can't say for sure what is wrong with the files. You could open the epub in Sigil and have a look at how it's formated. What I can tell you is that the conversion only applies to <h> (h1, h2, h3 etc.) and <p> tags are are direct children of the <body> tag. So your files should look like <br /><body><br /><h1>title</h1><br /><p>text </p><br /><p>text </p><br /><p>text </p><br /></body><br /><br />If you have some other tags wrapping the body contents it won't work. Something like:<br /><body><br /><div><br /><h1>title</h1><br /><p>text </p><br /><p>text </p><br /><p>text </p><br /></div><br /></body><br />won't get transformed.<br /><br />About the .kepub renaming: for me it worked as I described it but it's probably better to use your method expecially if you use multiple devices as I think your method will only change the names of books uploaded to the kobo.<br /><br />About changing to kepub: I'm not sure about that. It does unlock some features and I like to have proper page numbers but there is probably more to kepub than those extra tags and recovering the covers is quite involved.<br /><br />I hope you find this usefulAnonymoushttps://www.blogger.com/profile/12660293310913786395noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-10295563305311329462012-07-31T16:00:28.088-07:002012-07-31T16:00:28.088-07:00Hi 1 epub I purchased from Amazon converted ok.
Lo...Hi 1 epub I purchased from Amazon converted ok.<br />Looked into another and found "eagerness in his step than the mere Lieutenant Aubrey would have shown./p<br />div class="calibre1">/div<br />div class="mbppagebreak" id="calibre_pb_1"/div<br />/div" for example.<br />Don't understand DIV tag any suggestions on what I can do?<br />Many thanks<br />Michael<br />ps had to remove <> as did not allow tagsMichaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-76911038751883311932012-07-31T13:25:03.162-07:002012-07-31T13:25:03.162-07:00maybe that the data in xhtml files inside your epu...maybe that the data in xhtml files inside your epub is wrappend inside DIV tag or something like that... in this case it wont workMaxhttps://www.blogger.com/profile/03999429296341936761noreply@blogger.comtag:blogger.com,1999:blog-3397491887017083415.post-1221386794288534102012-07-31T12:34:04.835-07:002012-07-31T12:34:04.835-07:00Hi dsandrei
Thanks so much for the uploaded my mod...Hi dsandrei<br />Thanks so much for the uploaded my modified Modify Epub.<br />Can not believe on 2 requests as it changes it to Kepub!<br />Perhaps too busy complaining about V2. I bought mine only 3 weeks ago so I am learning. Knew nothing about epubs. If it was VBA for Access I would be OK.<br />Just a bit of feed back and request for help.<br />1st found had to add .kepub to the "Configure the device" for it to work. As putting it in Preference>Output Options had no effect.<br />2nd download your zip file and used Preferences>Load Plugin from file. (I already had Modify Epub installed and did not remove it as I could not find it). Seemed to update as I now have "Add Kobo paragraph markers". Highlighted epub > tick "Add Kobo paragraph markers"> OK. Get calibre, version 0.8.61<br />ERROR: Modify ePub failed: No ePub files were updated<br /><br />Modify ePubs<br />Logfile for book ID 133 (Master and Commander / Patrick O'Brian)<br />133<br /> Modifying: C:\Users\Michael\AppData\Local\Temp\calibre_0.8.61_tmp_iq9uxm\uokqnn_modify_epub\133.epub<br /> Trying to add kobo page markers<br />ePub not changed after 0.99 seconds<br />Any thoughts on what I am doing wrong?<br />Many thanks for your hard work.<br />MichaelMichaelhttps://www.blogger.com/profile/00670505266383526092noreply@blogger.com