Mobi, the golden calf
March 3, 2010 4:23 PM Subscribe
How can I use ruby/shell scripts to edit a .mobi file for my Kindle?
I love Instapaper, and since getting a Kindle I've been using Instapaper's beta download-to-Kindle feature to get pages from the web and onto my Kindle. This works great, but on the Kindle's home screen every item from Instapaper looks like "Instapaper from March 3, 2010," and I'd prefer for these titles to be something more meaningful.
Does anyone know of an easy way to edit the titles of the .mobi files I can get from Instapaper? I've found that I can easily read the source of the files if I open them in a text editor, but if I edit the source the file becomes unreadable.
Is there a simple library out there (preferably in ruby) I can use to manipulate existing .mobi files?
I love Instapaper, and since getting a Kindle I've been using Instapaper's beta download-to-Kindle feature to get pages from the web and onto my Kindle. This works great, but on the Kindle's home screen every item from Instapaper looks like "Instapaper from March 3, 2010," and I'd prefer for these titles to be something more meaningful.
Does anyone know of an easy way to edit the titles of the .mobi files I can get from Instapaper? I've found that I can easily read the source of the files if I open them in a text editor, but if I edit the source the file becomes unreadable.
Is there a simple library out there (preferably in ruby) I can use to manipulate existing .mobi files?
It should be pretty easy to hack something together yourself. I'm a python kinda guy so l don't know much about ruby, but it should have some capacity to work with hex.
If so, you could look at the source of Calibre which is capable of writing mobi files (check their launchpad). The pita part is that mobi is not well documented on the web, but it's pretty clear how to write at what offsets in Calibre's source. MobileRead also had partial documentation on their wiki.
posted by i_am_a_Jedi at 4:56 AM on March 4, 2010
If so, you could look at the source of Calibre which is capable of writing mobi files (check their launchpad). The pita part is that mobi is not well documented on the web, but it's pretty clear how to write at what offsets in Calibre's source. MobileRead also had partial documentation on their wiki.
posted by i_am_a_Jedi at 4:56 AM on March 4, 2010
« Older Help me spend my hard earned | Well, yes, I am saying you aren't good at your job... Newer »
This thread is closed to new comments.
posted by Blazecock Pileon at 4:53 PM on March 3, 2010