PK n˜(4x°ÔC mimetypeapplication/x-advene-zip-packagePK n˜(4à0 £K £K content.xml
2749000
/mnt/hdc7/video/enrageons_nous.avi
Recueil initial
Titre
Festif
An 01
Affiche
Pas de cote
shape=rect
name=Festif
x=19
y=15
width=63
height=19
shape=rect
name=An 01
x=21.250000
y=57.333333
width=60.625000
height=19.000000
Texte simple
Schéma élémentaire pour l'annotation avec du simple texte
Simple text annotation
Annotation texte
Une simple annotation textuelle
Relation élémentaire
Simple mise en relation de deux annotations.
Rectangular areas definitions
Zones
here/content/parsed/name
A rectangular zone
Rectangular zone
<a tal:attributes="href here/absolute_url">annotation <em tal:content="here/id">Id</em></a> (<a tal:attributes="href string: /media/play/${here/fragment/begin}">Jouer le fragment</a> | <a href="/media/pause">Pause</a> | <a href="/media/stop">Stop</a> )
Vue par défaut du recueil
<h1>Contenu du recueil <em tal:content="here/title">Titre</em> créé par <address tal:content="here/author">Auteur</address></h1>
<h2><a tal:attributes="href here/annotations/absolute_url">Annotations (<em tal:content="python:len(here.annotations)">Number</em>)</a></h2>
<table border="1">
<tr>
<th>Type d'annotation</th>
<th>Type MIME</th>
<th>Nombre d'annotations</th>
</tr>
<tr tal:repeat="at here/annotationTypes">
<td><a tal:attributes="href at/absolute_url"
tal:content="at/title | at/id">Annotation Type</a></td>
<td tal:content="at/mimetype">Mime-Type</td>
<td><span tal:replace="python:len(at.annotations)">Number</span>
(<a tal:attributes="href string:${at/absolute_url}/view/annotation_list_view">visualiser</a>)</td>
</tr>
</table>
<h2><a tal:attributes="href here/relations/absolute_url">Relations (<em tal:content="python:len(here.relations)">Number</em>)</a></h2>
<table border="1">
<tr>
<th>Type de relation</th>
<th>Type MIME</th>
<th>Nombre de relations</th>
</tr>
<tr tal:repeat="rt here/relationTypes">
<td><a tal:attributes="href rt/absolute_url"
tal:content="rt/title | rt/id">Relation Type</a></td>
<td tal:content="rt/mimetype">Mime-Type</td>
<td><span tal:replace="python:len(rt.relations)">Number</span>
(<a tal:attributes="href string:${rt/absolute_url}/view/relation_list_view">visualiser</a>)</td>
</tr>
</table>
<h2><a tal:attributes="href string:${here/absolute_url}/views/view/views-view">Vues</a></h2>
<p>Des <a tal:attributes="href string: ${here/absolute_url}/view/print-default-views">vues par défaut</a> sont appliquées automatiquement aux éléments.</p>
<span tal:replace="structure here/views/view/views-view">Views</span>
<h2><a tal:attributes="href string:${here/absolute_url}/schemas">Schémas</a></h2>
<ul>
<li tal:repeat="s here/schemas">
<a tal:attributes="href s/absolute_url" tal:content="structure s/view/item-view">Schéma</a>
</li>
</ul>
<ul>
<li tal:repeat="item here">
<a tal:attributes="href item/absolute_url" tal:content="structure item/view/item-view">Item</a>
</li>
</ul>
<h1>Liste des schémas</h1>
<ul tal:repeat="item here/ids">
<a tal:attributes="href item/absolute_url" tal:content="structure item/view/item-view">Item</a>
</ul>
<p>Vue <strong tal:content="here/id">Id</strong> applicable sur <em tal:content="here/matchFilter">class</em></p>
<pre tal:content="here/content/data">
Contenu
</pre>
<p>Type <a tal:attributes="href here/absolute_url"><em tal:content="here/id">id</em> : <span tal:replace="here/title">Titre</span></a><br />
<span tal:condition="here/meta/dc/description">
Description : <em tal:content="here/meta/dc/description">description</em><br />
</span>
<a tal:attributes="href here/annotations/absolute_url" tal:content="python: '%d annotation(s)' % len(here.annotations)">Nombre d'annotations</a></p>
<span tal:condition="python: hasattr(here, 'content')">
<form method="POST" tal:attributes="action here/absolute_url">
<textarea tal:attributes="cols options/config/edit-width | 60; rows options/config/edit-height | 20" tal:content="here/content/data" rows="20" cols="60" name="data">
Contenu
</textarea><br />
<input type="hidden" name="key" value="contentData">
<input type="hidden" name="action" value="update">
<input type="submit" value="Valider" />
</form>
</span>
<span tal:condition="python: not hasattr(here, 'content')">
<p>Cette vue ne s'applique que sur les éléments possédant un contenu.</p>
</span>
<p>Vue générique de <span tal:replace="here/uri">URI</span></p>
<span tal:replace="here/viewableClass">Classe</span>
<strong tal:content="here/id">Id</strong>
<span tal:condition="exist: here/matchFilter" comment="is_a_view">
applicable sur <em tal:content="here/matchFilter">filtre</em>
</span>
<h2>Schema <strong tal:content="here/title | here/id">Title</strong> (<em tal:content="here/id">Id</em>)</h2>
<p>Description : <em tal:content="here/meta/dc/description | string:Non fournie.">Description</em></p>
<p>Types d'annotation définis :</p>
<ul>
<li tal:repeat="t here/annotationTypes">
<span tal:replace="structure t/view/annotation-type-view">Type</span>
</li>
</ul>
<p>Types de relation définis :</p>
<ul>
<li tal:repeat="t here/relationTypes">
<span tal:replace="structure t/view/relation-type-view">Type</span>
</li>
</ul>
<h1>Créer une nouvelle vue dans le recueil <em tal:content="here/ownerPackage/uri">Nom</em></h1>
<form method="POST" tal:attributes="action here/ownerPackage/absolute_url">
<input type="hidden" name="type" value="view">
<input type="hidden" name="action" value="create">
Identificateur : <input type="text" name="id"><br />
Applicable sur : <select name="class">
<option>*</option>
<option>annotation</option>
<option>annotation-type</option>
<option>content</option>
<option>fragment</option>
<option>list</option>
<option>package</option>
<option>query</option>
<option>relation</option>
<option>relation-type</option>
<option>schema</option>
<option>view</option>
</select><br />
Content :<br />
<textarea name="data" rows="20" cols="80">
</textarea><br />
<input type="submit" value="Create">
</form>
<h1>Annotation <em tal:content="here/id">Id</em></h1>
<p>Début: <span tal:replace="here/fragment/begin">Begin</span></p>
<p>Fin: <span tal:replace="here/fragment/end">End</span></p>
<p>Type: <span tal:replace="here/type">Type</span></p>
<p>Type du contenu: <span tal:replace="here/content/mimetype">Content-type</span></p>
<p><a tal:attributes="href string:${here/content/absolute_url}/data">Content</a></p>
<div class="epoz-fulleditor" metal:use-macro="epozmacros/macros/epoz_fulleditor">
<iframe metal:fill-slot="epoz_editorframe"
id="epoz-editor"
class="epoz-editorframe"
usecss="1"
tal:attributes="src string:${here/content/data/absolute_url}?mode=raw;
dst here/content/absolute_url"
onload="startEpoz()">
</iframe>
</div>
<table border="1">
<tr>
<th>Identificateur</th>
<th colspan="2">Filtre</th>
<th>Actions</th>
</tr>
<tr tal:repeat="v here">
<td>
<a tal:attributes="href v/absolute_url" tal:content="structure v/id">View Id</a>
</td>
<td tal:content="v/matchFilter/class">Class</td>
<td tal:content='structure v/matchFilter/type | string::'>Type</td>
<td>
<a title="Editer la vue" tal:attributes="href string:${v/absolute_url}/view/edit-content">Editer</a>
<span tal:condition='python: v.match(v.rootPackage)'>
<span tal:condition='python:not "ruleset" in v.content.mimetype'>
| <a title="Edition graphique de la vue" tal:attributes="href string:${v/absolute_url}/view/epoz">Epoz</a>
| <a title="Appliquer la vue sur ownerPackage" tal:attributes="href string:${v/rootPackage/absolute_url}/view/${v/id}">Appliquer</a> </span>
</span>
<span tal:condition='python:"ruleset" in v.content.mimetype'>
| <a title="Activer la vue dynamique" tal:attributes="href string:/media/stbv?id=${v/id}">Activer</a>
</span>
</td>
</tr>
</table>
Relation <em tal:content="here/id">Id</em> entre <a href="annotation1" tal:attributes="href here/members/first/absolute_url" tal:content="here/members/first/content/data">Annotation 1</a> et <a href="annotation2" tal:attributes="href here/members/last/absolute_url" tal:content="here/members/last/content/data">Annotation 2</a>
<p>Type <em tal:content="here/id">id</em> : <span tal:replace="here/title">Titre</span></p>
<p><a here="annotations" tal:attributes="href here/annotations" tal:content="python: '%d annotations' % len(here.annotations)">Nombre d'annotations</a> definies.</p>
<p>Type <a tal:attributes="href here/absolute_url"><em tal:content="here/id">id</em> : <span tal:replace="here/title">Titre</span></a><br />
<span tal:condition="here/meta/dc/description">
Description : <em tal:content="here/meta/dc/description">description</em><br />
</span>
<a tal:attributes="href here/relations/absolute_url" tal:content="python: '%d relation(s)' % len(here.relations)">Nombre de relations</a></p>
Affichage des annotations textuelles sur la vidéo
<?xml version='1.0' encoding='UTF-8'?>
<ruleset xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'>
<rule name='Affichage des annotations textuelles'>
<event name='AnnotationBegin'/>
<condition operator='equals' rhs='string:text/plain' lhs='annotation/content/mimetype'/>
<action name='AnnotationCaption'>
<param name='message' value='annotation/content/data'/>
</action>
</rule>
</ruleset>
annotation_list_view
<h2><a tal:attributes="href here/annotations/absolute_url">Annotations de <span tal:replace="here/title | here/id">element</span> (<em tal:content="python:len(here.annotations)">Number</em>)</a></h2>
<table width="100%" border="1">
<tr>
<th>Id</th>
<th>Début</th>
<th>Fin</th>
<th>Contenu</th>
</tr>
<tr tal:repeat="a here/annotations">
<td>
<a tal:attributes="href a/absolute_url; title a/type/title | a/type/id" tal:content="a/id">Id</a>
</td>
<td>
<a tal:attributes="href string:/media/play/${a/fragment/begin}; title string:Lancer le lecteur" tal:content="a/fragment/formatted/begin">Begin</a>
</td>
<td>
<a tal:attributes="href string:/media/play/${a/fragment/end}; title string:Lancer le lecteur" tal:content="a/fragment/formatted/end">End</a>
</td>
<td tal:content="a/content/data">Contenu</td>
</tr>
</table>
Affichage des zones sur la video
<?xml version='1.0' encoding='UTF-8'?>
<ruleset xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'>
<rule name='Affichage'>
<event name='AnnotationBegin'/>
<condition operator='equals' rhs='string:zone' lhs='annotation/type/id'/>
<action name='AnnotationCaption'>
<param name='message' value='annotation/view/zone_svg'/>
</action>
</rule>
</ruleset>
Rendu SVG d'une zone
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1' x='0' y='0' width='768' height='576'>
<rect
style="fill:none;stroke:green;stroke-width:2;"
tal:attributes="width string:${here/content/parsed/width}% ;
height string:${here/content/parsed/height}% ;
x string:${here/content/parsed/x}% ;
y string:${here/content/parsed/y}%"></rect>
</svg>
PK n˜(47gq½V V META-INF/manifest.xml
PK n˜(47gq½V V META-INF/manifest.xml
PK n˜(4x°ÔC mimetypePK n˜(4à0 £K £K F content.xmlPK n˜(47gq½V V L META-INF/manifest.xmlPK n˜(47gq½V V ›M META-INF/manifest.xmlPK õ $O