-
Notifications
You must be signed in to change notification settings - Fork 189
navigator.epubReadingSystem "readium build info" data structure #223
Description
Follow-up to: #222 - readium/readium-shared-js#104
A final decision needs to be made to approve / amend the proposed data structure in window.navigator.epubReadingSystem that contains information about the Readium build (date, versions, git hashes, etc.). Note that this is currently in the develop branch (as per the merged Pull Request, linked above).
EPUB3 specification:
http://www.idpf.org/epub/301/spec/epub-contentdocs.html#app-epubReadingSystem
Proposed extension (JSON example from current readium-js-viewer (cloud reader / chrome extension)):
"readium": {
"buildInfo": {
"dateTime": "Wed Oct 15 2014 16:42:30 GMT+0100 (BST)",
"version": "0.16.0",
"chromeVersion": "2.16.0",
"gitRepositories": [
{
"name": "readium-js-viewer",
"sha": "a1d290d2bf7dcb4fe824efcfacfe3ab302cd002d",
"tag": "0.16.0-12-g1ea7e16",
"clean": false,
"url": "https://github.com/readium/readium-js-viewer/tree/a1d290d2bf7dcb4fe824efcfacfe3ab302cd002d"
},
{
"name": "readium-js",
"sha": "9139f3aaa6c820b5a76a0affe3547de5c8364700",
"tag": "Release-0.10-370-gd84ea70",
"clean": true,
"url": "https://github.com/readium/readium-js/tree/9139f3aaa6c820b5a76a0affe3547de5c8364700"
},
{
"name": "readium-shared-js",
"sha": "473129b5755ec7caba21366eb84b71ebd8f334ae",
"tag": "Release-0.10-441-g473129b",
"clean": true,
"url": "https://github.com/readium/readium-shared-js/tree/473129b5755ec7caba21366eb84b71ebd8f334ae"
}
]
}
}
Screenshot of corresponding EPUB test (now shipped directly with the default e-books library):
Once the decision is made about the "readium" object format in window.navigator.epubReadingSystem, the same syntax will be adopted for native launcher apps (iOS, OSX, etc. .... although their build system does not extract git hashes just yet, that's a known TODO).
