Tag: gdata

HOWTO: Displaying Blogger feeds with Python

This first HOWTO is going to cover how I did the basic structure of the posts section of gPowered: pulling from blogger. The main functions we'll need are to show a range of posts, a single post, and a function to get the total number of posts that are in the blog. The reason I try to get the total number is so the different pages can be bookmarkable. When retrieving a GData feed from blogger. Entry 1 in the feed is going to be the newest post so there is no 'id' that is going to be static, so we'll do a…

Picasa Web Api updates

Google Data Api's posted a few updates today, a few of which I've really been looking forward to; Community Search, Retrieving a user's recently uploaded photos, Retrieving recently added comments for a particular user, Searching a user's photos, Filtering by tag, Uploading non-JPEG photos, Downloading the original photo. (my fav) Downloading the original photo: You can now download the original photo, including all EXIF data. This is accomplished by retrieving the feed with the query parameter and value…

New Calendar API features

Google Calendar API posts new read and write features. They have added: owncalendars: contains the collection of calendars that a user 'owns' allcalendars: contains all the calendars that a user has access to Useful for listing all your calendars if you manage a lot of them, or changing their settings all at once (both features have read and write capabilities)

First Google Gadget

After being inspired about Google Gadgets from the Google Developer Podcast I came up with one that my old crew team can use. We have a shared google calendar that some of us use to keep track of races, meetings, etc. This gadget pulls and formats it nicely for the google IG or desktop. Add to Google Javascript code for the gadget:

HOWTO: Displaying Blogger feeds with PHP

This HOWTO is going to follow the basic structure of the Python one. To start out you'll have to grab the Zend Google data Client Library and then set the include_path so you can use it We then import the parts the we'll need: One of the first things we're going to have to do is authenticate with google services. There are two ways to do this: AuthSub proxy authentication which has a user login using their own credentials, and ClientLogin username/password au thentication where you send a username and…

Quick Docs Api Example (python)

To use the gdata docs python client you need to upgrade to 1.0.7 or higher. First thing is to import the modules you'll need. Then, set up the usual authentication parameters for the client. The most basic query will just return all of your documents However, if we want to display just the spreadsheets, we build the query like this: Finally, we output the titles If we wanted to, we could also import the DateTime library and show when the document was last updated For me this outputs:

October Speedlinking

I haven't been able to post as often or as in depth as I'd like to have this past month. I chalk it up mostly to work, we all love 12 hour days right? But now that sign-off has passed and our last release of 2007 is calmly approaching (its on Friday), things have settled down a bit. Below are some great links from October, most of which I wanted to mention at some point and haven't gotten a chance to until now. Enjoy. The JavaScript Library for Google Calendar was released. This allows for authenticated…

Google I/O session videos posted with slides

As I said earlier, Quite a few presentations from Google I/O have been posted for your viewing pleasure. I'll be glued to these this weekend while I'm on call. Topics include Ajax KML Sketchup Android OpenSocial Appengine Data APIs Theory Talks Youtube Gears Mashups Maps and more!

Quick Google Authentication in PHP

Here is a quick way to authenticate against Google and retrieve a protected feed. It does not use the supported ClientLogin method but it does allow you to get to some unsupported feeds (Reader, Bookmarks, etc) The Zend Gdata library is required