#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)] } } ]