<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mastering WAVE &#187; capabilities.xml</title>
	<atom:link href="http://www.masteringwave.com/tag/capabilities-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.masteringwave.com</link>
	<description>Google Wave Made Easy</description>
	<lastBuildDate>Wed, 07 Jul 2010 10:17:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.masteringwave.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>New capabilities.xml format</title>
		<link>http://www.masteringwave.com/2009/11/new-capabilitiesxml/</link>
		<comments>http://www.masteringwave.com/2009/11/new-capabilitiesxml/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 15:34:28 +0000</pubDate>
		<dc:creator>Daniel Graversen</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[capabilities.xml]]></category>
		<category><![CDATA[profile]]></category>

		<guid isPermaLink="false">http://www.masteringwave.com/?p=446</guid>
		<description><![CDATA[
			
				
			
		
The format of capabilities.xml has been changed. I have looked at the http://code.google.com/intl/da/apis/wave/extensions/robots/ and it is now possible to also specify the profile.
The new code looks like the following.
&#60;w:robot xmlns:w=&#34;http://wave.google.com/extensions/robots/1.0&#34;&#62; 
&#60;w:version&#62;0.1&#60;/w:version&#62; 
&#60;w:capabilities&#62; 
&#160; &#60;w:capability name=&#34;BLIP_SUBMITTED&#34;/&#62; 
&#160; &#60;w:capability name=&#34;DOCUMENT_CHANGED&#34;/&#62; 
&#60;/w:capabilities&#62; 
&#60;w:profile name=&#34;Cartoony&#34; imageurl=&#34;http://cartoonybot.appspot.com/public/avatar.png&#34; profileurl=&#34;http://cartoonybot.appspot.com&#34;/&#62; 
&#60;/w:robot&#62;
This is much nicer than using the profile servlet, which served the [...]


Related posts:<ol><li><a href='http://www.masteringwave.com/2009/08/capabilities-xml/' rel='bookmark' title='Permanent Link: Capabilities.xml'>Capabilities.xml</a> <small> As I was creating my first robot, I wasn&#8217;t...</small></li>
<li><a href='http://www.masteringwave.com/2009/09/new-robot-api/' rel='bookmark' title='Permanent Link: New Robot API'>New Robot API</a> <small> Just found that a new JAVA API of the...</small></li>
<li><a href='http://www.masteringwave.com/2009/08/at-buddy/' rel='bookmark' title='Permanent Link: At-Buddy'>At-Buddy</a> <small> When I was just starting to learn Google Wave...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.masteringwave.com%2F2009%2F11%2Fnew-capabilitiesxml%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.masteringwave.com%2F2009%2F11%2Fnew-capabilitiesxml%2F&amp;source=masteringwave&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>The format of capabilities.xml has been changed. I have looked at the <a href="http://code.google.com/intl/da/apis/wave/extensions/robots/">http://code.google.com/intl/da/apis/wave/extensions/robots/</a> and it is now possible to also specify the profile.</p>
<p>The new code looks like the following.</p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:robot</span> <span style="color: #000066;">xmlns:w</span>=<span style="color: #ff0000;">&quot;http://wave.google.com/extensions/robots/1.0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> <br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0.1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:capability</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;BLIP_SUBMITTED&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span> <br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:capability</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;DOCUMENT_CHANGED&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span> <br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:capabilities<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:profile</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Cartoony&quot;</span> <span style="color: #000066;">imageurl</span>=<span style="color: #ff0000;">&quot;http://cartoonybot.appspot.com/public/avatar.png&quot;</span> <span style="color: #000066;">profileurl</span>=<span style="color: #ff0000;">&quot;http://cartoonybot.appspot.com&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span> <br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:robot<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>This is much nicer than using the profile servlet, which served the same informations. With the help of this new XML format you can delete your profile servlet. I cannot imagine a time, where the profile image needs to change dependant of which user is calling it. I don&#8217;t think you have the informaiton in the request sendt to get the profile informaiton. So thise values will always be hardcoded.</p>
<p>It does not provide much of a change in Python, since python already generates the document. Then we just need the Java API also to follow the python, so it also can create the cababilites based on configuration in a class file.</p>


<p>Related posts:<ol><li><a href='http://www.masteringwave.com/2009/08/capabilities-xml/' rel='bookmark' title='Permanent Link: Capabilities.xml'>Capabilities.xml</a> <small> As I was creating my first robot, I wasn&#8217;t...</small></li>
<li><a href='http://www.masteringwave.com/2009/09/new-robot-api/' rel='bookmark' title='Permanent Link: New Robot API'>New Robot API</a> <small> Just found that a new JAVA API of the...</small></li>
<li><a href='http://www.masteringwave.com/2009/08/at-buddy/' rel='bookmark' title='Permanent Link: At-Buddy'>At-Buddy</a> <small> When I was just starting to learn Google Wave...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.masteringwave.com/2009/11/new-capabilitiesxml/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Robot API</title>
		<link>http://www.masteringwave.com/2009/09/new-robot-api/</link>
		<comments>http://www.masteringwave.com/2009/09/new-robot-api/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 09:26:50 +0000</pubDate>
		<dc:creator>Daniel Graversen</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[abstractrobot]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[capabilities.xml]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.masteringwave.com/2009/09/new-robot-api/</guid>
		<description><![CDATA[
			
				
			
		
Just found that a new JAVA API of the robots is available on the download site. The difference in the code can be seen on the changes page.
One interesting concept is the AbstractRobot which has been added. From my look at it this class gives is able to create the capabilities XML and the profile [...]


Related posts:<ol><li><a href='http://www.masteringwave.com/2010/03/new-google-wave-robot-api-v2/' rel='bookmark' title='Permanent Link: New Google Wave Robot API v2'>New Google Wave Robot API v2</a> <small> Finally there is an update to the Google Wave...</small></li>
<li><a href='http://www.masteringwave.com/2010/05/new-wave-features-for-robots-api/' rel='bookmark' title='Permanent Link: New Wave Features for Robots API!'>New Wave Features for Robots API!</a> <small> Other nice features of Google Wave are now released!...</small></li>
<li><a href='http://www.masteringwave.com/2009/09/add-robot/' rel='bookmark' title='Permanent Link: Add-Robot'>Add-Robot</a> <small>     A robot which can stores user favorite robots using...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.masteringwave.com%2F2009%2F09%2Fnew-robot-api%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.masteringwave.com%2F2009%2F09%2Fnew-robot-api%2F&amp;source=masteringwave&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Just found that a new JAVA API of the robots is available on the download <a href="http://code.google.com/p/wave-robot-java-client/downloads/list">site</a>. The difference in the code can be seen on the <a href="http://code.google.com/p/wave-robot-java-client/source/detail?r=14">changes</a> page.</p>
<p>One interesting concept is the <a href="http://code.google.com/p/wave-robot-java-client/source/diff?spec=svn14&amp;r=14&amp;format=side&amp;path=/trunk/src/com/google/wave/api/AbstractRobot.java">AbstractRobot</a> which has been added. From my look at it this class gives is able to create the capabilities XML and the profile information. So you only need to implement one class and then you can have all the information you need one place. This will make it much easier to program robots. The Rave Ruby frameworks has something like this, you just implement the methods for each event you want to have. Then the framework can manage to create the capabilities XML file.  The AbstractRobotServlet and ProfileServlet was not changed, this could lead to thoughts about deprecation of these classes.</p>
<p>Of other changes the Annotations and Range has better toString functions, which was missing when you needed to debug applications.</p>
<p>I hope there will be posted a change to the <a href="http://code.google.com/apis/wave/extensions/robots/java-tutorial.html">tutorial</a>, so we can start using the AbstractRobot instead.</p>


<p>Related posts:<ol><li><a href='http://www.masteringwave.com/2010/03/new-google-wave-robot-api-v2/' rel='bookmark' title='Permanent Link: New Google Wave Robot API v2'>New Google Wave Robot API v2</a> <small> Finally there is an update to the Google Wave...</small></li>
<li><a href='http://www.masteringwave.com/2010/05/new-wave-features-for-robots-api/' rel='bookmark' title='Permanent Link: New Wave Features for Robots API!'>New Wave Features for Robots API!</a> <small> Other nice features of Google Wave are now released!...</small></li>
<li><a href='http://www.masteringwave.com/2009/09/add-robot/' rel='bookmark' title='Permanent Link: Add-Robot'>Add-Robot</a> <small>     A robot which can stores user favorite robots using...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.masteringwave.com/2009/09/new-robot-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
