<?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>Marcus Povey &#187; OpenDD</title>
	<atom:link href="http://www.marcus-povey.co.uk/tag/opendd-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcus-povey.co.uk</link>
	<description>Making the world a better place, one byte at a time...</description>
	<lastBuildDate>Fri, 16 Jul 2010 09:00:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='http://www.marcus-povey.co.uk/?pushpress=hub'/>
		<item>
		<title>OpenDD over Atom</title>
		<link>http://www.marcus-povey.co.uk/2008/05/20/opendd-over-atom/</link>
		<comments>http://www.marcus-povey.co.uk/2008/05/20/opendd-over-atom/#comments</comments>
		<pubDate>Tue, 20 May 2008 08:27:59 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=38</guid>
		<description><![CDATA[One of the often repeated comments that people have had regarding OpenDD was that we should do a version of it embedded in Atom 1. I would therefore like to introduce the first draft of OpenDD over Atom, submitted for discussion. In a nutshell, OpenDD over Atom makes use of Atom&#8217;s ability to embed other [...]]]></description>
			<content:encoded><![CDATA[<p>One of the often repeated comments that people have had regarding <a href="http://www.opendd.net">OpenDD</a> was that we should do a version of it embedded in <a href="http://tools.ietf.org/html/rfc4287">Atom</a> 1.</p>
<p>I would therefore like to introduce the first draft of <a href="http://www.opendd.net/resources/ODD_Over_Atom_V0.1(draft).pdf">OpenDD over Atom</a>, submitted for discussion.</p>
<p>In a nutshell, OpenDD over Atom makes use of Atom&#8217;s ability to embed other formats within the <code>content</code> tag and simply wraps a OpenDD element within an Atom entry with some additional data from the ODD element used in the Atom &#8220;envelope&#8221;</p>
<p>This seemed like the simplest solution, but let me know what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/05/20/opendd-over-atom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenDD PHP library</title>
		<link>http://www.marcus-povey.co.uk/2008/05/09/opendd-php-library/</link>
		<comments>http://www.marcus-povey.co.uk/2008/05/09/opendd-php-library/#comments</comments>
		<pubDate>Fri, 09 May 2008 20:39:08 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=36</guid>
		<description><![CDATA[I have just uploaded a PHP library for importing and exporting OpenDD documents. It is version 0.1 so it is still very much under development, but it should still be usable. Import example The import function accepts an OpenDD XML document and returns an ODDDocument object, which can then be iterated through to obtain access [...]]]></description>
			<content:encoded><![CDATA[<p>I have just <a href="http://www.opendd.net/resources/opendd-php_0_1.tar.gz">uploaded a PHP library</a> for importing and exporting <a href="http://www.opendd.net">OpenDD</a> documents. It is version 0.1 so it is still very much under development, but it should still be usable.</p>
<p><strong>Import example</strong></p>
<p>The import function accepts an OpenDD XML document and returns an <code>ODDDocument</code> object, which can then be iterated through to obtain access to the <code>ODD*</code> classes.</p>
<p>The XML file:</p>
<blockquote><p><code>&lt;odd version="1.0" generated="Fri, 09 May 2008 18:53:37 +0100"&gt;<br />
&lt;entity uuid="http://www.example.com/a" class="foo" subclass="http://www.example.com/b" /&gt;<br />
&lt;metadata uuid="http://www.example.com/c" entity_uuid="http://www.example.com/a" name="Squid" &gt;paper&lt;/metadata&gt;<br />
&lt;relationship uuid1="http://www.example.com/a" type="hates" uuid2="http://www.example.com/b" /&gt;<br />
&lt;/odd&gt;</code></p></blockquote>
<p>Example code to process it:</p>
<blockquote><p><code>$doc = ODD_Import($in);</code></p>
<p><code>foreach ($doc as $element)<br />
print_r($element); // Just echo, but you should probably do something meaningful.</code></p></blockquote>
<p><strong></strong></p>
<p><strong>Export example</strong></p>
<p>Export involves constructing an <code>ODDDocument</code> object and populating it with various classes, each one representing one of the OpenDD elements.</p>
<p>This object is then serialised.</p>
<p>Here is some example code:</p>
<blockquote><p><code>$out = new ODDDocument(); // Create new document<br />
</code><br />
<code>$entity = new ODDEntity("http://www.example.com/a", "foo", "http://www.example.com/b");<br />
$out-&gt;addElement($entity);</code></p>
<p><code>$meta = new ODDMetaData("http://www.example.com/c", "http://www.example.com/a", "Squid", "paper");<br />
$out-&gt;addElement($meta);</code></p>
<p><code>$rel = new ODDRelationship("http://www.example.com/a", "hates", "http://www.example.com/b");<br />
$out-&gt;addElement($rel);</code></p>
<p><code>echo ODD_Export($out); // Export<br />
</code></p></blockquote>
<p>When I get a chance I&#8217;ll upload some libraries in other languages, but if you feel inclined then feel free to implement your own!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/05/09/opendd-php-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More on OpenDD</title>
		<link>http://www.marcus-povey.co.uk/2008/05/08/more-on-opendd/</link>
		<comments>http://www.marcus-povey.co.uk/2008/05/08/more-on-opendd/#comments</comments>
		<pubDate>Thu, 08 May 2008 22:29:47 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=35</guid>
		<description><![CDATA[Just a quick note to join Ben in thanking Marc Canter for inviting us up to his home to discuss (among other things) the Open Data Definition. Marc made an excellent blog post on the subject which clearly illustrates that he completely groks what we are trying to do. We have some exciting times ahead [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left;" src="http://www.marcus-povey.co.uk/wp-content/marc.jpg" alt="" width="250" height="166" />Just a quick note to join <a href="http://ben.elgg.com/?action=comments&amp;postid=48">Ben</a> in thanking <a href="http://blog.broadbandmechanics.com/">Marc Canter</a> for inviting us up to his home to discuss (among other things) the <a href="http://www.opendd.net">Open Data Definition</a>.</p>
<p>Marc made an excellent <a href="http://blog.broadbandmechanics.com/2008/05/opendd">blog post</a> on the subject which clearly illustrates that he completely groks what we are trying to do.</p>
<p>We have some exciting times ahead of us, and are going to try and move this forward as fast as we can.</p>
<p>As always, if you want to be a part of it then <a href="http://groups.google.com/group/open-data-definition">please get involved</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/05/08/more-on-opendd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ODD + OpenID</title>
		<link>http://www.marcus-povey.co.uk/2008/05/07/odd-openid/</link>
		<comments>http://www.marcus-povey.co.uk/2008/05/07/odd-openid/#comments</comments>
		<pubDate>Wed, 07 May 2008 13:39:21 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[elgg]]></category>
		<category><![CDATA[openid]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=31</guid>
		<description><![CDATA[The Elgg team are out in San-Francisco this week meeting up with some of the guys out here and talking about Elgg and ODD. I will blog a bit more about it when I can, its been a bit mad so this is the first chance I&#8217;ve actually had to sit down at the computer [...]]]></description>
			<content:encoded><![CDATA[<p>The Elgg team are out in San-Francisco this week meeting up with some of the guys out here and talking about Elgg and ODD.</p>
<p>I will blog a bit more about it when I can, its been a bit mad so this is the first chance I&#8217;ve actually had to sit down at the computer since getting here (and I&#8217;m only able to do that because the combination of jet lag and the steak the size of my head I had for dinner last night has given me a case of insomnia).</p>
<p>I just wanted to share with you a thought that me and Ben had while enjoying the Californian sunshine inbetween meetings, namely a way to link ODD documents with OpenID.</p>
<p>For descovery of ODD documents, I was planning to use the meta / link approach similar to the way RSS is picked up. Now, it occurs to me that if we modify the spec slightly to say that a UUID should point to a page that can either be an ODD representation of the thing that it&#8217;s referring to or <em>knows where to get it</em> &#8211; i.e. has the appropriate header tag pointing to the url &#8211; then it becomes a trivial matter to turn a UUID into an OpenID URL.</p>
<p>Potentially quite useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/05/07/odd-openid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ODD and Import / Export</title>
		<link>http://www.marcus-povey.co.uk/2008/04/30/odd-and-import-export/</link>
		<comments>http://www.marcus-povey.co.uk/2008/04/30/odd-and-import-export/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 21:32:34 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[elgg]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=30</guid>
		<description><![CDATA[I have just uploaded the latest draft of the ODD specification to OpenDD.net, so pop over and take a look. Since the last release of the draft I&#8217;ve done a fair amount of work to simplify the format even further; simplifying terminology, clearing up some inconsistencies and dropping namespaces altogether. You&#8217;ll notice that we still [...]]]></description>
			<content:encoded><![CDATA[<p>I have just uploaded the latest draft of the <a href="http://www.opendd.net/resources/ODD_SpecV0.5(draft).pdf">ODD specification</a> to <a href="http://www.opendd.net">OpenDD.net</a>, so pop over and take a look.</p>
<p>Since the last release of the draft I&#8217;ve done a fair amount of work to simplify the format even further; simplifying terminology, clearing up some inconsistencies and dropping namespaces altogether.</p>
<p>You&#8217;ll notice that we still don&#8217;t define any terms. As Ben <a href="http://ben.elgg.com/?action=comments&amp;postid=46">touched on in a recent post</a>, we decided to not confuse the format by trying to tie it to any one application, while keeping it as easy as possibly to actually<em> use</em>. I&#8217;ll cover this in more detail a bit later&#8230;</p>
<p>So, lets talk about how I&#8217;m using ODD to implement full data import and export in the upcoming release of <a href="http://www.elgg.org">Elgg</a> &#8211; <a href="http://www.elgg.com">Elgg 1</a>.</p>
<p>For those who don&#8217;t already know, Elgg is an Open source social networking application engine. The previous version has been downloaded over 100K times, and Import and export was one of the most frequently requested enhancements.</p>
<p><strong>Export</strong></p>
<p>Export was a fairly trivial matter. The new version of Elgg employs a flexible event system, so all I had to do was trigger an &#8220;export&#8221; event.</p>
<p>This event is passed a GUID &#8211; an identifier identifying the thing you are exporting, and elements of the system (and thirdparty plugins) can listen for this event and react accordingly.</p>
<p>The event is essentially asking all parts of the Elgg application &#8211; core and plugins &#8211; <em>&#8220;Tell me all you know about X&#8221;</em>. The export listens to the answers and converts it into an ODD document that looks something like this:</p>
<blockquote><p><code>&lt;odd version="1.0" generated="Wed, 30 Apr 2008 22:21:55 +0100"&gt;</code></p>
<p><code><br />
&lt;entity uuid="http://example.com/odd/78/" class="object" subclass="blog" published="Fri, 18 Apr 2008 11:45:50 +0100" /&gt;</code></p>
<p><code><br />
&lt;metadata uuid="http://example.com/odd/78/attr/owner_uuid/" entity_uuid="http://example.com/odd/78/" name="owner_uuid" published="Fri, 18 Apr 2008 11:45:50 +0100" &gt;http://example.com/odd/77/&lt;/metadata&gt;</code></p>
<p><code><br />
&lt;metadata uuid="http://example.com/odd/78/attr/title/" entity_uuid="http://example.com/odd/78/" name="title" published="Fri, 18 Apr 2008 11:45:50 +0100" &gt;test&lt;/metadata&gt;</code></p>
<p><code><br />
&lt;metadata uuid="http://example.com/odd/78/attr/description/" entity_uuid="http://example.com/odd/78/" name="post" published="Fri, 18 Apr 2008 11:45:50 +0100" &gt;First post&lt;/metadata&gt;</code></p>
<p><code><br />
&lt;metadata uuid="http://example.com/odd/78/metadata/35/" entity_uuid="http://hexample.com/odd/78/" name="tags" type="metadata" owner_uuid="http://example.com/odd/77/" published="Fri, 18 Apr 2008 11:45:50 +0100" &gt;wibble&lt;/metadata&gt;</code></p>
<p><code><br />
&lt;/odd&gt;<br />
</code></p></blockquote>
<p>Here we see an entity (in this case a blog post), and some details about it (the metadata).</p>
<p><strong>Import</strong></p>
<p>Import is traditionally the more complicated part of the equation. ODD is trivial to parse, each tag is atomic and represents exactly one thing, this is a big advantage from the point of view of anyone implementing a reader for it since it makes the whole thing pretty much stateless.</p>
<p>ODD tags arrive, whether as a file to import or as a live feed, and an event is triggered. This event passes around the tag and essentially asks the question <em>&#8220;Does anyone know how to handle this?&#8221;</em>.</p>
<p>The stateless nature of ODD of course meaning that you don&#8217;t have to process the entire file, making it a trivial matter to implement a reader using a <a href="http://en.wikipedia.org/wiki/Simple_API_for_XML">SAX parser</a>.</p>
<p>That just about covers it, I&#8217;ll be posting some example code in a few days (workload permitting) so hopefully people can start getting stuck in. If you want to get involved in development, please head over to the <a href="http://groups.google.co.uk/group/open-data-definition?hl=en">ODD group</a>.</p>
<p>A final note: I will be in San-Francisco all next week, so if you are in the bay area and feel like having a chat about ODD or Elgg, then please get in touch!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/04/30/odd-and-import-export/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ODD ZDNet article</title>
		<link>http://www.marcus-povey.co.uk/2008/04/29/odd-zdnet-article/</link>
		<comments>http://www.marcus-povey.co.uk/2008/04/29/odd-zdnet-article/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 09:17:31 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[data portability]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=29</guid>
		<description><![CDATA[Just a quick heads up, Ben has posted an ODD article over at ZDNet which is well worth a read. Ben discusses ODD and the other data portability formats in the area and explains where ODD fits in. Enjoy!]]></description>
			<content:encoded><![CDATA[<p>Just a quick heads up, <a href="http://ben.elgg.com/">Ben</a> has posted an <a href="http://blogs.zdnet.com/social/?p=477">ODD article</a> over at ZDNet which is well worth a read.</p>
<p>Ben discusses ODD and the other data portability formats in the area and explains where ODD fits in.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/04/29/odd-zdnet-article/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ODD @ OGN</title>
		<link>http://www.marcus-povey.co.uk/2008/04/23/odd-ogn/</link>
		<comments>http://www.marcus-povey.co.uk/2008/04/23/odd-ogn/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 11:53:18 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[Oxford Geek Nights]]></category>
		<category><![CDATA[oxford geek night]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=26</guid>
		<description><![CDATA[Last night I had the privilege of giving a short talk at the Oxford Geek Night about the Open Data Definition. Its been a while since I have done anything remotely like public speaking so I was rather glad that the event had plenty of &#8220;Free as in Beer&#8221; beer. Those of you who are [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left;" src="http://oxford.geeknights.net/images_animals/6.jpg" alt="" width="161" height="130" />Last night I had the privilege of giving a short talk at the <a href="http://oxford.geeknights.net/2008/apr-22nd/">Oxford Geek Night</a> about the <a href="http://www.opendd.net">Open Data Definition</a>.</p>
<p>Its been a while since I have done anything remotely like public speaking so I was rather glad that the event had plenty of &#8220;Free as in Beer&#8221; beer.</p>
<p>Those of you who are interested, I have uploaded a PDF version of my slides <a href="http://www.marcus-povey.co.uk/wp-content/odd_geeknightpresentation.pdf">here</a>.</p>
<p>ODD has generated a fair amount of comment. One commenter suggested that we were re-inventing the wheel somewhat.</p>
<p>Maybe that is partially true &#8211; there are other data portability formats available, RDF for example or SIOC (apparently pronounced &#8220;Shock&#8221;, although I&#8217;m not entirely sure how). The point we are making with ODD is that powerful as many of these formats are, they are just too complicated and in many cases ambiguous, and for those reasons are not going to see widespread adoption.</p>
<p>Tracked vehicles are very powerful and versatile, but sometimes you just need a bike.</p>
<p><a href="http://en.wikipedia.org/wiki/Rss">RSS</a> is a good example of what I&#8217;m talking about. RSS is nice and simple, and as a result has seen widespread industry adoption. Crucially too there are many applications that <strong>consume</strong> RSS as well as just produce it, which is something not many other formats can boast.</p>
<p>Our view is that while many of these formats are academically brilliant and conceptually very clever, but they are just too complicated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/04/23/odd-ogn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Data Definition Website is live!</title>
		<link>http://www.marcus-povey.co.uk/2008/04/18/open-data-definition-website-is-live/</link>
		<comments>http://www.marcus-povey.co.uk/2008/04/18/open-data-definition-website-is-live/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 14:21:41 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[data portability]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=24</guid>
		<description><![CDATA[Just a quick note to say that the official Open Data Definition website has gone live! Ben informed me of this just as I read this comment on an old interview he did on the subject of data portability. There&#8217;s your answer clappingtree, albeit a little late!]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to say that the official <a href="http://www.opendd.net/">Open Data Definition website</a> has gone live!</p>
<p><a href="http://ben.elgg.com/">Ben</a> informed me of this just as I read <a href="http://talkback.zdnet.com/5208-11743-0.html?forumID=1&amp;threadID=28322&amp;messageID=561412">this comment</a> on an <a href="http://blogs.zdnet.com/social/?p=43">old interview</a> he did on the subject of data portability.</p>
<p>There&#8217;s your answer <cite>clappingtree</cite>, albeit a little late!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/04/18/open-data-definition-website-is-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing the Open Data Definition</title>
		<link>http://www.marcus-povey.co.uk/2008/04/16/introducing-the-open-data-definition/</link>
		<comments>http://www.marcus-povey.co.uk/2008/04/16/introducing-the-open-data-definition/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 18:41:52 +0000</pubDate>
		<dc:creator>Marcus Povey</dc:creator>
				<category><![CDATA[OpenDD]]></category>
		<category><![CDATA[elgg]]></category>
		<category><![CDATA[data portablity]]></category>

		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=23</guid>
		<description><![CDATA[Data portability is a bit of a hot topic at the moment, and a recent article in the Economist illustrates that this is becoming seen as an issue outside the technical blogging crowd. So it seems like a good time for me to blog about one of the funky things I&#8217;ve been working on recently, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left;" src="http://www.marcus-povey.co.uk/wp-content/odd_logo.gif" alt="" width="221" height="64" />Data portability is a bit of a hot topic at the moment, and a <a href="http://www.economist.com/business/displaystory.cfm?story_id=10880936">recent article</a> in the Economist illustrates that this is becoming seen as an issue outside the technical blogging crowd.</p>
<p>So it seems like a good time for me to blog about one of the funky things I&#8217;ve been working on recently, the <a href="http://www.opendd.net">Open Data Definition</a> (ODD).</p>
<p>So, what is ODD?</p>
<p>ODD is an XML based data exchange format which is designed to be simple to implement and use. It consists of a framework and an extension format defining keywords.</p>
<p>The development of ODD fell out of a need for import/export functionality in the new version of Elgg. Import/export was one of the most requested features for previous Elgg incarnations, but be quickly realised that it could be converted into something that had many more uses.</p>
<p>As covered in the Economist article, Data silos don&#8217;t cut it anymore. Users want to be able to move their accounts between social networks and have friends on different networks without having thousands of accounts (an issue we looked at solving in a slightly different way with <a href="http://ex.plode.us">explode</a>).</p>
<p>When looking for a solution we did look at adapting one or more of the <a href="http://wiki.dataportability.org/display/dpmain/Standards+Communities+and+Formats">existing data portability solutions</a>, but to say that none of them seemed suitable was somewhat of an understatement. Many seemed to fall foul of a problem common&#8230; they are just too damn complicated for widespread adoption!</p>
<p>ODD, as mentioned previously, is XML based. When making it I used <a href="http://www.marcus-povey.co.uk/2008/04/08/elgg-1-object-model/">Elgg 1&#8242;s object model</a> as a guide and reduced things down to their lowest common denominators, therefore we have three main components &#8211; Entities, Metadata and Relationships.</p>
<p>These components are atomic, and the format itself has virtually no nesting. This is slightly unconventional, but it makes the format easy to parse, supports partial import/export and makes it easy to extend the format to support the live pinging of updates.</p>
<p>This gives us:</p>
<p><strong>Entity</strong></p>
<p>Entities are &#8220;things&#8221;, for example a web log post or a user account. The entity has a &#8220;class&#8221; attribute to specify what type of entity it is and can be subclassed.</p>
<p>All entities are identified by a UUID, this is important and I&#8217;ll get on to that later.</p>
<p><strong>Metadata</strong></p>
<p>Metadata provides information about an entity as a name/value pair. Optionally, you can give a type to specify the type of metadata &#8211; e.g. <em>attribute</em> or <em>annotation</em>.</p>
<p><strong>Relationship</strong></p>
<p>As the name suggests, a relationship defines the relationship between two entities. To do this they use a &#8220;verb&#8221; (as defined in the extension format mentioned above). Doing it this way permits setting and un-setting operations &#8211; for example, <em>friend</em> <em>&amp; unfriend</em>, <em>join &amp; leave</em>.</p>
<p><strong>The UUID</strong></p>
<p>An important concept in all this is the UUID.</p>
<p>The UUID is a URL which must point to an ODD representation of the thing it represents. I think this is quite a powerful concept since it permits truly distributed networks to be build.</p>
<p><strong>An example</strong></p>
<p>To give you an idea of how this might look, here&#8217;s an example ODD document.</p>
<blockquote><p><code>&lt;odd&gt;<br />
&lt;header version=”1.0” extension=”SN:1.0” generated=”....” /&gt;</code></p>
<p><code>&lt;entity uuid=”http://foo.com/export/34/” class=”object” subclass=”blog” /&gt;</code></p>
<p><code>&lt;metadata entity_uuid=”http://foo.com/export/34/” uuid=”http://foo.com/export/34/metadata/45” name=”owner”&gt;http://foo.com/export/24&lt;/metadata&gt;</code></p>
<p><code>&lt;metadata entity_uuid=”http://foo.com/export/34/” uuid=”http://foo.com/export/34/metadata/49” name=”content”&gt;I saw Sindy at the mall today, she thinks she's all that, but she's not all that... I'm going to cry now and listen to Emo music.&lt;/metadata&gt;</code></p>
<p><code>&lt;metadata entity_uuid=”http://foo.com/export/34/” uuid=”http://foo.com/export/34/metadata/4” name=”tag”&gt;angst&lt;/metadata&gt;</code></p>
<p><code>&lt;metadata entity_uuid=”http://foo.com/export/34/” uuid=”http://foo.com/export/34/metadata/5” name=”tag”&gt;emo&lt;/metadata&gt;</code><br />
<code>&lt;/odd&gt;</code></p></blockquote>
<p>Pretty simple, I hope you&#8217;ll agree!</p>
<p>The only extra thing to note is the header element, which simply gives some version information about the framework and extension being used.</p>
<p>I will be giving a brief presentation about this at the <a href="http://oxford.geeknights.net/2008/apr-22nd/">Oxford Geek Night</a> on the 22nd and will be answering questions after the event (and <a href="http://upcoming.yahoo.com/event/473595/">again in San-francisco</a> on May 7th), feel free to come along!</p>
<p>In the meantime, have a look at <a href="http://www.opendd.net">http://www.opendd.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcus-povey.co.uk/2008/04/16/introducing-the-open-data-definition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
