Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kindle periodical format

Not much can be found on the subject of creating eBooks in kindle/mobipocket. Much less is to be found about periodical format - i.e. the format in which Newspapers are published on Amazon. Yet the instapaper.com can do that and now are local www.idnes.cz do that also. How the hack can they do that?

(Periodical format of azw. is probably some extenstion of mobipocket format - but I'm looking for exact way to create such publication - with sections and articles exactly as for example The New York Times have)

like image 485
Hurda Avatar asked Mar 21 '11 15:03

Hurda


People also ask

Can Kindle be used to read newspapers?

Regional and national digital newspapers available through the Kindle reading app on Fire tablets, Android and iOS devices. Select 'try free for 14 days' to begin.

How do I read Kindle magazines?

Click on the "Read for Free" button on Kindle magazine pages on the iOS and Android reader apps, Amazon shopping app for Android, Fire tablets and/or your browser on desktop, Android or iOS device to download your chosen magazine and start reading.

Can I read magazines on Kindle Fire?

You can start a subscription to a newspaper or magazine on your Kindle Fire through the Newsstand store. With your device connected wirelessly, tap Newsstand on the home screen, then Store. You can also search for subscription content in the Kindle Store at Amazon.com.


1 Answers

I have been struggling with this as well - I hope someone else will come along to explain everything! I've been generating a daily edition of the Guardian for the Kindle, and haven't found any documentation about how to do this properly as a periodical.

However, I'll explain what I understand about this so far - we can now generate files that work on the Kindle as periodicals using kindlegen from a .opf and .ncx file. However, the results aren't quite perfect yet, namely in that I don't know how to add a masthead to the sections and articles page. Update: thanks to the tip from Marco in the comments, this works now, at least with Kindlegen 1.1 - later versions may not work. I've updated the example files below to include a masthead image.

  • Documentation for the .opf and .ncx files can be found here but these only explain how to generate books, not periodicals.

  • Presumably you can get documentation from Amazon via registering with them to publish a newspaper, but that has to be approved by them, and in my case in my case I don't meet the terms and conditions. (While I'm allowed to use the data from the Guardian API, I don't own it.)

  • Calibre generates documents in periodical format, but by directly generating the .mobi / .azw file rather than going through a .opf and .ncx. I believe that was done by reverse engineering the binary format. Calibre is open source, so you could use that code to generate a periodical.

  • There is a hint in the Calibre source code that your top level navPoint should have class="periodical" and indeed that seems to cause kindlegen to make a book that's presented as a periodical.

  • As well as discovering that previous breakthrough, oldmanuk worked out how to get the author names and summaries into the article list, which boils down to adding these elements under each article's navPoint:

          <mbp:meta name="description">A summary of this article here</mbp:meta>       <mbp:meta name="author">The list of authors here</mbp:meta> 

In case this is of use, I've put a pair of example files here:

  • An example .opf file
  • An example .ncx file
  • Update: someone also requested the corresponding contents.html file

... and the source code for the project is here:

  • https://github.com/mhl/guardian-for-kindle
like image 72
Mark Longair Avatar answered Nov 25 '22 12:11

Mark Longair