Hello Kai,
This looks really interesting and thank you for sharing. We could
really use more scripts and examples like this. It looks like you are
using wget for the HTTP GET operations, and one of the tools that you
might want to consider is curl for performing PUTs and DELETEs. If you
want to stick with wget, it might be possible to use POST with the X-
HTTP-Method-Override header to specify a PUT or DELETE. Here are some
resources that you might find useful: The first is an article on using
curl Google Data APIs, and the second (which you've probably already
read) is the developer guide with examples in HTTP and XML instead of
using one of the provided client libraries.
http://code.google.com/support/bin/answer.py?answer=78451&topic=12022
http://code.google.com/apis/contacts/developers_guide_protocol.html
Please keep me updated on this. Working with tools like curl and wget
can be extremely helpful in understanding how these AtomPub protocols
work.
Happy coding,
Jeff
> It useshttp://
packages.qa.debian.org/x/xml2.htmlwhich attempts to