Created
October 1, 2012 17:24
-
-
Save eamexicano/3813167 to your computer and use it in GitHub Desktop.
Paquete para advene de objeto de deseo - http://www.youtube.com/watch?v=c-69y6b2keQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<package xmlns='http://experience.univ-lyon1.fr/advene/ns' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:tst='http://experience.univ-lyon1.fr/advene/ns/test' dc:creator='Emmanuel Ayala Mexicano' dc:date='2005-05-11' id='test'> | |
<meta> | |
<duration xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'>80313</duration> | |
<mediafile xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'>F:\EMMANUEL\ADVENE + VLC\proyectos\videos\objeto de deseo.mov</mediafile> | |
<title xmlns='http://purl.org/dc/elements/1.1/'>Objeto de Deseo</title> | |
</meta> | |
<imports> | |
</imports> | |
<annotations> | |
<annotation dc:creator='Administrator' type='#annotation' id='a1'> | |
<millisecond-fragment begin='78016' end='80313'/> | |
<content>Créditos</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a2'> | |
<millisecond-fragment begin='2200' end='5000'/> | |
<content>Objeto | |
</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a3'> | |
<millisecond-fragment begin='14800' end='15800'/> | |
<content>Deseo</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a4'> | |
<millisecond-fragment begin='16030' end='16230'/> | |
<content>Rostro</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a5'> | |
<millisecond-fragment begin='21230' end='23630'/> | |
<content>Boca</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a6'> | |
<millisecond-fragment begin='24360' end='28360'/> | |
<content/> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a7'> | |
<millisecond-fragment begin='30160' end='31160'/> | |
<content>Mirada</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a8'> | |
<millisecond-fragment begin='45760' end='46220'/> | |
<content> Placer</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a10'> | |
<millisecond-fragment begin='61780' end='62780'/> | |
<content>Tu</content> | |
</annotation> | |
<annotation dc:creator='Administrator' type='#annotation' id='a11'> | |
<millisecond-fragment begin='71446' end='75046'/> | |
<content>Completa</content> | |
</annotation> | |
</annotations> | |
<queries> | |
</queries> | |
<schemas> | |
<schema id='simple-text'> | |
<meta> | |
<dc:title>Texte simple</dc:title> | |
<dc:subject>Schéma élémentaire pour l'annotation avec du simple texte</dc:subject> | |
</meta> | |
<annotation-types> | |
<annotation-type dc:creator='Advene team' id='annotation'> | |
<meta> | |
<representation xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'/> | |
<description xmlns='http://purl.org/dc/elements/1.1/'>Simple text annotation</description> | |
<dc:title>Annotation texte</dc:title> | |
<dc:subject>Une simple annotation textuelle</dc:subject> | |
</meta> | |
<content-type mime-type='text/plain'/> | |
</annotation-type> | |
</annotation-types> | |
<relation-types> | |
<relation-type dc:creator='Advene team' id='basic-relation'> | |
<meta> | |
<dc:title>Relation élémentaire</dc:title> | |
<dc:description>Simple mise en relation de deux annotations.</dc:description> | |
</meta> | |
<member-type xlink:href='#annotation'/> | |
<member-type xlink:href='#annotation'/> | |
<content-type mime-type='text/plain'/> | |
<!-- TODO eventually, this would be an ad-hoc xml schema | |
<content-type mime-type="text/xml"> | |
<schema>...</schema> | |
</content-type> | |
--> | |
<member-types> | |
<member-type xlink:href='#annotation'/> | |
<member-type xlink:href='#annotation'/> | |
</member-types> | |
</relation-type> | |
</relation-types> | |
</schema> | |
</schemas> | |
<views> | |
<view viewable-class='annotation' dc:creator='' id='annotation-view'> | |
<content mime-type='text/html'><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> ) | |
</content> | |
</view> | |
<view viewable-class='package' dc:creator='oaubert' id='package-view'> | |
<meta> | |
<title xmlns='http://purl.org/dc/elements/1.1/'>Vue par défaut du recueil</title> | |
</meta> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='list' id='bundle-view'> | |
<content mime-type='text/html'><ul> | |
<li tal:repeat="item here"> | |
<a tal:attributes="href item/absolute_url" tal:content="structure item/view/item-view">Item</a> | |
</li> | |
</ul></content> | |
</view> | |
<view viewable-class='list' id='schema-bundle-view'> | |
<content mime-type='text/html'><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></content> | |
</view> | |
<view viewable-class='view' id='view-view'> | |
<content mime-type='text/html'><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></content> | |
</view> | |
<view viewable-class='annotation-type' id='annotation-type-view'> | |
<content mime-type='text/html'><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></content> | |
</view> | |
<view viewable-class='*' id='edit-content'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='*' id='generic'> | |
<content mime-type='text/html'><p>Vue générique de <span tal:replace="here/uri">URI</span></p> | |
</content> | |
</view> | |
<view viewable-class='*' id='item-view'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='schema' id='schema-view'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='schema' id='add-view'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='annotation' id='full-view'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='view' id='epoz'> | |
<content mime-type='text/html'> <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> | |
</content> | |
</view> | |
<view viewable-class='list' id='views-view'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='relation' id='relation-view'> | |
<content mime-type='text/html'>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></content> | |
</view> | |
<view viewable-class='annotation-type' id='type-view'> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='relation-type' id='relation-type-view'> | |
<content mime-type='text/html'><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></content> | |
</view> | |
<view viewable-class='package' dc:date='2004-06-08' dc:creator='oaubert' id='text-caption'> | |
<meta> | |
<title xmlns='http://purl.org/dc/elements/1.1/'>Affichage des annotations textuelles sur la vidéo</title> | |
</meta> | |
<content mime-type='application/x-advene-ruleset'><?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> | |
</content> | |
</view> | |
<view viewable-class='*' dc:date='2004-06-30' dc:creator='oaubert' id='annotation_list_view'> | |
<meta> | |
<title xmlns='http://purl.org/dc/elements/1.1/'>annotation_list_view</title> | |
</meta> | |
<content mime-type='text/html'><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> | |
</content> | |
</view> | |
<view viewable-class='package' dc:creator='Emmanuel Ayala Mexicano' id='OD'> | |
<meta> | |
<title xmlns='http://purl.org/dc/elements/1.1/'>OD</title> | |
</meta> | |
<content mime-type='application/x-advene-ruleset'><?xml version='1.0' encoding='UTF-8'?> | |
<ruleset xmlns='http://experience.univ-lyon1.fr/advene/ns/advenetool'> | |
<rule name='Reproduccion aleatoria'> | |
<event name='AnnotationBegin'/> | |
<condition operator='different' rhs='string:a1' lhs='annotation/id'/> | |
<action name='PlayerGoto'> | |
<param name='position' value='annotation/rootPackage/annotations/randompick/fragment/begin'/> | |
</action> | |
</rule> | |
</ruleset> | |
</content> | |
</view> | |
</views> | |
</package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment