diff --git a/content/affiche_videos.html b/content/affiche_videos.html new file mode 100644 index 0000000..5f1abd2 --- /dev/null +++ b/content/affiche_videos.html @@ -0,0 +1,38 @@ +

Exploration du corpus de vidéos

+

+ +
+ +
+ + \ No newline at end of file diff --git a/content/afficher_transcription.html b/content/afficher_transcription.html new file mode 100644 index 0000000..b4fb335 --- /dev/null +++ b/content/afficher_transcription.html @@ -0,0 +1,11 @@ +
+ +

#TITLE

+
+

Transcription [(#ENV{contenu}|majuscules)] :

+
[(#ENV{contenu}|=={txt}|?{[(#TRANSCRIPTION_READABLE_CONTENT|replace{"\n",
})],#TRANSCRIPTION_DETAILED_CONTENT})]
+
+ +
Pas de vidéo avec l'id #ENV{id}
+ +
diff --git a/json_affiche_videos.json.html b/json_affiche_videos.json.html new file mode 100644 index 0000000..16af193 --- /dev/null +++ b/json_affiche_videos.json.html @@ -0,0 +1,74 @@ +#HTTP_HEADER{Content-Type: application/json; charset=#CHARSET} +[(#ENV{id}|setenv{id_corpus_web})] +[{ + "header":{ + "id": "id vidéo", + "titre": "titre", + "description": "description", + "keywords": "keywords", + "provider": "provider", + "user": "user", + "user_id": "user_id", + "first_download_date": "first download date", + "publication_date": "publication date", + "duration": "durée (sec)", + "page_url": "URL page", + "transcription_readable_file": "fichier TXT", + "transcription_detailed_file": "fichier XML", + "transcription_readable_content": "transcription TXT", + "transcription_detailed_content": "transcription XML" + }, + "crayons":{ + "titre" : "corpus_video", + "description" : "corpus_video" + }, + "classes":{ + "titre": "toto", + "description":"toto", + "transcription_readable_content": "toto", + "transcription_detailed_content": "toto" + } +}, + +{ + "html": { + "id": #ID_CORPUS_VIDEO, + "titre" : [(#TITLE|sinon{pas de titre}|json_encode)], + "description" : [(#DESCRIPTION|sinon{pas de description}|json_encode)], + "keywords" : [(#KEYWORDS|sinon{pas de keywords}|json_encode)], + "provider": [(#PROVIDER|sinon{pas de provider}|json_encode)], + "user": [(#USER|sinon{pas de user}|json_encode)], + "user_id": [(#USER_ID|sinon{pas de user_id}|json_encode)], + "first_download_date": [(#FIRST_DOWNLOAD_DATE|sinon{0000-00-00 00:00:00}|affdate{d/m/Y}|json_encode)], + "publication_date": [(#PUBLICATION_DATE|sinon{0000-00-00 00:00:00}|affdate{d/m/Y}|json_encode)], + "duration":[(#DURATION|sinon{0})], + "page_url": [(#PAGE_URL|sinon{pas d'URL de page}|json_encode)], + "transcription_readable_file": [(#TRANSCRIPTION_READABLE_FILE|sinon{pas de fichier TXT}|json_encode)], + "transcription_detailed_file": [(#TRANSCRIPTION_DETAILED_FILE|sinon{pas de fichier XML}|json_encode)], + "transcription_readable_content": [(#VAL{}|concat{#TRANSCRIPTION_READABLE_CONTENT|sinon{pas de fichier TXT}}|concat{}|json_encode)], + "transcription_detailed_content": [(#TRANSCRIPTION_DETAILED_CONTENT|replace{',',', '}|sinon{pas de fichier XML}|json_encode)] + }, + "classes": { + "titre":"transcription" + }, + "search": { + "id": #ID_CORPUS_VIDEO, + "titre" : [(#TITLE|json_encode)], + "description" : [(#DESCRIPTION|json_encode)], + "keywords" : [(#KEYWORDS|json_encode)], + "provider": [(#PROVIDER|json_encode)], + "user": [(#USER|json_encode)], + "user_id": [(#USER_ID|json_encode)], + "first_download_date": "", + "publication_date": "", + "duration": "", + "page_url": [(#PAGE_URL|json_encode)], + "transcription_readable_file": [(#TRANSCRIPTION_READABLE_FILE|json_encode)], + "transcription_detailed_file": [(#TRANSCRIPTION_DETAILED_FILE|json_encode)], + "transcription_readable_content": [(#TRANSCRIPTION_READABLE_CONTENT|json_encode)], + "transcription_detailed_content": [(#TRANSCRIPTION_DETAILED_CONTENT|json_encode)] + } +} + +]