-
Notifications
You must be signed in to change notification settings - Fork 19
Minimal WPUB
BigBlueHat edited this page Jun 12, 2018
·
7 revisions
- Updated to reflect 2018-06-11 term agreements for
readingOrder
andresources
- Updated as of the 2018-05-31 infoset/manifest conversations...
<!DOCTYPE html>
<html>
<head>
<title>Entry Page title element MUST not be empty because HTML</title>
<script type="application/ld+json">
{
"@context": "...undefined...atm...",
"name": "Minimal-ish Web Publication with Reading Order",
"readingOrder": [
{"href": "a.html", "type": "text/html"},
"b.html",
"c.html"
],
"resources": ["font.woff"]
}
</script>
</html>
Earlier work by @dauwhe
As fodder for discussion, here's the code for a minimal WPUB. We haven't said anything about serialization other than it will be JSON, so that's just a guess. Note the HTML file is valid except for rel=publication
.
minimal
index.html
manifest.json
<!DOCTYPE html>
<html>
<head>
<title>.</title>
<link href=manifest.json rel=publication>
</head>
<body>
<p>Call me Ishmael.
</html>
{
"address": "www.example.com/minimal/",
"reading-order": [
"index.html"
],
"reading-progression": "ltr",
"resources": [
"index.html", "manifest.json"
]
}