klenwell information services : GreqoDocLoadLibrary

Revision history for GreqoDocLoadLibrary


Revision [536]

Last edited on 2007-06-05 19:27:25 by KlenwellAdmin
Additions:
To use Greqo, load the appropriate library and create a new object. For Blogger, you would use the following code:
require_once($_PATH['greqo'] . 'blogger.class.php');
$GreqoBlogger = new GreqoBlogger($debug=1);
$GreqoBlogger->email = 'user@gmail.com';
$GreqoBlogger->password = '**********';
$GreqoBlogger->blog_id = '0000000000000000000';
Since the Google Data API requires supplying your Google account password, make sure it is located in a secure location on your server (outside the document root, if possible).
Deletions:
To load the library and the account info, you need to include only two files:
[[http://greqo.googlecode.com/svn/trunk/greqo_driver.inc.php greqo_driver.inc.php]]
[[http://greqo.googlecode.com/svn/trunk/blogger_data.inc.php blogger_data.inc.php]]
$_PATH['greqo'] = "../greqo/";
require_once($_PATH['greqo'] . 'greqo_driver.inc.php');
require_once($_PATH['greqo'] . 'blogger_data.inc.php');
You'll need to edit blogger_data.inc.php so that it includes the correct Google and Blogger account information.
Since blogger_data.inc.php will include the account password, make sure it is located in a secure location on your server (outside the document root).


Revision [52]

Edited on 2006-12-29 13:30:39 by KlenwellAdmin
Additions:
----
CategoryGreqo


Revision [51]

The oldest known version of this page was created on 2006-12-29 13:29:47 by KlenwellAdmin