[Mapbender-commits] r8203 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 17 02:30:30 EST 2011


Author: armin11
Date: 2011-11-16 23:30:30 -0800 (Wed, 16 Nov 2011)
New Revision: 8203

Added:
   trunk/mapbender/conf/twitter.conf-dist
Modified:
   trunk/mapbender/conf/mapbender.conf-dist
Log:
Enhancement to push update information of mapbenders database to twitter account.

Modified: trunk/mapbender/conf/mapbender.conf-dist
===================================================================
--- trunk/mapbender/conf/mapbender.conf-dist	2011-11-17 07:29:40 UTC (rev 8202)
+++ trunk/mapbender/conf/mapbender.conf-dist	2011-11-17 07:30:30 UTC (rev 8203)
@@ -151,6 +151,14 @@
 # --------------------------------------------
 define("GEO_RSS_FILE", "../tmp/georss.xml");
 
+
+# --------------------------------------------
+# TWITTER
+# This need a twitter.conf file with the keys and tokens for the twitter account. See conf/twitter.conf-dist.
+# --------------------------------------------
+define("TWITTER_NEWS", false);
+
+
 #---------------------------------------------
 # PREVIEW
 # This path is defined to allow a saving of preview pictures for the content of wms/layers and 
@@ -167,6 +175,12 @@
 #---------------------------------------------
 define("METADATA_DIR", "../../metadata");
 
+#---------------------------------------------
+# METADATA CODESPACE
+#---------------------------------------------
+# This path is used as a default codespace of metadatasets which are administrated thru the simple mapbender layer metadata editor
+#---------------------------------------------
+#define("METADATA_DEFAULT_CODESPACE", "http://www.mapbender.org");
 
 # --------------------------------------------
 # UPLOAD
@@ -195,7 +209,6 @@
 # --------------------------------------------
 #define("SESSION_NAME", "MAPBENDER");
 
-
 #---------------------------------------------
 # HOSTNAME WHITELIST
 # The whitelist is used for some modules who generate urls from a given hostName GET parameter. In such a case it is usefull to give a whitelist for security reasons! If no hostName is given, the parameter $_SERVER['HTTP_HOST'] is used for the urls!

Added: trunk/mapbender/conf/twitter.conf-dist
===================================================================
--- trunk/mapbender/conf/twitter.conf-dist	                        (rev 0)
+++ trunk/mapbender/conf/twitter.conf-dist	2011-11-17 07:30:30 UTC (rev 8203)
@@ -0,0 +1,15 @@
+<?php
+//
+//twitter.conf
+//documentation see: http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oauth-php/
+// --------------------------------------------
+// twitter keys
+// --------------------------------------------
+
+define("TWITTER_CONSUMER_KEY", "");
+define("TWITTER_CONSUMER_SECRET", "");
+define("TWITTER_ACCESS_TOKEN", "");
+define("TWITTER_ACCESS_TOKEN_SECRET", "");
+
+// --------------------------------------------
+?>



More information about the Mapbender_commits mailing list