From 4d6f6327de30da70b9fa096b0e8d12e8309eb84c Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 9 Dec 2012 22:09:22 +0100 Subject: [PATCH] fromgplus: Updated README --- fromgplus/README | 11 ++++++++++- fromgplus/fromgplus.php | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/fromgplus/README b/fromgplus/README index cecbb2b9..db5bb38e 100644 --- a/fromgplus/README +++ b/fromgplus/README @@ -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". diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index ab93b042..e19a003b 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -1,13 +1,13 @@ * */ -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');