GNOME Bugzilla – Bug 523630
Google contact API support for libgdata/libgdata-google
Last modified: 2008-04-17 07:02:31 UTC
Attached you find a patch that adds some new API's to GDataEntry and GDataFeed so that those can be used with the feeds returned by Googles just recently release contact API. Moreover this changes the gdata-service-iface (and the derived gdata-google-service) API in the following manner: - just as the create-API, the update APIs will return the new GDataEntry (containing the new revision-string) that the server sends as a response for a successfull update (or NULL in case an error happens) - the delete API will return a gboolean indicating success resp. failure - all apis take an GError, which will pass the HTTP/libsoup error code to the caller
Created attachment 107704 [details] [review] Patch described above
I'll attach a patch for the google calendar backend as soon as I have it ready.
Created attachment 107706 [details] [review] Patch that makes the google calendar backend compile with the new api This is just a quick fix; the patch does not actually make use of the error-handling of the new API. Someone that knows calendar backends better than me should do that (if needed at all).
As the only code which (currently) uses this is in the calendar, re-assingining it so that relevant people get mailed.
Jörgen, I recall you saying that you needed to bump the libsoup requirements. Is that required for these changes, or just the contacts backend?
No, actually libgdata already required libsoup 2.4 before my changes. So eds trunk already depends on soup 2.4, no changes needed.
Okay, that is cool.
I reviewed the patch and committed it to trunk with some minor changes. In revisions 8641 to 8649.
Setting the status accordingly.
Closing as the patch is committed.