2021-05-28 10:25:45 +02:00
|
|
|
<BOUCLE_principale(ARTICLES) {id_article}>
|
|
|
|
{
|
|
|
|
"show": {
|
|
|
|
"title": "[(#NOM_SITE_SPIP|textebrut|escape_json)]",
|
|
|
|
["subtitle": "(#SLOGAN_SITE_SPIP|textebrut|escape_json)",]
|
|
|
|
"summary": "[(#DESCRIPTIF_SITE_SPIP|textebrut|escape_json)]",
|
|
|
|
"poster": "#URL_SITE_SPIP/[(#LOGO_SITE_SPIP|extraire_attribut{src})]",
|
|
|
|
"link": "#URL_SITE_SPIP"
|
|
|
|
},
|
|
|
|
"reference": {
|
2021-09-09 17:19:38 +02:00
|
|
|
"base": "/node_modules/@podlove/podlove-web-player/dist",
|
2021-05-28 10:25:45 +02:00
|
|
|
"config": "[(#URL_PAGE{podlove_json}|parametre_url{id_article,#ID_ARTICLE,&})]"
|
|
|
|
},
|
|
|
|
"theme": {
|
|
|
|
"main":"#edf1f5",
|
|
|
|
"highlight":"#005184"
|
|
|
|
},
|
|
|
|
"visibleComponents": [
|
|
|
|
"controlChapters",
|
|
|
|
"controlSteppers",
|
|
|
|
"episodeTitle",
|
|
|
|
"poster",
|
|
|
|
"progressbar",
|
|
|
|
"showTitle",
|
|
|
|
"subtitle",
|
|
|
|
"tabAudio",
|
|
|
|
"tabChapters",
|
|
|
|
"tabFiles",
|
|
|
|
"tabInfo",
|
|
|
|
[(#REM)"tabShare",]
|
|
|
|
"tabTranscripts"
|
|
|
|
],
|
|
|
|
"title": "#[(#SURTITRE)] - [(#TITRE|mes_supp_numero|decode_html|textebrut|escape_json)]",
|
|
|
|
"subtitle": "Émission du [(#DATE|nom_jour)] [(#DATE|affdate)]",
|
|
|
|
"summary": "[(#DESCRIPTIF|textebrut|escape_json)]",
|
|
|
|
"publicationDate": "[(#DATE|date_iso)]",
|
|
|
|
"poster": "#URL_SITE_SPIP/[(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src})]",
|
|
|
|
"link": "#URL_SITE_SPIP/#URL_ARTICLE",
|
|
|
|
|
|
|
|
"duration":"#PODCAST_DUREE",
|
|
|
|
|
|
|
|
"audio": [
|
|
|
|
{
|
|
|
|
"url": "https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/#PODCAST_CODE/libre-a-vous-#PODCAST_CODE.ogg",
|
|
|
|
"size": "#PODCAST_OGG",
|
|
|
|
"title": "Ogg Vorbis Audio (oga)",
|
|
|
|
"mimeType": "audio/ogg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/#PODCAST_CODE/libre-a-vous-#PODCAST_CODE.mp3",
|
|
|
|
"size":"#PODCAST_MP3",
|
|
|
|
"title":"MP3 Audio (mp3)"
|
|
|
|
,"mimeType":"audio/mpeg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"chapters": [
|
|
|
|
<BOUCLE_chapitres(CHAPITRES){id_article}>
|
|
|
|
{
|
|
|
|
"start": "[(#DEBUT)]" ,
|
|
|
|
"title": "[(#TITRE|decode_html|textebrut|escape_json)]"
|
|
|
|
}[(#COMPTEUR_BOUCLE|<{#TOTAL_BOUCLE}|?{',',''})]
|
|
|
|
</BOUCLE_chapitres>
|
|
|
|
]
|
|
|
|
}
|
|
|
|
</BOUCLE_principale>
|