diff --git a/images/clean_up_data.png b/images/clean_up_data.png index b28eb62..4e7db7f 100644 Binary files a/images/clean_up_data.png and b/images/clean_up_data.png differ diff --git a/images/clean_up_data.svg b/images/clean_up_data.svg index e62a053..e95e26e 100644 --- a/images/clean_up_data.svg +++ b/images/clean_up_data.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/index.html b/index.html index a255ed6..4fbc50e 100644 --- a/index.html +++ b/index.html @@ -61,9 +61,9 @@

This specification defines a collection of information that describes the structure of Web Publications - so that user agents can provide user experiences tailored to reading publications, such as sequential - navigation and offline reading. This information includes the default reading order, a list of - resources, and publication-wide metadata.

+ so that user agents can provide user experiences specially tailored to reading publications, such as + sequential navigation and offline reading. This information includes the default reading order, a list + of resources, and publication-wide metadata.

This draft provides a draft version of a Web Publication. Many details are under active consideration @@ -74,6 +74,11 @@ href="#wp-properties">, which include the definition of a manifest making use of terms in schema.org, as well as the Lifecycle and WebIDL sections.

+ +

Significant to this draft is the removal of the Information Set (infoset) — the final data + model produced from the processing of manifest properties. This draft instead relies on the canonical manifest to express this model, as it already encompasses + the final JSON-compliant data set that user agents are expected to produce.

Introduction

@@ -100,8 +105,8 @@

What is a Web Publication

-

Flowchart depicts the resources of a Web Publication, their attachment to - a manifest, and its relationship to the infoset.

+

Flowchart depicts the resources of a Web Publication and their attachment + to a manifest.

Simplified Diagram of the Structure of Web Publications.
A description of the structure diagram is available in the @@ -216,82 +221,100 @@

Conformance Classes

criteria:

Web Publication Construction

-
-

Infoset and Manifest

- -

A Web Publication is defined by a set of items known as its information - set (infoset). The infoset is both abstract and concrete. It is abstract in the sense that it represents a - set of information that a user agent has to compile about the Web Publication, but it also becomes - concrete when the user agent creates an internal representation of that information.

- -

A manifest, on the other hand, is a serialization of an infoset created by the author of a Web Publication. The manifest is - expressed using the JSON-LD [[json-ld]] format — a variant of JSON [[ecma-404]] for - expressing linked data. The manifest can be created as a standalone resource or it can be embedded - within an HTML document.

- -

Although the infoset is primarily compiled from a Web - Publication's manifest, some information is obtained outside the manifest. The table of - contents, for example, may be referenced from the manifest but is serialized in an HTML - document.

- -

This specification describes the requirements for creating both the infoset and manifest. This - section, in particular, details how to create a manifest, and the next - lists the various properties common to infosets and manifests.

-
+
+

Manifest

+ +
+

Authored and Canonical Manifests

+ +

A Web Publication is described by its manifest, which provides a set of properties + expressed using the JSON-LD [[json-ld]] format (a variant of JSON [[ecma-404]] for + linked data).

+ +

The manifest is expressed in one of two forms depending on the state of the Web Publication:

+ +
+
Authored Manifest
+
+

The Authored Web Publication Manifest, as its name suggests, is the serialization of the + manifest that the author provides with the Web Publication (note that the author does + not have to be human).

+
+ +
Canonical + Manifest
+
+

The Canonical Web Publication Manifest is a version of the Web Publication + Manifest created by user agents when they obtain the authored manifest and remove all possible ambiguities and + incorporate any missing values that can be inferred from another source.

+
+
+ +

It is possible that an authored manifest is the equivalent of the canonical manifest if there are + no ambiguities or missing information, but a canonical manifest only exists after a user agent + has inspected the authored manifest as part of the process of obtaining it.

+ +

This specification describes the requirements for creating both authored and canonical manifests. + This section, in particular, details how to create the authored manifest, while provides the various property definitions. These definitions + include the rules user agents uses to supplement the canonical manifest. The algorithm for + transforming an Authored Manifest into a Canonical Manifest is described in the + separate section .

+ +
-
-

WebIDL

+
+

WebIDL

-
-

Explanation

+
+
Explanation
-

Although a Web Publication manifest is authored as [[json-ld]], user agents process this - information into an internal data structure representing the infoset in order to utilize - the properties. The exact manner in which this processing occurs, and how the data is used - internally, is user agent-dependent.

+

Although a Web Publication manifest is authored as [[json-ld]], a user agent processes this + information into an internal data structure in order to utilize the properties. The exact + manner in which this processing occurs, and how the data is used internally, is user + agent-dependent.

-

To ensure interoperability when exposing the infoset items, this specification defines an - abstract representation of the data structures using the Web Interface Definition Language - (WebIDL) [[webidl-1]] which expresses the expected name, datatype, and possible restrictions for - each member of the manifest expressed in the infoset. (A WebIDL representation can be mapped - onto ECMAScript, C, or other programming languages.)

-
+

To ensure interoperability when exposing the items, this specification defines an abstract + representation of the data structures using the Web Interface Definition Language (WebIDL) + [[webidl-1]]. The WebIDL definitions express the expected names, datatypes, and possible + restrictions for each member of the manifest. (A WebIDL representation can be mapped onto + ECMAScript, C, or other programming languages.)

+ +

Authors of Web Publications are encouraged to review these definitions, but they + are not necessary to understand.

+
-
-

The WebPublicationManifest Dictionary

+
+
The WebPublicationManifest Dictionary
-
+						
 dictionary WebPublicationManifest {
 	
 };
-

The WebPublicationManifest dictionary is the [[!webidl-1]] representation of the - collection of Web Publication manifest properties. WebIDL definitions are also included at the - beginning of each property that belongs to the dictionary — these represent the members of - the WebPublicationManifest dictionary.

+

The WebPublicationManifest dictionary is the [[!webidl-1]] representation of the + collection of Web Publication manifest properties. WebIDL definitions are also provided at + the end of each property that belongs to the dictionary — these represent the members + of the WebPublicationManifest dictionary.

-

Refer to for a complete listing of the - WebPublicationManifest dictionary.

+

Refer to for a complete listing of the + WebPublicationManifest dictionary.

+
-
- -
-

Creating a Manifest

Manifest Contexts

-

A Web Publication Manifest MUST start by setting the JSON-LD context [[!json-ld]]. The context +

A Web Publication Manifest MUST start by setting the JSON-LD context [[!json-ld]]. The context has the following two major components:

    @@ -306,11 +329,10 @@

    Manifest Contexts

    } -

    The Web Publication context file MAY add features to the properties defined in Schema.org (e.g., +

    The Web Publication context document adds features to the properties defined in Schema.org (e.g., the requirement for the creator property to be order preserving).

    -

    As part of the continuous contacts with Schema.org the additional features defined in the Web Publication context file could migrate to the core Schema.org vocabulary.

    @@ -318,7 +340,6 @@

    Manifest Contexts

    href="https://schema.org/docs/faq.html#19">the vocabulary is being migrated to use the secure https scheme as its default. This specification requires the use https when referencing Schema.org in the manifest.

    -
@@ -328,8 +349,8 @@

Values

Arrays and Single Values

Various manifest properties can have one or more values. As a general rule, these values can - be expressed as [[!json]]  arrays. When the property value is an array with a single - element, however, the array syntax can be omitted.

+ be expressed as [[!json]] arrays. When the property value is an array with a single + element, however, the array syntax MAY be omitted.

@@ -2557,37 +2433,29 @@

Accessibility Report

An accessibility report is identified using the https://www.w3.org/ns/wp#accessibility-report link relationship.

-
-
Infoset Requirements
- -

The infoset SHOULD include a link to an - accessibility report when one is available for a Web Publication. It is RECOMMENDED that the - report be included as a resource of the Web Publication.

- -

It is also RECOMMENDED that the accessibility report be provided in a human-readable format, - such as HTML [[html]]. Augmenting these - reports with machine-processable metadata, such as provided in Schema.org [[schema.org]], is - also RECOMMENDED.

-
+

The manifest SHOULD include a link to an accessibility report when one is available for a Web + Publication. It is RECOMMENDED that the report be included as a resource of the Web + Publication.

-
-
Manifest Expression
+

It is also RECOMMENDED that the accessibility report be provided in a human-readable format, such + as [[!html]]. Augmenting these reports with machine-processable metadata, such as provided in + Schema.org [[!schema.org]], is also RECOMMENDED.

-

If present in the manifest, the accessibility report MUST be expressed as - a PublicationLink. The rel - value of the PublicationLink MUST include - the https://www.w3.org/ns/wp#accessibility-report identifier.

+

If present in the manifest, the accessibility report MUST be expressed as a + PublicationLink. The rel value + of the PublicationLink MUST include the + https://www.w3.org/ns/wp#accessibility-report identifier.

-

The Working Group will attempt to define the accessibility-report - term with IANA, to avoid using a URL.

+

The Working Group will attempt to define the accessibility-report + term with IANA, to avoid using a URL.

-
+					
 partial dictionary WebPublicationManifest {
     PublicationLink accessibilityReport;
 };
-
+					
 {
     "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"       : "Book",
@@ -2604,7 +2472,6 @@ 
Manifest Expression
… }
-
@@ -2618,35 +2485,27 @@

Privacy Policy

A privacy policy is identified using the privacy-policy link relationship.

-
-
Infoset Requirements
- -

A link to a privacy policy can be included in the infoset. It is RECOMMENDED that the privacy policy be included as a - resource of the Web Publication.

- -

It is RECOMMENDED that the privacy policy be provided in a human-readable format, such as - HTML [[html]].

+

A link to a privacy policy can be included in the manifest. It is RECOMMENDED that the privacy + policy be included as a resource of the Web Publication.

-

Refer to for more information about privacy considerations in Web - Publications.

-
+

It is RECOMMENDED that the privacy policy be provided in a human-readable format, such as HTML [[html]].

-
-

Manifest Expression

+

Refer to for more information about privacy considerations in Web + Publications.

-

If present in the manifest, the privacy policy MUST be expressed as a PublicationLink. The rel - value of the PublicationLink MUST include - the privacy-policy identifier [[!iana-link-relations]].

+

If present in the manifest, the privacy policy MUST be expressed as a PublicationLink. The rel value of + the PublicationLink MUST include the + privacy-policy identifier [[!iana-link-relations]].

-
+					
 partial dictionary WebPublicationManifest {
     PublicationLink privacyPolicy;
 };
-
+					
 {
     "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"       : "TechArticle",
@@ -2665,7 +2524,6 @@ 

Manifest Expression

… }
-
@@ -2676,49 +2534,42 @@

Structural Properties

Cover

The cover is a resource that user agents can use to present the Web Publication - (e.g., in a library or bookshelf, or when initially loading the Web Publication). It is - identified by the https://www.w3.org/ns/wp#cover link relationship.

+ (e.g., in a library or bookshelf, or when initially loading the Web Publication).

+ +

The cover is identified by the https://www.w3.org/ns/wp#cover link relationship.

The working group has not reached consensus on whether the cover should be any resource or should be limited to images.

-
-
Infoset Requirements
+

The manfiest SHOULD include a reference to a cover.

-

The infoset SHOULD include a reference to a - cover.

+

More than one cover MAY be referenced from the manifest (e.g., to provide alternative formats and + sizes for different device screens). If multiple covers are specified, each instance MUST define + at least one unique property to allow user agents to determine its usability (e.g., a different + format, height, width or relationship).

-

More than one cover MAY be referenced from the infoset (e.g., to provide alternative formats - and sizes for different device screens). If multiple covers are specified, each instance - MUST define at least one unique property to allow user agents to determine its usability - (e.g., a different format, height, width or relationship).

-
- -
-
Manifest Expression
- -

If present in the manifest, the cover MUST be expressed as a PublicationLink. The URL expressed in the - url term MUST NOT include a fragment identifier.

+

If present in the manifest, the cover MUST be expressed as a PublicationLink. The URL expressed in the url term MUST + NOT include a fragment identifier.

-

The rel value of the PublicationLink MUST include the - https://www.w3.org/ns/wp#cover identifier.

+

The rel value of the PublicationLink MUST include the + https://www.w3.org/ns/wp#cover identifier.

-

If the cover is in an image format, a title and description SHOULD - be provided. User agents can use these properties to provide alternative text and - descriptions when necessary for accessibility.

+

If the cover is in an image format, a title and description SHOULD be + provided. User agents can use these properties to provide alternative text and descriptions when + necessary for accessibility.

-

The Working Group will attempt to define the cover term by IANA, - to avoid using a URL.

+

The Working Group will attempt to define the cover term by IANA, to + avoid using a URL.

-
+					
 partial dictionary WebPublicationManifest {
     sequence<PublicationLink> cover;
 };
-
+					
 {
     "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"       : "Book",
@@ -2737,7 +2588,7 @@ 
Manifest Expression
}
-
+					
 {
     "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"       : "Book",
@@ -2758,7 +2609,7 @@ 
Manifest Expression
}
-
+					
 {
     "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"       : "Book",
@@ -2781,72 +2632,64 @@ 
Manifest Expression
… }
-

Page List

The pagelist property identifies the resource that contains the Web Publication's page list. It is identified by the - https://www.w3.org/ns/wp#pagelist link relationship.

- -
-
Infoset Requirements
- -

User agents MUST compute the pagelist as follows:

+ href="#wp-pagelist">page list.

-
    -
  1. Identify the page list resource: -
  2. -
  3. If the page list resource contains an HTML element with the - role [[!html]] value - doc-pagelist [[!dpub-aria-1.0]], the user agent MUST use that element - as the page list. If there are several such HTML elements the user agent MUST use the - first in document tree - order [[!dom]].
  4. -
+

The page list is identified by the https://www.w3.org/ns/wp#pagelist link + relationship.

-

If this process does not result in a link to the page list, the Web Publication does not have - a page list and this property MUST NOT be included in the infoset.

+

User agents MUST compute the pagelist as follows:

-

The Working Group will attempt to define the pagelist term by - IANA, to avoid using a URL.

+
    +
  1. Identify the page list resource: +
  2. +
  3. If the page list resource contains an HTML element with the + role [[!html]] value doc-pagelist [[!dpub-aria-1.0]], + the user agent MUST use that element as the page list. If there are several such HTML + elements the user agent MUST use the first in document tree + order [[!dom]].
  4. +
-
+

If this process does not result in a link to the page list, the Web Publication does not have a + page list and this property MUST NOT be included in the canonical manifest.

-
-
Manifest Expression
+

The Working Group will attempt to define the pagelist term by IANA, + to avoid using a URL.

-

If present in the manifest, the page list MUST be expressed as a PublicationLink. The URL expressed in the - url term MUST NOT include a fragment identifier.

+

If present in the manifest, the page list MUST be expressed as a PublicationLink. The URL expressed in the + url term MUST NOT include a fragment identifier.

-

The rel value of the PublicationLink MUST include the - https://www.w3.org/ns/wp#pagelist identifier.

+

The rel value of the PublicationLink MUST include the + https://www.w3.org/ns/wp#pagelist identifier.

-

The link to the page list MAY be specified in either the default reading order or resource-list, but MUST NOT - be specified in both.

+

The link to the page list MAY be specified in either the default + reading order or resource-list, but MUST NOT be specified + in both.

-
+					
 partial dictionary WebPublicationManifest {
     HTMLElement pagelist;
 };
-
+					
 {
 "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
 "type"       : "Book",
@@ -2863,74 +2706,66 @@ 
Manifest Expression
… }
-

Table of Contents

The table of contents property identifies the resource that contains the Web Publication's table of contents. It is identified by the - contents link relationship.

+ href="#wp-table-of-contents">table of contents.

-
-
Infoset Requirements
+

The table of contents is identified by the contents link relationship.

-

User agents MUST compute the toc as follows:

- -
    -
  1. Identify the table of contents resource: -
  2. -
  3. If the table of contents resource contains an HTML element with the - role [[!html]] value doc-toc [[!dpub-aria-1.0]], the - user agent MUST use that element as the table of contents. If there are several such - HTML elements the user agent MUST use the first in document tree - order [[!dom]].
  4. -
+

User agents MUST compute the toc as follows:

-

If this process does not result in a link to the table of contents, the Web Publication does - not have a table of contents and this property MUST NOT be included in the infoset.

+
    +
  1. Identify the table of contents resource: +
  2. +
  3. If the table of contents resource contains an HTML element with the + role [[!html]] value doc-toc [[!dpub-aria-1.0]], the + user agent MUST use that element as the table of contents. If there are several such HTML + elements the user agent MUST use the first in document tree + order [[!dom]].
  4. +
-

Depending on the resolution to this issue, the infoset might - contain a separate entry for a machine-processable table of contents, restrictions could be - placed on the HTML structure of the referenced table of contents, or parsing rules for - extracting a table of contents could be added.

-
+

If this process does not result in a link to the table of contents, the Web Publication does not + have a table of contents and this property MUST NOT be included in the canonical manifest.

-
-
Manifest Expression
+

Depending on the resolution to this issue, the manifest might + contain a separate entry for a machine-processable table of contents, restrictions could be + placed on the HTML structure of the referenced table of contents, or parsing rules for + extracting a table of contents could be added.

-

If present in the manifest, the table of contents MUST be expressed as a PublicationLink. The URL expressed in the - url term MUST NOT include a fragment identifier.

+

If present in the manifest, the table of contents MUST be expressed as a PublicationLink. The URL expressed in the url term MUST + NOT include a fragment identifier.

-

The rel value of the PublicationLink MUST include the contents - identifier [[!iana-link-relations]].

+

The rel value of the PublicationLink MUST include the contents + identifier [[!iana-link-relations]].

-

The link to the table of contents MAY be specified in either the default reading order or resource-list, but MUST NOT be specified in both.

+

The link to the table of contents MAY be specified in either the default reading order or resource-list, but MUST NOT be + specified in both.

-
+					
 partial dictionary WebPublicationManifest {
     HTMLElement toc;
 };
-
+					
 {
     "@context"   : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"       : "Book",
@@ -2948,7 +2783,7 @@ 
Manifest Expression
}
-
+					
 <head>
     …
     <script type="application/ld+json">
@@ -2971,16 +2806,14 @@ 
Manifest Expression
… </body>
-

Extensibility

-

The infoset is designed to provide a basic set of - properties for use by user agents in presenting and rendering a Web Publication, but MAY be - extended in the following ways:

+

The manifest is designed to provide a basic set of properties for use by user agents in presenting + and rendering a Web Publication, but MAY be extended in the following ways:

  1. by the provision of linked metadata records.
  2. @@ -2988,10 +2821,10 @@

    Extensibility

    the manifest;
-

Although both methods are valid, the use of linked records to extend the infoset is RECOMMENDED.

+

Although both methods are valid, the use of linked records is RECOMMENDED.

This specification does not define how such additional properties are compiled, stored or exposed by - user agents in their internal representation of the infoset. A user agent MAY ignore some or all + user agents in their internal representation of the manifest. A user agent MAY ignore some or all extended properties.

@@ -3010,7 +2843,7 @@
Linked records

Linked records MUST be included in the resource list when they are - part of the Web Publication (i.e., are needed for more than just infoset extensibility). + part of the Web Publication (i.e., are needed for more than just manifest extensibility). Otherwise, they MUST be included in the links list.

@@ -3033,7 +2866,7 @@ 
Linked records

The application/onix+xml MIME type has not yet been registered by IANA at the time of writing this document, and is included in the example for illustrative - purposes only.

+ purposes only.

@@ -3073,7 +2906,7 @@
Additional Properties in the Manifest
of [[schema.org]]. This means that it is not necessary to add the prefix explicitly. The same is true for a number of other public vocabularies; see the schema.org context file for further - details.

+ details.

@@ -3082,16 +2915,16 @@
Additional Properties in the Manifest

Web Publication Lifecycle

See the diagrams in the appendix for a visual - representation of the lifecycle algorithm.

+ representation of the lifecycle algorithm.

Obtaining a manifest

-

The steps for - obtaining a manifest, starting from the primary entry page, are given by the - following algorithm. The algorithm, if successful, returns a processed manifest; otherwise, - it terminates prematurely and returns nothing. In the case of nothing being returned, the user agent - MUST ignore the manifest declaration.

+

The steps for obtaining + a manifest, starting from the primary entry page, are given by the following + algorithm. The algorithm, if successful, returns a processed manifest; otherwise, it + terminates prematurely and returns nothing. In the case of nothing being returned, the user agent + MUST ignore the manifest declaration.

  1. From the Document of the top-level browsing context of the primary entry @@ -3169,24 +3002,14 @@

    Obtaining a manifest

The algorithm does not describes how error and warning messages should be reported. - This is implementation dependent.

+ This is implementation dependent.

Generating a Canonical Manifest

-

A Canonical Web Publication - Manifest (or Canonical Manifest) is a version of the Web Publication Manifest where - all possible ambiguities on property values (see, e.g., or - ) have been removed, and all values that are possibly - harnessed from the primary entry page are incorporated. Using a Canonical Manifest when processing the manifest makes those processing steps, as well as - the transformation of the manifest to programming language structures, clearer. Converting the - Manifest into its canonical form is done when the manifest is obtained.

- -

The steps to convert a Web Publication Manifest into a Canonical Manifest are given by the following +

The steps to convert a Web Publication Manifest into a Canonical Manifest are given by the following algorithm. The algorithm takes the following arguments:

-

The steps of the algorithm are described below. As an abuse of notation, P["term"] refers +

The steps of the algorithm are described below. As an abuse of notation, P["term"] refers to the value in the object P for the label "term", where P is either manifest, or an object appearing within manifest (e.g., a Person). The algorithm replaces or adds some terms to manifest; the - replacement terms are expressed in JSON syntax as {"term":"value"}.

+ replacement terms are expressed in JSON syntax as {"term":"value"}.

  1. let lang string represent the default language, set to:
    • the value of the Generating a Canonical Manifest

      See the diagram in the appendix for a visual representation of the algorithm. Also, to help understanding the result of the algorithm, there is a link to the corresponding canonical manifests for all the examples in .

      + href="#app-manifest-examples">.

      Some open issues, either in this working group or in the JSON-LD Working Group may modify some of the details above. These are:
        @@ -3319,12 +3142,12 @@

        Generating a Canonical Manifest

        Processing the manifest

        -

        The steps for processing a +

        The steps for processing a manifest are given by the following algorithm. The algorithm takes a json object representing a canonical manifest. The output from inputting a JSON object into this algorithm is a processed manifest. The goal of the algorithm is to ensure that the data represented in json abides to the minimal requirements on the data, removing, if - applicable, non-conformant data.

        + applicable, non-conformant data.

        1. Let manifest object be the result of Processing the manifest
        2. Return manifest object.
        -

User Agent Features

@@ -3385,10 +3207,9 @@

Switch to publication mode

This feature has the following requirements:

    -
  1. it MUST inform the user that the current resource is part of a Web Publication
  2. -
  3. it SHOULD display the title of the Web Publication
  4. -
  5. it MAY display additional metadata from the infoset
  6. +
  7. It MUST inform the user that the current resource is part of a Web Publication.
  8. +
  9. It SHOULD display the title of the Web Publication.
  10. +
  11. It MAY display additional metadata from the manifest.

Publication mode is a display mode implemented by the user agent that follows the @@ -3597,21 +3418,21 @@

Table of Contents

Short description
-

The user agent should provide access to the table of contents without leaving current - resource from anywhere in the publication.

-

For accessibility reasons, it is RECOMMENDED for User Agents to use a table of contents to - allow multiple ways for users to access content.

+

The user agent should provide access to the table of contents without leaving current + resource from anywhere in the publication.

+

For accessibility reasons, it is RECOMMENDED for User Agents to use a table of contents to + allow multiple ways for users to access content.

Affordances
-

The table of contents is a listed as a structural property in the infoset, see The table of contents is a listed as a structural property in the manifest, see

-

The table of content is referred to in the Web Publication Manifest (see ) and is expressed using an HTML element; see for further details.

-

User agents MAY use the default reading order in the case a Table of Contents is not - explicitly specified to create a table of contents.

+

The table of content is referred to in the Web Publication Manifest (see ) and is expressed using an HTML element; see for further details.

+

User agents MAY use the default reading order in the case a Table of Contents is not + explicitly specified to create a table of contents.

Use Case References
@@ -3650,35 +3471,35 @@

Reading State

Short description
-

The user must be able to leave the Web Publication and return to it at the last position they +

The user must be able to leave the Web Publication and return to it at the last position they left from. The User Agent must retain the reading position, based on the last known position of the reader in the web publication. The position should be based on the reader's position in the - file, within the reading order.

-

The user agent may retain reading state if the web publication is revised.

+ file, within the reading order.

+

The user agent may retain reading state if the web publication is revised.

Affordances
-

The navigation of the web publication should be defined in the Default Reading Order - required by the Information Set.

-

User Agents should not have to set the reading state in the following type of resources:

+

The navigation of the web publication should be defined in the required Default Reading + Order.

+

User Agents should not have to set the reading state in the following type of resources:

  • External Links (i.e. a link to google.com)
  • Data references (i.e. a linked CSV file)
  • Multimedia content (i.e. a video)
-

Reading state should only apply to content documents listed as being within the bounds of the - Web Publication.

+

Reading state should only apply to content documents listed as being within the bounds of the Web + Publication.

Examples
-

Example 1:
Sarah is reading a long article on her way to work. She arrives before she has +

Example 1:
Sarah is reading a long article on her way to work. She arrives before she has finished, but wants to continue from the place she left off. The user agent should remember her - reading state for the next time she opens the publication.

+ reading state for the next time she opens the publication.

Testing
-

If a tester opens a web publication in a WP-aware UA, moves ahead in the publication, closes the - reader, then reopens it, they should be returned to the last known reading state.

+

If a tester opens a web publication in a WP-aware UA, moves ahead in the publication, closes the + reader, then reopens it, they should be returned to the last known reading state.

@@ -3687,7 +3508,7 @@

Web Publication Locators

The document referred from this section, i.e., Web Annotation Extensions for Web Publications [[wpub-ann]], has been recently renamed. Its previous was "Locators for Web - Publication". The terminology used in this section has to be realigned with the name change.

+ Publication". The terminology used in this section has to be realigned with the name change.

Locators are used to identify, locate, retrieve, and/or reference locations and content fragments within Web Publications (e.g., for address(es), bookmarks, and annotations). Locators traditionally @@ -3729,15 +3550,14 @@

Web Publication Locators

way to identify and reference a location within a Web Publication (i.e., as distinct from identifying and referencing a content fragment consisting of a span of characters or bytes). A Web Publication Locator can be used to identify, retrieve and/or reference a fragment of a Web Publication that spans - multiple resources.

+ multiple resources.

In composing a Web Publication Locator, use the canonical identifier of the Web Publication in preference to any alternative addresses. Such use facilitates the collation of Web Publication Locators associated with a particular Web Publication. URLs of Web Publication resources appearing in a Web Publication Locator should match - the URL of the resource provided in the infoset.

+ the URL of the resource provided in the manifest.

@@ -3934,19 +3754,18 @@

Cleaning up the data

Image Descriptions

-
Description for the “Structure of Web Publications” +
Description for the "Structure of Web Publications" diagram:
A simplified diagram of the structure of a Web Publication. The Web Publication is broken down into two elements. The first element is the actual contents (all the real things listed in the - manifest). This element is broken down into the CSS, the actual “things” such as the HTML documents, audio, etc, and the images, fonts etc. - The actual “things” have an additional subset of items that includes the entry page to the + The actual "things" have an additional subset of items that includes the entry page to the publication and all of the other documents. The second element is the Manifest (JSON). The manifest - is used to generate the Information Set (“Infoset”), which - consists of a list of all the “things” in the publication, the publication metadata, and the default - reading order of content. It is noted in the diagram that the entry page has to link to the - manifest. (Return to the diagram of Web - Publication.)
+ is used to generate the canonical manifest, which consists of a list of all the "things" in the + publication, the publication metadata, and the default reading order of content. It is noted in the + diagram that the entry page has to link to the manifest. (Return to the diagram of Web Publication.)
diff --git a/snapshot/images/clean_up_data.png b/snapshot/images/clean_up_data.png index b28eb62..4e7db7f 100644 Binary files a/snapshot/images/clean_up_data.png and b/snapshot/images/clean_up_data.png differ diff --git a/snapshot/images/clean_up_data.svg b/snapshot/images/clean_up_data.svg index e62a053..e95e26e 100644 --- a/snapshot/images/clean_up_data.svg +++ b/snapshot/images/clean_up_data.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file