Skip to content

w3c/web-annotation

Repository files navigation

Web-Annotation

Documents produced by the Web Annotation Working Group of the W3C.

Current in-progress drafts:

See also a paged view of the documents served in HTML.

If you are member of the interest group, and you wish to contribute to the content of this repo, please contact Ivan Herman ([email protected]), giving him your github login.

Editing and Building the Documents

Model

Only edit the most recent working draft, currently /model/wd2. Only edit index-nametemplate.html and then follow these steps to build the final HTML document:

  • Run python ./rename_names.py -- this adds the names to the use cases
  • Run python ./extract_egs.py -- this checks and extracts the examples
  • Load index-respec.html in a browser and use respec to save as HTML5
  • Move the resulting index.html into the directory
  • In the directory, git add -A *

The final files for publication are:

  • index.html
  • examples/
  • images/

Vocab

Only edit the most recent working draft, currently /vocab/wd. Only edit index-linktemplate.html and then follow these steps to build the final HTML document:

  • Run python ./make_links.py -- this makes all of the vocab terms into links
  • Run python ./extract_egs.py -- this checks and extracts the examples
  • Load index-respec.html in a browser and use respec to save as HTML5
  • Move the resulting index.html into the directory
  • In the directory, git add -A *

The final files for publication are:

  • index.html
  • examples/
  • images/

Protocol

Only edit the most recent working draft, currently /protocol/wd. Only edit index-respec.html and then follow these steps to build the final HTML document:

  • Load index-respec.html in a browser and use respec to save as HTML5
  • Move the resulting index.html into the directory
  • In the directory, git add -A *

The final files for publication are:

  • index.html

(There are no scripts associated with the protocol document)

Selector note

Only edit the most recent working draft, currently /selector-note. Only edit index-respec.html and then follow these steps to build the final HTML document:

  • Load index-respec.html in a browser and use respec to save as HTML5
  • Move the resulting index.html into the directory
  • In the directory, git add -A *

(There are no scripts associated with the Selector note)

About

Web Annotation Working Group repository, see README for links to specs

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 21

Languages