fromgplus: Updated README

This commit is contained in:
Michael Vogel 2012-12-09 22:09:22 +01:00
parent c8b2b1ca85
commit 4d6f6327de
2 changed files with 12 additions and 3 deletions

View 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".

View File

@ -1,13 +1,13 @@
<?php <?php
/** /**
* Name: From GPlus * 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 * Version: 0.1
* Author: Michael Vogel <ike@piratenpartei.de> * 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() { function fromgplus_install() {
register_hook('plugin_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings'); register_hook('plugin_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');