Questions tagged [kindlegen]

kindlegen is a command-line tool used to create MOBI format books for the Amazon Kindle.

kindlegen is a command-line tool available from Amazon and is a tool for Windows, Mac, and Linux that can take in a variety of file formats (HTML, DOC, etc.) and create MOBI files, the file format used on the Amazon Kindle.

11 questions
5
votes
2 answers

Problems with internal links/anchors in MOBI output from Kindlegen

I've got a nicely structured EPUB file, and trying to generate a mobi file using KindleGen... The EPUB is filled with footnotes/annotations, which are internal links/anchors. All is well formatted, good HTML ... but the Kindlegen-created MOBI file…
Hugh McGuire
  • 59
  • 1
  • 5
2
votes
0 answers

Set an image at the bottom of kindle page in HTML for kindlegen

I'm currently designing a title page for a MOBI file and using kindlegen to do it. I'm trying to center an image at the bottom of the title page (a logo), but I'm having trouble doing it. The Kindle Publishing Guidelines specifically don't let me…
Waynn Lue
  • 11,344
  • 8
  • 51
  • 76
1
vote
1 answer

Image CSS not changing for iPad kindle from MOBI KindleGen

I'm writing an ebook in HTML and converting to MOBI with Kindlegen. I want to make sure the images never take up the whole page. However some images are doing just that. I've tried multiple CSS styles but nothing seems to change. I'm testing on…
Turnipdabeets
  • 5,815
  • 8
  • 40
  • 63
1
vote
1 answer

How do I make 'Custom Blocks' appear in .mobi version of a bookdown book?

I'm using bookdown to author a technical book. I've followed the format layed out in the bookdown book very closely and it looks good in epub, html, and pdf versions. I made heavy use of custom blocks to highlight specific kinds of information but…
sliptonic
  • 460
  • 3
  • 11
1
vote
0 answers

How to generate .mobi file with kindlegen detected as ebook instead of personal file?

I am trying to generate a .mobi file with kindlegen. kindlegen -c2 myEbook.opf -o myEbook.mobi I compile the ebook and the .mobi file is generated, but when I copy the file to my kindle device, it doesn't appear at the list of books. If I click in…
MouTio
  • 1,249
  • 23
  • 45
1
vote
1 answer

PHP: Read custom meta-data from converted .mobi file

So i made a tool in PHP that adds a custom meta-data to a .epub-file. After that i used the kindlegen-tool to convert my .epub to a .mobi. Now im looking for some code-snippets or samples to read my .mobi-file, in detail: I want to read my custom…
h00ligan
  • 414
  • 1
  • 5
  • 12
1
vote
2 answers

How to define a TOC in HTML for kindlegen to recognize

I convert a book which is written in DocBook into a single page HTML. The HTML contains a TOC:
Preface
wintermeyer
  • 8,178
  • 8
  • 39
  • 85
1
vote
1 answer

How to run KindleGen as a dll, not an exe?

Continuing from Create Kindle book programmatically using C#?, I've been in touch with my web host, and they will not allow exes to be run on my shared hosting package. I'm not in the position to get VPS, so does anyone have any idea if a dll…
Sam Delaney
  • 335
  • 3
  • 16
0
votes
1 answer

Executing external program(kindlegen) from PHP doesn't finish without any error

I'm creating mobi files generator using PHP and kindlegen program. I have: - kindlegen file in in the path /var/www/webook_disk/ - PHP script echo exec(./kindlegen /var/www/webook_disk/books_drafts/1234/book.opf -o 1234.mobi) book files in…
mario199
  • 366
  • 6
  • 16
0
votes
1 answer

How to generate .mobi file for Kindle that supports Kindle Reading Speed feature

I am generating a multi-chapter eBook for Kindle Fire by first generating a well-formed xhtml-based EPUB 3.0 format file and then converting the .epub file to .mobi w/ Kindle Previewer and/or kindlegen. The generated .mobi file transfers properly…
cjc
  • 1
  • 1
0
votes
0 answers

How does the SendToKindle work?

I'm been research on SendToKindle function, currently I'm using the Chrome SendToKindle Plugin. I want to implement this kind of function by using a web-service. From what I see, the "SendToKindle" is analyzing the webpage by send the page to the…
CharlesC
  • 1,310
  • 14
  • 26