As I was creating my first robot, I wasn’t surprised on how little the number of resources available in the internet were, specially about capabilities.xml. I didn’t find any documentation on its schema yet. So, I decided to write about what I’ve learned.

My robot only needs the “document_changed” and “wavelet_self_added” events but I wanted to know what possible tags  I can add up to the file for my robot settings. As of now I only know two properties that you can set in the file, the capabilities/events and the version of the file.

Here’s my capabilities.xml
Continue reading Capabilities.xml

Debugging Wave Robots

Debugging robots made in Google Wave can be a little difficult because it can only be tested on the server and it can be difficult to see how it is sent.

A way I have found is quite useful is to use the app engine log. On the log tab select “Requests only” and then see that data being sent to the robot. It is this data the robot can see, if it is not here then the robot API is not receiving the data.

I hope this help you debug and get at better understanding of your robot.

Update 19 aug 2009: If you want to format the JSON try the JSON formatter.