#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" }, "filtreCol" : { "statut" : "select", "titre": "input", "description": "input", "keywords": "input", "provider": "select", "user": "select", "publication_date": "input", "transcription_readable_content": "input", "transcription_detailed_content": "input" }, "classes":{ "description":"toto", "transcription_readable_content": "", "transcription_detailed_content": "" } }, { "html": { "id": #ID_CORPUS_VIDEO, "titre" : [(#TITLE|sinon{pas de titre}|json_encode)], "description" : [(#DESCRIPTION|sinon{pas de description}|json_encode)], "keywords" : [(#KEYWORDS|replace{',',', '}|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{Y-m-d}|json_encode)], "publication_date": [(#PUBLICATION_DATE|sinon{0000-00-00 00:00:00}|affdate{Y-m-d}|json_encode)], "duration":[(#DURATION|sinon{0})], [(#REM) "page_url": [(#VAL{[(#PAGE_URL|sinon{pas d'URL de page})]}|json_encode)], ] "page_url": [(#VAL{[(#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{Afficher la transcription}|json_encode)], "transcription_detailed_content": [(#VAL{Afficher la transcription}|json_encode)] [(#REM) "transcription_readable_content": [(#TRANSCRIPTION_READABLE_CONTENT|sinon{pas de fichier TXT}|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|replace{',',', '}|json_encode)], "provider": [(#PROVIDER|json_encode)], "user": [(#USER|json_encode)], "user_id": [(#USER_ID|json_encode)], "first_download_date": "", "publication_date": [(#PUBLICATION_DATE|affdate{Y-m-d}|json_encode)], "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|replace{',',', '}|json_encode)] } } ]