<?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');
function fromgplus_post($a, $uid, $source, $body, $location) {
- $uid = 2;
+ //$uid = 2;
$body = trim($body);
/*
// Test
-$test1 = array();
-$test2 = array();
require_once("boot.php");
-require_once("include/bbcode.php");
-require_once("include/html2plain.php");
if(@is_null($a)) {
$a = new App;
unset($db_host, $db_user, $db_pass, $db_data);
};
-fromgplus_cron($a, $test2);
+$test = array();
+fromgplus_cron($a, $test);
*/