-
Notifications
You must be signed in to change notification settings - Fork 19
Minimal WPUB
Dave Cramer edited this page May 8, 2018
·
7 revisions
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"
]
}