web/enmi2011/config.php
changeset 420 eb7c2cff1816
parent 419 ad151a86046f
child 421 c8db83b70def
--- a/web/enmi2011/config.php	Fri Dec 16 10:39:51 2011 +0100
+++ b/web/enmi2011/config.php	Fri Dec 16 15:57:23 2011 +0100
@@ -69,4 +69,67 @@
 	'div_height'    => 700,
 	'player_width'  => 650,
 	'player_height' => 488,
+	
+    // New Tweet live parameters
+    'use_tweetcast' => true,
+    'js_config' => "
+    var connect_type = 'standalone',
+    source_address = 'http://velt.info/polemic/tweetdata.js',
+    tracking_keywords = [ \"#enmi\" ],
+    suggested_keywords = [
+        \"confiance\",
+        \"croyance\",
+        \"crédit\",
+        \"trace\",
+        \"foi\",
+        \"risque\", 
+        \"assurance\", 
+        \"démocratie\", 
+        \"expertise\",
+        \"catastrophe\",
+        \"transparence\", 
+        \"politique\"
+    ],
+    annotations = {
+        \"default\" : {
+            \"colors\" : {
+                \"h\" : 0,
+                \"s\" : 0
+            }
+        },
+        \"positive\" : {
+            \"display_name\" : \"++\",
+            \"keywords\" : [ /\\+\\+/ ],
+            \"colors\" : {
+                \"h\" : .3,
+                \"s\" : .65
+            }
+        },
+        \"negative\" : {
+            \"display_name\" : \"--\",
+            \"keywords\" : [ /\\-\\-/ ],
+            \"colors\" : {
+                \"h\" : 0,
+                \"s\" : .8
+            }
+        },
+        \"reference\" : {
+            \"display_name\" : \"==\",
+            \"keywords\" : [ /\\=\\=/ ],
+            \"colors\" : {
+                \"h\" : .16,
+                \"s\" : .8
+            }
+        },
+        \"question\" : {
+            \"display_name\" : \"??\",
+            \"keywords\" : [ /\\?\\?/ ],
+            \"colors\" : {
+                \"h\" : .6,
+                \"s\" : .8
+            }
+        }
+    }"
+    
+    
 );
\ No newline at end of file