# HG changeset patch # User Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> # Date 1309292636 -7200 # Node ID 2bf0fd3432bfa606df027d2ffbdd7697476064f2 # Parent ace2d571aefc11f34c9fb8aa546ff949e27f5e9d put more than one content for the polemical timeline diff -r ace2d571aefc -r 2bf0fd3432bf web/mashup/config.php --- a/web/mashup/config.php Tue Jun 28 12:23:36 2011 +0200 +++ b/web/mashup/config.php Tue Jun 28 22:23:56 2011 +0200 @@ -42,8 +42,14 @@ | Inflammable ", // After the event - 'metadata' => "", - 'player' => "res/metadataplayer/src/js/LdtPlayer.js" + 'metadata' => array( + 'conference'=> + array('url'=>"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/b2754186-a0c9-11e0-b8bd-00145ea49a02", 'display'=>'Conférence'), + 'tableronde'=> + array('url'=>"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/3f877114-a0cc-11e0-bc41-00145ea49a02", 'display'=>'Table Ronde') + ), + 'player' => "res/metadataplayer/src/js/LdtPlayer.js", + 'duration' => "4606" ); $player_width = 600; diff -r ace2d571aefc -r 2bf0fd3432bf web/mashup/polemicaltimeline.php --- a/web/mashup/polemicaltimeline.php Tue Jun 28 12:23:36 2011 +0200 +++ b/web/mashup/polemicaltimeline.php Tue Jun 28 22:23:56 2011 +0200 @@ -9,12 +9,14 @@ // objet actuel include_once 'config.php'; +$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; + ?>
-
/>
_("Japonais"); ?>