View Single Post
Old 08-12-2014, 02:15 AM   #17
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Since jshon actually parses the elements of the json, this means handily enough, that it is automatically safe for multi-format books. (We couldn't return anything without making sure it is only one element in the array.) So that gets rid of Kovid's concern in post #12, yay!

However, I have no idea what you will end up using as the base input. I just defaulted to using whatever's first in the list. I have no idea how calibre lists them -- hopefully by your configured preferred input order?

Last edited by eschwartz; 08-12-2014 at 02:17 AM.
eschwartz is offline   Reply With Quote