PHP Hacks has a tutorial using the PEAR SOAP module of PHP to pull data for use on your site. There are many other ways of doing similar things a lot of which deal with RSS feeds since they have become so popular, but this tutorial does a pretty good job of explaining how to use SOAP with Google’s web services.
The code is pretty straight forward and if you have good familiarity with PHP I don’t think you will have any problems integrating this into your site. I think the most difficult part would probably be getting SOAP setup if you have never done it before. Even so, it isn’t too terribly hard to setup the module if you have setup PHP on your server before.
The tutorial does use PHP 5 however which has built-in XML parsing which I do not believe PHP 4 has but there are quite a few third party apps to create a parser or you could just write your own.
I’m still using PHP 4. For the most part I can get by using it for what I need to do. I think at some point I will transition to PHP 5 in order to take advantage of its newer features and better object oriented programming abilities.









