fromgplus: Updated README
authorMichael Vogel <icarus@dabo.de>
Sun, 9 Dec 2012 21:09:22 +0000 (22:09 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 9 Dec 2012 21:09:22 +0000 (22:09 +0100)
fromgplus/README
fromgplus/fromgplus.php

index cecbb2b..db5bb38 100644 (file)
@@ -1 +1,10 @@
-This extension is a preparation of the upcoming import of items via Google+
+This extension fetches messages from a Google+ account and reshares it.
+
+You have to place the following config values in your .htconfig.php:
+
+$a->config['fromgplus']['key'] = "your key";
+$a->config['fromgplus']['poll_interval'] = 10;
+
+You need an API key for "Simple API Access". 
+
+You get it via https://code.google.com/apis/console/ and then "API Access".
index ab93b04..e19a003 100644 (file)
@@ -1,13 +1,13 @@
 <?php
 /**
  * Name: From GPlus
- * Description: Imports posts from a Google+ account and repeats them - not working by now
+ * Description: Imports posts from a Google+ account and repeats them
  * Version: 0.1
  * Author: Michael Vogel <ike@piratenpartei.de>
  *
  */
 
-define('FACEBOOK_DEFAULT_POLL_INTERVAL', 60); // given in minutes
+define('FROMGPLUS_DEFAULT_POLL_INTERVAL', 30); // given in minutes
 
 function fromgplus_install() {
        register_hook('plugin_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');