Welcome Guest, Not a member yet? Register   Sign In
Do I have to use Zend Google Data APIs client library?
#1

[eluser]ricklee[/eluser]
http://code.google.com/apis/blogger/deve...e_php.html

I need to use the Blogger API and was wondering if there's a CI library for using Google services?
#2

[eluser]nmweb[/eluser]
I think ZF is the best way to go here.
#3

[eluser]Colin Williams[/eluser]
Any PHP class you can find will do. CI Libraries are just PHP classes. So, if you find a good candidate, you don't necessarily have to subscribe to the entire Zend Framework (but if you can just use one ZF component, go right ahead).
#4

[eluser]Unknown[/eluser]
Hi ricklee,
I'm one of the authors of the Zend_Gdata module. When we designed the module, we intentionally tried to make it very easy to use just the parts needed to interact with Google's Data APIs and leave out the rest, so that people aren't forced to use all of Zend Framework if they don't want to.

There's a special download page that will give you just the classes needed: http://framework.zend.com/download/gdata

Feel free to let me know if you have any questions.
#5

[eluser]Colin Williams[/eluser]
Awesome, Trevor. Thanks for sharing.

I want to also point out that standalone PHP classes often require some level of file include structure and a configuration convention that may or may not fit in with CI's conventions. Some times it's worth it to adjust the given library to use CI's conventions (config in app/config/library_name.php, all required includes in subdirs of app/libraries, etc), and sometimes it's not.
#6

[eluser]nmweb[/eluser]
Trevor Johns, my compliments on the Zend_Gdata module. It really is a job well done. Thanks.
#7

[eluser]ricklee[/eluser]
Thanks guys. Something came up so I didn't have a chance to work on this yet, but I'll give Zend_Gdata a try.
#8

[eluser]vendiddy[/eluser]
I have gone the route of the Zend_Gdata module. I suggest reading this article:

http://thislab.com/2008/02/21/using-zend...deigniter/

A CI_Zend class is provided in this article. I am able to use it to load classes as below
Code:
$this->load->library('zend');
$this->zend->load('Zend/Gdata/Calendar');
$this->zend->load('Zend/Gdata/AuthSub');

Good luck!
#9

[eluser]gerben[/eluser]
Thanks vendiddy, your post was a lifesaver!

Now I succeeded in posting to Blogger.com from Codeigniter using the Zend Gdata library. I was trying to figure out how to do it all day.
#10

[eluser]magikman[/eluser]
Hello,

The given URL is not avalable anymore. could you tel me what is the updated URL please ?

Thank you !




Theme © iAndrew 2016 - Forum software by © MyBB