Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Added json manifest script tag to html in examples and added new cont…
Browse files Browse the repository at this point in the history
…ext url to manifests in examples. (#136)
  • Loading branch information
aslagle committed Jun 2, 2017
1 parent b70f8fb commit ad6e221
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/alice/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="main.css">
<script type="application/ld+json" href="manifest.json"></script>
</head>
<body>
<div id="viewer">
Expand Down
2 changes: 1 addition & 1 deletion examples/alice/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "http://idpf.org/epub.jsonld",
"@context": "http://readium.org/webpub/default.jsonld",

"metadata": {
"@type": "http://schema.org/EBook",
Expand Down
1 change: 1 addition & 0 deletions examples/twenty/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="webapp.webmanifest" rel="manifest" type="application/manifest+json">
<link rel="apple-touch-icon" href="http://book-covers.nypl.org/scaled/300/Standard%20Ebooks/URI/https%3A//standardebooks.org/ebooks/jules-verne/twenty-thousand-leagues-under-the-seas/f-p-walter/cover.png" type="image/jpeg">
<link rel="stylesheet" href="../main.css">
<script type="application/ld+json" href="manifest.json"></script>
<script src="../require.js"></script>
<script src="../fetch.js"></script>
<script src="../url-polyfill.js"></script>
Expand Down
Loading

0 comments on commit ad6e221

Please sign in to comment.