# HG changeset patch # User Nicolas Sauret # Date 1432745554 -7200 # Node ID 813a89873f943eca8229c74ce4ff76b74dc8a468 # Parent a56723b35412937b38669d6376427a2e0a44d6bd# Parent c3a5b1c24bc3216f67a41e3626e66b2d06d23552 Fusion diff -r a56723b35412 -r 813a89873f94 web/common.php --- a/web/common.php Wed May 27 18:44:35 2015 +0200 +++ b/web/common.php Wed May 27 18:52:34 2015 +0200 @@ -15,8 +15,6 @@ */ date_default_timezone_set('UTC'); -//$ldt_platform = 'http://ldt.iri.centrepompidou.fr/'; -$ldt_platform = 'http://localhost/~ymh/platform/'; $project_url_base = 'ldtplatform/ldt/cljson/id/'; $C_default_rep = 'museo-1415-07-traduction'; @@ -61,6 +59,7 @@ 'museo-1415-01-inaugurale', 'museo-1415-02-controverses', 'attention-1415-01-attention-automatisee', 'museo-1415-03-pedagogies', 'museo-1415-04-reseaux-sociaux-hermeneutiques','edito-1415-02-ressources-documentation-recherche', 'attention-1415-02-recherche-algo-attention-hermeneutique', 'edito-1415-04-elargissement-communautes-scientifiques', /*'museo-1415-05-interfaces-design',*/ + 'museo-1415-06-multilinguisme', 'museo-1415-07-traduction', ); @@ -403,11 +402,11 @@ } function get_metadata_url($metadata) { - global $ldt_platform, $project_url_base; + global $project_url_base; if (preg_match('/^https?:\/\//', $metadata)) { return $metadata; } else { - return $ldt_platform.$project_url_base.$metadata; + return LDT_PLATFORM.$project_url_base.$metadata; } } diff -r a56723b35412 -r 813a89873f94 web/config.php.tmpl --- a/web/config.php.tmpl Wed May 27 18:44:35 2015 +0200 +++ b/web/config.php.tmpl Wed May 27 18:52:34 2015 +0200 @@ -7,9 +7,9 @@ //define('URL_ROOT', 'http://127.0.0.1/IRI/REPO_TWEET_LIVE/web/'); define('URL_ROOT', 'http://127.0.0.1/IRI/REPO_TWEET_LIVE/web/'); +define('LDT_PLATFORM' , 'http://ldt.iri.centrepompidou.fr/'); define('SECRET', '^e)3u&jwy@#156no9lmc1s&$g-x0n@lb=(+xgovk#5^kb)qvkb'); $C_default_registry = 'cdn'; $C_event_users = array('polemictweet' => 'polemictweet'.date('Y/m/d')); -$ldt_platform = 'http://ldt.iri.centrepompidou.fr/'; diff -r a56723b35412 -r 813a89873f94 web/museo-1415-06-multilinguisme/config.php --- a/web/museo-1415-06-multilinguisme/config.php Wed May 27 18:44:35 2015 +0200 +++ b/web/museo-1415-06-multilinguisme/config.php Wed May 27 18:52:34 2015 +0200 @@ -38,5 +38,5 @@ 'archive_description' => "par IRI au Centre Pompidou
le mardi 14 avril 2015 | 17:30 - 20:00", // After the event - 'metadata' => ""//"717117ee-ccff-11e4-8b4e-00145ea4a2be" + 'metadata' => "58a4f1d4-ff0b-11e4-91a9-00145ea4a2be"//"717117ee-ccff-11e4-8b4e-00145ea4a2be" ); diff -r a56723b35412 -r 813a89873f94 web/museo-1415-07-traduction/config.php --- a/web/museo-1415-07-traduction/config.php Wed May 27 18:44:35 2015 +0200 +++ b/web/museo-1415-07-traduction/config.php Wed May 27 18:52:34 2015 +0200 @@ -45,5 +45,5 @@ 'archive_description' => "par IRI au Centre Pompidou
le mardi 14 avril 2015 | 17:30 - 20:00", // After the event - 'metadata' => ""//"717117ee-ccff-11e4-8b4e-00145ea4a2be" + 'metadata' => "a4e5718e-ff0d-11e4-91a9-00145ea4a2be"//"717117ee-ccff-11e4-8b4e-00145ea4a2be" ); diff -r a56723b35412 -r 813a89873f94 web/museo-1415-07-traduction/index.php --- a/web/museo-1415-07-traduction/index.php Wed May 27 18:44:35 2015 +0200 +++ b/web/museo-1415-07-traduction/index.php Wed May 27 18:52:34 2015 +0200 @@ -1,6 +1,6 @@ diff -r a56723b35412 -r 813a89873f94 web/polemicaltimeline.php --- a/web/polemicaltimeline.php Wed May 27 18:44:35 2015 +0200 +++ b/web/polemicaltimeline.php Wed May 27 18:52:34 2015 +0200 @@ -168,14 +168,13 @@ }, { type: "AnnotationsList", - //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", - //foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", + //ajax_url : "ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", + //foreign_url : "ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", container: "AnnotationsListContainer" }, { type: "CreateAnnotation", - //api_endpoint_template: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/1.0/annotations/", - api_endpoint_template: "http://localhost/~ymh/platform/ldtplatform/api/ldt/1.0/annotations/", + api_endpoint_template: "ldtplatform/api/ldt/1.0/annotations/", api_method: 'POST', after_send_timeout: 8000, show_mic_record: false,