85 lines
3.7 KiB
HTML
85 lines
3.7 KiB
HTML
#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": ""
|
|
}
|
|
},
|
|
<BOUCLE_souscriptions(CORPUS_VIDEOS){id_corpus_video?}{par id_corpus_video}{tout}{','}>
|
|
{
|
|
"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{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{<a class="modalbox btn" href="[(#URL_PAGE{afficher_transcription}|parametre_url{id,#ID_CORPUS_VIDEO}|parametre_url{contenu,txt}|parametre_url{var_zajax,content})]"
|
|
title="Afficher la transcription TXT">Afficher la transcription</a>}|json_encode)],
|
|
"transcription_detailed_content": [(#VAL{<a class="modalbox btn" href="[(#URL_PAGE{afficher_transcription}|parametre_url{id,#ID_CORPUS_VIDEO}|parametre_url{contenu,xml}|parametre_url{var_zajax,content})]"
|
|
title="Afficher la transcription XML">Afficher la transcription</a>}|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": [(#FIRST_DOWNLOAD_DATE|affdate{d/m/Y}|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)]
|
|
}
|
|
}
|
|
</BOUCLE_souscriptions>
|
|
]
|