Annotating episodes: Difference between revisions

From The Portal Wiki
No edit summary
(/* Format *\)
Line 8: Line 8:


<code>
<code>
&lt;div data-type="<span style="background: #ff9d9d;">resource</span>" data-timestamp="<span style="background: #aaff94;">00:14:00-00:14:53</span>"&gt;<span style="background: #90e0ff;">Content</span>&lt;/div&gt;
&lt;div data-type="<span style="background: #ff9d9d;">resource</span>" data-timestamp="<span style="background: #aaff90;">00:14:00-00:14:(6,7-)</span>"&gt;<span style="background: #90e0ff;">Content</span>&lt;/div&gt;
</code>
</code>


* <span style="background: #ff9d9d;">Type</span>: can be either <code>transcript</code>, <code>resource</code>, or <code>note</code>.
* <span style="background: #ff9d9d;">Type</span>: can be either <code>transcript</code>, <code>resource</code>, or <code>note</code>.
* <span style="background: #aaff94;">Time range</span>: sets of timestamps, start and end, for the annotation, separated by a hyphen. If the annotation is relevant for more than one time range, another range can be included, separated by comma (for example: <code>00:14:00-00:14:53,01:44:12-01:45:02</code>). '''Important: timestamps are not synced between different versions (youtube video, original audio, etc). The timestamps used in annotations must be taken from the audio file of the episode linked in the episode's wiki page, unless specified otherwise.'''
* <span style="background: #aaff94;">Time range</span>: sets of timestamps, start and end, for the annotation, separated by a hyphen. If the annotation is relevant for more than one time range, another range can be included, separated by comma (for example: <code>00:14:00-00:14:53,01:44:12-01:45:02</code>). '''Important: timestamps are not synced between different versions (youtube video, original audio, etc). The timestamps used in annotations must be taken from the audio file of the episode linked in the episode's wiki page, unless specified otherwise.'''
* <span style="background: #90e0ff;">Content</span>: Plain text for notes, anything else for resources.
* <span style="background: #90e0ff;">Content</span>: Use recognizable, solid, understandable & meaningful texts for resources & notes.


== What is this for? ==
== What is this for? ==

Revision as of 21:16, 21 April 2020

There are two types of annotations:

  • Notes: plain text comments.
  • Resources: links, images, and videos.

You can annotate an episode by going to an episode's wiki page and inserting annotations to the "annotations" section of the page (can be created if missing).

Format

Annotations require a special markup in the following format:

<div data-type="resource" data-timestamp="00:14:00-00:14:(6,7-)">Content</div>

  • Type: can be either transcript, resource, or note.
  • Time range: sets of timestamps, start and end, for the annotation, separated by a hyphen. If the annotation is relevant for more than one time range, another range can be included, separated by comma (for example: 00:14:00-00:14:53,01:44:12-01:45:02). Important: timestamps are not synced between different versions (youtube video, original audio, etc). The timestamps used in annotations must be taken from the audio file of the episode linked in the episode's wiki page, unless specified otherwise.
  • Content: Use recognizable, solid, understandable & meaningful texts for resources & notes.

What is this for?

Annotations are currently being used in the Portal Player, and are also visible in the wiki.

Where do I start?