This repository has been archived by the owner on Mar 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 378
Newsstand shelf JSON
Simbul edited this page Nov 1, 2012
·
13 revisions
To use Newsstand and download books in Baker 4.0 you need to put a JSON file on your server containing the list of the issues you want to make available.
The JSON file URL is specified in Constants.h
in the constant NEWSSTAND_MANIFEST_URL
.
The format of the JSON is as follows:
[
{
"name": "a-study-in-scarlet",
"title": "A Study in Scarlet",
"info": "The original masterpiece by Sir A. Conan Doyle",
"date": "1887-10-10 10:10:10",
"cover": "http://bakerframework.com/newsstand-books/a-study-in-scarlet.png",
"url": "http://bakerframework.com/newsstand-books/a-study-in-scarlet.hpub"
},
{
"name": "a-study-in-green",
"title": "A Study in Green",
"info": "An exciting remake of the original, with added mint!",
"date": "2010-10-10 10:10:10",
"cover": "http://bakerframework.com/newsstand-books/a-study-in-green.png",
"url": "http://bakerframework.com/newsstand-books/a-study-in-green.hpub"
},
...
]
Note that, when Newsstand is enabled, Baker will not display any of the bundled books. In fact, you can delete the books
folder from the Xcode project entirely.