Store and publish annotations on the web, as described in the Web Annotation Discovery proposal.

web-annotation-discovery-se.../views/ collection.hbs
38 lines
1.3 KiB

  1. <p class="small" style="margin-bottom: 3em;">
  2. <a class="plainlink" href="..">← Back to all collections of {{user}}</a>
  3. </p>
  4. <h1>Annotation collection “{{nicestName}}”</h1>
  5. <p>This collection contains {{}} annotations.</p>
  6. <details class="infobox">
  7. <summary>
  8. How to get these annotations in your browser?
  9. </summary>
  10. <h2>Subscribe this collection</h2>
  11. <p>With an annotation-capable browser (extension), you can view these annotations while you visit the pages they target.</p>
  12. <p>A collection is an annotation ‘feed’: Your browser should give you the option to import/subscribe to this collection, and then update it periodically.</p>
  13. <h2>Creating annotations</h2>
  14. <p>
  15. If this is your own collection, you can add and edit annotations from your annotation-capable browser.
  16. </p>
  17. <p>
  18. First, ‘subscribe’ to this collection in your browser. You can then choose to use this collection for storing any new annotations you make.
  19. </p>
  20. </details>
  21. <h2>Annotations in this collection</h2>
  22. {{#each annotations}}
  23. <div style="margin-bottom: 3em;">
  24. {{>annotation (annotationHbsParams this)}}
  25. </div>
  26. {{/each}}
  27. <details>
  28. <summary style="margin-top: 4em;" class='small'>View this collection as JSON</summary>
  29. <pre>{{json}}</pre>
  30. </details>