update hashtag for twitter V00.20
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 16 Mar 2011 18:05:37 +0100
changeset 76 bda672f102d7
parent 75 72000e46625e
child 77 8e94fe3c6733
update hashtag for twitter
web/rsln-opendata/config.php
web/rsln-opendata/index.php
--- a/web/rsln-opendata/config.php	Wed Mar 16 11:04:47 2011 +0100
+++ b/web/rsln-opendata/config.php	Wed Mar 16 18:05:37 2011 +0100
@@ -5,10 +5,10 @@
  * 
  */
 
-define('URL_ROOT', 'http://amateur.iri.centrepompidou.fr/live/rsln/');
+define('URL_ROOT', 'http://amateur.iri.centrepompidou.fr/live/rsln-opendata/');
 
 $configuration = array(
-    'callbackUrl'    => 'http://amateur.iri.centrepompidou.fr/live/rsln/callback.php',
+    'callbackUrl'    => 'http://amateur.iri.centrepompidou.fr/live/rsln-opendata/callback.php',
     'siteUrl'        => 'http://twitter.com/oauth',
     'consumerKey' 	 => '***REMOVED***',
     'consumerSecret' => '***REMOVED***'
--- a/web/rsln-opendata/index.php	Wed Mar 16 11:04:47 2011 +0100
+++ b/web/rsln-opendata/index.php	Wed Mar 16 18:05:37 2011 +0100
@@ -102,7 +102,7 @@
 					if(data=="true"){
 						$("#messageSuccess").show('fast');
 						$("#messageSuccess").delay(800).hide('slow');
-						$('#status').attr("value","#rsln");
+						$('#status').attr("value","#opendata");
 						//$('#status').css("background-image","images/greenTweet.png");
 						//$('#status').delay(800).css("background-image","images/tweetWriterBgdTxtArea.gif");
 					}else{
@@ -446,7 +446,7 @@
 				Vous n'ĂȘtes pas connectĂ©.<br>
 				Pour participer, veuillez vous identifier en cliquant ici. </a></div>");
 			  }else{
-				echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>#rsln</textarea>");
+				echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>#opendata</textarea>");
 			  }
 		?>
 
@@ -492,7 +492,7 @@
 				new TWTR.Widget({
 				  version: 2,
 				  type: 'search',
-				  search: '#rsln',
+				  search: '#rsln OR #opendata',
 				  interval: 1000,
 				  title: '',
 				  subject: '',