<?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>danbri's foaf stories</title>
	<atom:link href="http://danbri.org/words/feed" rel="self" type="application/rss+xml" />
	<link>http://danbri.org/words</link>
	<description>the web, the world, us, you and them</description>
	<lastBuildDate>Thu, 14 Jan 2010 13:20:37 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RDFa in Drupal 7: last call for feedback before alpha release</title>
		<link>http://danbri.org/words/2010/01/14/549</link>
		<comments>http://danbri.org/words/2010/01/14/549#comments</comments>
		<pubDate>Thu, 14 Jan 2010 13:07:04 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[FOAF]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=549</guid>
		<description><![CDATA[Stéphane has just posted a call for feedback on the Drupal 7 RDFa design, before the first official alpha release.
First reaction above all, is that this is great news! Very happy to see this work maturing.
I&#8217;ve tried to quickly suggest some tweaks to the vocab, by hacking his diagram in photoshop. All it really shows [...]]]></description>
			<content:encoded><![CDATA[<p>Stéphane has just posted a <a href="http://openspring.net/blog/2010/01/12/rdfa-in-drupal-7-last-call-for-feedback-before-alpha-release?">call for feedback on the Drupal 7 RDFa design</a>, before the first official alpha release.</p>
<p>First reaction above all, is that this is great news! Very happy to see this work maturing.</p>
<p>I&#8217;ve tried to quickly suggest some tweaks to the vocab, by hacking his diagram in photoshop. All it really shows is that I&#8217;ve forgotten how to use photoshop, but I&#8217;ll upload it here anyway.</p>
<p><a href="http://danbri.org/words/wp-content/uploads/2010/01/drupal.png"><img class="alignnone size-medium wp-image-550" title="drupal design scribbles" src="http://danbri.org/words/wp-content/uploads/2010/01/drupal-300x235.png" alt="" width="300" height="235" /></a></p>
<p>So if you click through to the full image, you can see my rough edits.</p>
<p>I&#8217;d suggest:</p>
<ol>
<li>Use (dcterms) dc:subject as the way of pointing from a document to it&#8217;s SKOS subject.</li>
<li>Use (dcterms) dc:creator as the relationship between a document and the person that created it (note that in FOAF, we now declare foaf:maker to map as an equivalentProperty to (dcterms)dc:creator).</li>
<li>Distinguish between the description of the person versus their account in the Drupal system; I would use foaf:Person for the human, and sioc:User (a kind of foaf:OnlineAccount) as the drupal account. The foaf property to link from the former to the latter is foaf:account (new name for foaf:holdsAccount).</li>
<li>Focus on SIOC where it is most at-home: in modelling the structure of the discussion; threading, comments and dialog.</li>
<li>Provide a generated URI for the person. I don&#8217;t 100% understand Stephane&#8217;s comment, &#8220;Hash URIs for identifying things different from the page describing them can be implemented quite easily but this case hasn&#8217;t emerged in core&#8221; but perhaps this will be difficult? I&#8217;d suggest using URIs ending &#8220;userpage#!person&#8221; so the fragment IDs can&#8217;t clash with HTML usage.</li>
</ol>
<p>If the core release can provide this basic structure, including a hook for describing the human person rather than the site-specific account (ie. sioc:User) then extensions should be able to add their own richness. The current markup doesn&#8217;t quite work for that end, as the human user is only described indirectly (unless  I understand current reading of sioc:User).</p>
<p>Anyway, I&#8217;m nitpicking! This is really great, and a nice and well-deserved boost for the RDFa community.</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2010/01/14/549/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WOT in RDFa?</title>
		<link>http://danbri.org/words/2010/01/05/541</link>
		<comments>http://danbri.org/words/2010/01/05/541#comments</comments>
		<pubDate>Tue, 05 Jan 2010 21:59:19 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[FOAF]]></category>
		<category><![CDATA[Project ideas]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[SocialWeb]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=541</guid>
		<description><![CDATA[(This post is written in RDFa&#8230;)

To the best of my knowledge, Ludovic Hirlimann&#8217;s PGP fingerprint is 6EFBD26FC7A212B2E093 B9E868F358F6C139647C. You might also be interested in his photos on flickr, or his workplace, Mozilla Messaging. The GPG key details were checked over a Skype video call with me, Ludo and Kaare A. Larsen.



This blog post isn&#8217;t signed, [...]]]></description>
			<content:encoded><![CDATA[<p>(This post is written in RDFa&#8230;)</p>
<p about="http://perso.hirlimann.net/~ludo/foaf.rdf#me" typeof="foaf:Person" xmlns:wot="http://xmlns.com/wot/0.1/">
To the best of my knowledge, <a rel="foaf:homepage foaf:account" href="http://perso.hirlimann.net/~ludo/">Ludovic Hirlimann</a>&#8217;s PGP fingerprint is <span property="wot:fingerprint">6EFBD26FC7A212B2E093 B9E868F358F6C139647C</span>. You might also be interested in his <a rel="foaf:account" href="http://www.flickr.com/photos/lhirlimann/">photos on flickr</a>, or his workplace, <a rel="foaf:workplaceHomepage" href="http://www.mozillamessaging.com/">Mozilla Messaging</a>. The GPG key details were checked over a Skype video call with me, Ludo and <span rel="foaf:knows"><a rel="foaf:account" href="http://www.google.com/profiles/Kaare.A.Larsen">Kaare A. Larsen</a></span>.<br />
<a rel="foaf:depiction" href="http://danbri.org/words/wp-content/uploads/2010/01/ludo-verified.png"><img src="http://danbri.org/words/wp-content/uploads/2010/01/ludo-verified-299x300.png" alt="" title="ludo-verified" width="299" height="300" class="alignnone size-medium wp-image-544" /></a>
</p>
<p>
This blog post isn&#8217;t signed, the URIs it referenced don&#8217;t use SSL, and the image could be switched by evildoers at any time! But the question&#8217;s worth asking: is this kind of scruffy key info useful, if there&#8217;s enough of it? If I wrote it somehow in Thunderbird&#8217;s editor instead, would it be easier to sign? Will 99.9% of humans ever know enough of what&#8217;s going on to understand what signing a bunch of complex markup means?
</p>
<p>
For earlier <a href="http://lists.w3.org/Archives/Public/www-rdf-interest/2002Apr/0016.html">discussion</a> of this kind of thing, see Joseph Reagle&#8217;s <a href="http://www.w3.org/2002/03/key-free-trust.html">Key-free Trust</a> piece (&#8220;Does Google Show How the Semantic Web Could Replace Public Key Infrastructure?&#8221;). It&#8217;s more PKI-free trust than PK-free.</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2010/01/05/541/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My &#8217;70s Schoolin&#8217; (in RDFa)</title>
		<link>http://danbri.org/words/2010/01/03/532</link>
		<comments>http://danbri.org/words/2010/01/03/532#comments</comments>
		<pubDate>Sun, 03 Jan 2010 10:48:35 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[History]]></category>
		<category><![CDATA[Project ideas]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=532</guid>
		<description><![CDATA[I went to Hamsey Green school in the 1970s.
Looking in the UK Govt datasets, I see it is listed there with a homepage of &#8216;http://www.hamsey-green-infant.surrey.sch.uk&#8217; (which doesn&#8217;t seem to work).
Some queries I&#8217;m trying via the SPARQL dataset (I&#8217;ll update this post if I make them work&#8230;)
First a general query, from which I found the URL [...]]]></description>
			<content:encoded><![CDATA[<p>I went to <a rel="foaf:schoolHomepage" href="http://hginfant.schoolwebbuilder.co.uk/">Hamsey Green school</a> in the 1970s.</p>
<p>Looking in the UK Govt datasets, I see it is listed there with a homepage of &#8216;http://www.hamsey-green-infant.surrey.sch.uk&#8217; (which doesn&#8217;t seem to work).</p>
<p>Some queries I&#8217;m trying via the <a href="http://blogs.talis.com/n2/archives/818">SPARQL dataset</a> (I&#8217;ll update this post if I make them work&#8230;)</p>
<p>First a general query, from which I found the URL manually, &#8230;</p>
<pre>select distinct ?x ?y where { ?x &lt;http ://education.data.gov.uk/def/school/websiteAddress&gt; ?y . }
</pre>
<p>Then I can go back into the data, and find other properties of the school:</p>
<pre>PREFIX sch-ont:  &lt;http://education.data.gov.uk/def/school/&gt;
select DISTINCT ?x ?p ?z WHERE
{
?x sch-ont:websiteAddress "http://www.hamsey-green-infant.surrey.sch.uk" .
?x ?p ?z .
}

Results in <a href="http://services.data.gov.uk/education/sparql?query=PREFIX+sch-ont%3A++&lt;http%3A%2F%2Feducation.data.gov.uk%2Fdef%2Fschool%2F&gt;%0D%0Aselect+DISTINCT+%3Fx+%3Fp+%3Fz+WHERE+%0D%0A{+%0D%0A%3Fx+sch-ont%3AwebsiteAddress+&quot;http%3A%2F%2Fwww.hamsey-green-infant.surrey.sch.uk&quot;+.%0D%0A%3Fx+%3Fp+%3Fz+.+%0D%0A}&amp;output=json">json</a>
</pre>
<p>How to make this presentable? I can&#8217;t get output=html to work, but if I <a href="http://services.data.gov.uk/education/sparql?query=PREFIX+sch-ont%3A++%3Chttp%3A%2F%2Feducation.data.gov.uk%2Fdef%2Fschool%2F%3E%0D%0ACONSTRUCT+{%0D%0A+%3Fx+%3Fp+%3Fz+.%0D%0A}%0D%0AWHERE%0D%0A{%0D%0A%3Fx+sch-ont%3AwebsiteAddress+%22http%3A%2F%2Fwww.hamsey-green-infant.surrey.sch.uk%22+.%0D%0A%3Fx+%3Fp+%3Fz+.%0D%0A}%0D%0A">run this &#8216;construct&#8217; query</a> it creates a simple flat RDF document:</p>
<pre>PREFIX sch-ont:  &lt;http://education.data.gov.uk/def/school/&gt;
CONSTRUCT {
 ?x ?p ?z .
}
WHERE
{
?x sch-ont:websiteAddress "http://www.hamsey-green-infant.surrey.sch.uk" .
?x ?p ?z .
}
</pre>
<p>So, where are we here? We see two RDF datasets about the same school. One is the simple claim that I attended the</p>
<p>school at some time in the past (1976-1978, in fact). The other describes many of its current attributes; most of which may be different now from in the past. In my sample RDFa, I used the most popular Web link for the school to represent it; in the <a href="http://www.edubase.gov.uk/home.xhtml">Edubase</a> government data, it has a Web site address but it seems not to be current.</p>
<p>Assuming we&#8217;d used the same URIs for the school&#8217;s homepage (or indeed for the school itself) then these bits of data could be joined.</p>
<p>Perhaps a more compelling example of data linking would be to show this schools data mixed in with something like MySociety&#8217;s excellent <a href="http://www.mysociety.org/projects/travelmaps/">interactive travel maps</a>? Still, the example above shows that basic &#8220;find people who went to my school&#8221; queries should be very possible&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2010/01/03/532/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress trust syndication revisited: F2F plugin</title>
		<link>http://danbri.org/words/2009/12/29/523</link>
		<comments>http://danbri.org/words/2009/12/29/523#comments</comments>
		<pubDate>Tue, 29 Dec 2009 21:58:39 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[FOAF]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[SPARQL]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=523</guid>
		<description><![CDATA[This is a followup to my Syndicating trust? Mediawiki, Wordpress and  OpenID post. I now have a simple implementation that exports data from WordPress: the F2F plugin. Also some experiments with consuming aggregates of this information from multiple sources.
FOAF has always had a bias towards describing social things that are shown rather than merely [...]]]></description>
			<content:encoded><![CDATA[<p>This is a followup to my <a href="http://danbri.org/words/2009/10/25/504">Syndicating trust? Mediawiki, Wordpress and  OpenID</a> post. I now have a simple implementation that exports data from WordPress: the <a href="http://wiki.foaf-project.org/w/F2FPlugin">F2F plugin</a>. Also some experiments with consuming aggregates of this information from multiple sources.</p>
<p>FOAF has always had a bias towards describing social things that are <em>shown</em> rather than merely <em>stated</em>; this is particularly so in matters of trust. One way of showing basic confidence in others, is by accepting their comments on your blog or Web site. <em>F2F</em> is an experiment in syndicating information about these kinds   of everyday public events. With <a href="http://wiki.foaf-project.org/w/F2FPlugin">F2F</a>, others can   share and re-use this sort of information too; or deal with it in   aggregate to spread the risk and bring more evidence into their   trust-related decisions. Or they might just use it to find interesting   people&#8217;s blogs.</p>
<p><a href="http://en.wikipedia.org/wiki/OpenID">OpenID</a> is a technology that lets people authenticate by showing they control some URL. WordPress blogs that use the OpenID plugin slowly accumulate a catalogue of URLs when people leave comments that are approved or rejected. In my previous post I showed how I was using the list of approved OpenIDs from my blog to help configure the administrative groups on the FOAF wiki.</p>
<p>This may all raise more questions than it answers. <em>What level of detail is appropriate? are numbers useful, or just  lists? in what circumstances is it sensible or risky to merge such data?  is there a reasonable use for both &#8216;accept&#8217; lists and &#8216;unaccept&#8217; lists?  What can we do with a list of OpenID URLs once we&#8217;ve got it? How do we know when two bits of trust &#8216;evidence&#8217; actually share a common source? How do we find this information from the homepage of a blog?</em></p>
<p>If you install the F2F plugin (and have been using the <a href="http://wordpress.org/extend/plugins/openid/">OpenID plugin</a> long enough to have accumulated a database table of OpenIDs associated with submitted comments), you can experiment with this. Basically it will generate HTML in RDFa format describing a list of people . See the <a href="http://wiki.foaf-project.org/w/F2FPlugin">F2F Wiki page</a> for details and examples.</p>
<p>The script is pretty raw, but today it all improved a fair bit with help from <a href="http://inkdroid.org/">Ed Summers</a>, <a href="http://eikeon.com/">Daniel Krech</a> and <a href="http://www.wasab.dk/morten/">Morten Frederiksen.</a> Ed and Daniel helped me <a href="http://svn.foaf-project.org/foaftown/2010/wordpress/aggtest.py">get started</a> with consuming this RDFa and SPARQL in the latest version of the rdflib Python library. Morten rewrote my initial nasty hack, so that it used Wordpress <a href="http://codex.wordpress.org/Shortcode_API">Shortcodes</a> instead of hardcoding a URL path. This means that any page containing a certain string &#8211; f2f in chunky brackets &#8211; will get the OpenID list added to it. I&#8217;ll try that now, right here in this post. If it works, you&#8217;ll get a list of URLs below. Also thanks to <a href="http://impressive.net/people/gerald/">Gerald Oskoboiny</a> for discussions on this and reputation-related aggregation ideas; see his page on <a href="http://impressive.net/people/gerald/2005/08/reputation.html">reputation and trust</a> for lost more related ideas and sites. See also Peter Williams&#8217; feedback <a href="http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009966.html">on the foaf-dev list</a>.</p>
<p>Next steps? I&#8217;d be happy to have a few more installations of this, to get some testbed data. Ideally from an overlapping community so the datasets are linked, though that&#8217;s not essential. Ed has a copy <a href="http://inkdroid.org/journal/network">installed</a> currently too. I&#8217;ll also update the scripts I use to manage the FOAF MediaWiki admin groups, to load data from RDFa blogs; mine and others if people volunteer relevant data. It would be great to have exports from other software too, eg. Drupal or MediaWiki.</p>
<div xmlns:foaf="http://xmlns.com/foaf/0.1/"><div about='#!aCommentApprovedTrustGroup' typeof='foaf:Group' xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<span rel='foaf:maker'>Comment accept list for <a typeof='foaf:Agent' rel='foaf:weblog foaf:account' href='http://danbri.org/words/'>http://danbri.org/words</a></span><ul style=''>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_5711c8ae25de381eda9ebae69d17a6ca5a03f5cf'><a rel='foaf:openid foaf:account' href='http://aberingi.pip.verisignlabs.com/'>http://aberingi.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_c0476bc26fcaaa855b9d2741bb2ff7d918e3224f'><a rel='foaf:openid foaf:account' href='http://acs.myopenid.com/'>http://acs.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_d003dd1da067aed4b3fe2493971a14f12f5d40da'><a rel='foaf:openid foaf:account' href='http://alexandre.alapetite.net/'>http://alexandre.alapetite.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_6feceb629a6c7ba8ed406633e51d88161b7d103d'><a rel='foaf:openid foaf:account' href='http://apassant.net/'>http://apassant.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_ca31de0fd15af3e84bc408dfdcf582b66a6b7a32'><a rel='foaf:openid foaf:account' href='http://areggiori.livejournal.com/'>http://areggiori.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_f79a7e7ba570373f83fecaeaa27cdccd428225ae'><a rel='foaf:openid foaf:account' href='http://bencompanjen.hyves.nl/#OWI1MzRmYj'>http://bencompanjen.hyves.nl/#OWI1MzRmYj</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_b1e43a2e82fda9eb523a3574fb1b5286235e9e73'><a rel='foaf:openid foaf:account' href='http://bendiken.livejournal.com/'>http://bendiken.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_7d3528b88abd1477c6447bb99a672434272ecaac'><a rel='foaf:openid foaf:account' href='http://bentoth.pip.verisignlabs.com/'>http://bentoth.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_3d2ef418ec1a996fa8b59c04c4a490dd58096dc3'><a rel='foaf:openid foaf:account' href='http://bmuller.myopenid.com/'>http://bmuller.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_52e0136233df8db10b0af7451315d096333b4833'><a rel='foaf:openid foaf:account' href='http://brondsema.net/'>http://brondsema.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_b4a4d17523c688299284909948e63bb606bc45e4'><a rel='foaf:openid foaf:account' href='http://bruce.darcus.name/'>http://bruce.darcus.name/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_bbc0566ced87090e5d390603ef2466bb1e49b271'><a rel='foaf:openid foaf:account' href='http://claimID.com/eric_childress'>http://claimID.com/eric_childress</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_e600b28623eb711a02e7081f4d9568f42482a584'><a rel='foaf:openid foaf:account' href='http://claimid.com/nslater'>http://claimid.com/nslater</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_901564373ab21f113a48efea24e634d6666e589e'><a rel='foaf:openid foaf:account' href='http://dagoneye.it/me.html'>http://dagoneye.it/me.html</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_8a7c88eb92ddc9fe422f720dc2b18aa5e9f36444'><a rel='foaf:openid foaf:account' href='http://danbri.org/'>http://danbri.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_f0bb939f3f520ed201d7dcffe16fe4c0aae67315'><a rel='foaf:openid foaf:account' href='http://daniel.salber.myopenid.com/'>http://daniel.salber.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_c6ec134233ceb3246026cde0835ce0cbc67a92ff'><a rel='foaf:openid foaf:account' href='http://daniel.schwabe.myopenid.com/'>http://daniel.schwabe.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_9dbd737bedff4f29e0d95339fd0b4431fe37b125'><a rel='foaf:openid foaf:account' href='http://dannyayers.myopenid.com/'>http://dannyayers.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_46eeddcc61163d3440a3d9639694de60ad79d21e'><a rel='foaf:openid foaf:account' href='http://david.larlet.fr/'>http://david.larlet.fr/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_965174d2b4fc45f4efc123d1abc2fead998391a7'><a rel='foaf:openid foaf:account' href='http://dltj.org/'>http://dltj.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_8c1b93d57e3effddc8e780a932716f89005e0581'><a rel='foaf:openid foaf:account' href='http://dorai.wordpress.com/'>http://dorai.wordpress.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_cabf6318964a48eabca00b5be5e2a9f316f6359c'><a rel='foaf:openid foaf:account' href='http://dunken69.myopenid.com/'>http://dunken69.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_315a5486d32746b0f613569407cd0d7c5222bc9c'><a rel='foaf:openid foaf:account' href='http://earle.myopenid.com/'>http://earle.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_eae415272b555f04a7cedcc5d73c3551f785d5a8'><a rel='foaf:openid foaf:account' href='http://emailtoid.net/i/f01cf45e/88dc58c9/'>http://emailtoid.net/i/f01cf45e/88dc58c9/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_e9908d7725d3dd9aafd5dbf1708a50495b0e5695'><a rel='foaf:openid foaf:account' href='http://futuri.us/'>http://futuri.us/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_c2ec1c6408fd9015f140f832ca9f0f7789d18253'><a rel='foaf:openid foaf:account' href='http://gavinbell.com/'>http://gavinbell.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_9ae33674f387d14ee22b2891b52b8e5ff7f7c117'><a rel='foaf:openid foaf:account' href='http://ian.mckellar.org/'>http://ian.mckellar.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_9e0618fd1efd8408f0815657f1129c1f725950a8'><a rel='foaf:openid foaf:account' href='http://id.chaz6.com/'>http://id.chaz6.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_fb34a48fd9e6b39f5924cfce3fc680691c9d0e0c'><a rel='foaf:openid foaf:account' href='http://ivanherman.pip.verisignlabs.com/'>http://ivanherman.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_0b339a44ed48eaba0d1a68f73bd497da61e3bbfb'><a rel='foaf:openid foaf:account' href='http://jclove.myid.net/'>http://jclove.myid.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_913a3257411eb05760247de44c78727af379ff87'><a rel='foaf:openid foaf:account' href='http://josephcp.myopenid.com/'>http://josephcp.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_27a1d1fafe6e51fb0f8e31641f0298ef62ff5bf7'><a rel='foaf:openid foaf:account' href='http://karl.dubost.myopenid.com/'>http://karl.dubost.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_36b05095dbcc896d6d4b8c382c6749f99bd25a7b'><a rel='foaf:openid foaf:account' href='http://kidehen.idehen.net/dataspace/person/kidehen'>http://kidehen.idehen.net/dataspace/person/kidehen</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_ed9082e3f32669c3a3336b88951efea02cd378b6'><a rel='foaf:openid foaf:account' href='http://klokie.com/'>http://klokie.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_4215c6411497f81066a575d78c9cb3c519272cf7'><a rel='foaf:openid foaf:account' href='http://korth.myopenid.com/'>http://korth.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_3e7a4014a28ddc9821b324f8d45aa3b2ac15babe'><a rel='foaf:openid foaf:account' href='http://kronkltd.net/'>http://kronkltd.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_50e77f5c84ddaa77e2ec7540b0b3e1cf73f63723'><a rel='foaf:openid foaf:account' href='http://leroyrich.myopenid.com/'>http://leroyrich.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_88025b961eda6652d2652b97eb537dc17274a849'><a rel='foaf:openid foaf:account' href='http://lionkimbro.videntity.org/'>http://lionkimbro.videntity.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_ee1c7c463f74108ac9477a5851b5cc46ca2012b7'><a rel='foaf:openid foaf:account' href='http://littlematt.livejournal.com/'>http://littlematt.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_dc23dfc6a795265beaca0245d1ebceef64aea423'><a rel='foaf:openid foaf:account' href='http://luigiselmi.pip.verisignlabs.com/'>http://luigiselmi.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_5c255d5d317301b93b4ebfd5db6f688c53d17ef5'><a rel='foaf:openid foaf:account' href='http://matienzo.org/'>http://matienzo.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_151fe397a6ab9709a945f5b8e4904ed288be81a9'><a rel='foaf:openid foaf:account' href='http://max.froumentin.myopenid.com/'>http://max.froumentin.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_89f9048a7e68b71fe26df584c9b0ebfa088d4265'><a rel='foaf:openid foaf:account' href='http://melvincarvalho.com/'>http://melvincarvalho.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_fce2b532d7377dd8a4f3d5a352d82af776092cba'><a rel='foaf:openid foaf:account' href='http://melvster.com/'>http://melvster.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_19a8c35b69a012b3c62b7d8e6e8b70af94568c12'><a rel='foaf:openid foaf:account' href='http://mhausenblas.myopenid.com/'>http://mhausenblas.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_2d92505382dfcc04d9f684c842b185370ee0c3f7'><a rel='foaf:openid foaf:account' href='http://mijnopenid.nl/is/joe'>http://mijnopenid.nl/is/joe</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_ffa8c1f0482ab52053b26c5bbf7f1a9c87cecc10'><a rel='foaf:openid foaf:account' href='http://mkbergman.myopenid.com/'>http://mkbergman.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_abfd51b7b952e495f23ac80f261f91002d3cf858'><a rel='foaf:openid foaf:account' href='http://mnshah.myopenid.com/'>http://mnshah.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_93138c7260cd5c30dd1bbb92285c7745b26a883f'><a rel='foaf:openid foaf:account' href='http://moustaki.myopenid.com/'>http://moustaki.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_d1bdb7fa1b2515b2f74096ff72971e8542bfb8f1'><a rel='foaf:openid foaf:account' href='http://mrjmw.myopenid.com/'>http://mrjmw.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_89a9f39b08d075aca07382c608a02e782d87de04'><a rel='foaf:openid foaf:account' href='http://myopenlink.net/dataspace/person/Daniel.Lewis'>http://myopenlink.net/dataspace/person/Daniel.Lewis</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_c8085b5ea2323a00a5aaa6b942d8a504384b0c24'><a rel='foaf:openid foaf:account' href='http://myopenlink.net/dataspace/person/kidehen'>http://myopenlink.net/dataspace/person/kidehen</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_1c5c90db1e38c068321d394261490a6529caeb2b'><a rel='foaf:openid foaf:account' href='http://nicecupoftea.org/'>http://nicecupoftea.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_4e32e7e88d3ca9f8133469b36ba568450c2bae32'><a rel='foaf:openid foaf:account' href='http://nmg.livejournal.com/'>http://nmg.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_cb8243377b3134651140e390eebf4ba9d4ee8578'><a rel='foaf:openid foaf:account' href='http://omniorthogonal.blogspot.com/'>http://omniorthogonal.blogspot.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_b9f9d25143c2d13211d988a6ec35347aeb3fb6bc'><a rel='foaf:openid foaf:account' href='http://openid-provider.appspot.com/fbogner'>http://openid-provider.appspot.com/fbogner</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_86cdb0393f04eb56a7d9bcec4cf6178fadee638a'><a rel='foaf:openid foaf:account' href='http://openid-provider.appspot.com/tuukka.hastrup'>http://openid-provider.appspot.com/tuukka.hastrup</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_b43caa6b9f8e3c5b88ed2a8e476ceb75c9ae5495'><a rel='foaf:openid foaf:account' href='http://openid.aol.com/doesnotexistorg'>http://openid.aol.com/doesnotexistorg</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_cf1b02937a20e2e0298e26dba4c6e4512ba32cff'><a rel='foaf:openid foaf:account' href='http://openid.aol.com/koaliemoon'>http://openid.aol.com/koaliemoon</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_e2a09d0724c86b20397961bc3f6ab52c0bd596d1'><a rel='foaf:openid foaf:account' href='http://openid.sun.com/bblfish'>http://openid.sun.com/bblfish</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_05b2a06e6f3b537d36099a651b047e06a7e05ba4'><a rel='foaf:openid foaf:account' href='http://openid.xmpp.za.net/base64/a2FlbEBuanMubmV0bGFiLmN6'>http://openid.xmpp.za.net/base64/a2FlbEBuanMubmV0bGFiLmN6</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_37cf723cbbd62ecf9e50983180cc74724140befc'><a rel='foaf:openid foaf:account' href='http://peterkz.myopenid.com/'>http://peterkz.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_adcf4e57e1bed932459e1a1e38b733c58dc40a12'><a rel='foaf:openid foaf:account' href='http://piercarlos.myopenid.com/'>http://piercarlos.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_3d190aeb392d290a63a5f0155ddaaa7171bd1e67'><a rel='foaf:openid foaf:account' href='http://punkito.livejournal.com/'>http://punkito.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_dc9d113212e9849e0b1bba81aaa64d67b9a7af77'><a rel='foaf:openid foaf:account' href='http://ranganathan.pip.verisignlabs.com/'>http://ranganathan.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_414a2647fe23a523b983f2c2703f9a43908e3a5e'><a rel='foaf:openid foaf:account' href='http://rym.waglo.com/'>http://rym.waglo.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_3e8a37685ba980bc2260d458c9413bea5eb07615'><a rel='foaf:openid foaf:account' href='http://scorlosquet.myopenid.com/'>http://scorlosquet.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_1410e5ecbe0b3489333322c570c3616622d75b8f'><a rel='foaf:openid foaf:account' href='http://simone.pip.verisignlabs.com/'>http://simone.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_aa8317434abff482d207c961c1d4a3321ff488e4'><a rel='foaf:openid foaf:account' href='http://snyke.net/'>http://snyke.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_28c4b6c1eb8f534002575c9a496121fa80bba4e6'><a rel='foaf:openid foaf:account' href='http://stefanoborini.com/id/'>http://stefanoborini.com/id/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_17a3f8ce637a0db5fa05589fcbdc3f2c56875c74'><a rel='foaf:openid foaf:account' href='http://svanzoest.livejournal.com/'>http://svanzoest.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_65f629b933addf696b2a2ff2f20ef8dc234462a5'><a rel='foaf:openid foaf:account' href='http://tcowan.myopenid.com/'>http://tcowan.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_16f7984c8a0ae1fa7527cd809129099ee705f03d'><a rel='foaf:openid foaf:account' href='http://techdoctor.pip.verisignlabs.com/'>http://techdoctor.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_3d3873967ae03604dcb67de5070d8c9c7468b504'><a rel='foaf:openid foaf:account' href='http://technorati.com/people/technorati/Shepard4711'>http://technorati.com/people/technorati/Shepard4711</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_3a41cd6b5783ec53195d7597b6a7a0c77501b508'><a rel='foaf:openid foaf:account' href='http://titticimmino.myopenid.com/'>http://titticimmino.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_0f3d2b0a68d4486ba2ccb38f0cf14b1c4b3f7c19'><a rel='foaf:openid foaf:account' href='http://tomkeays.myopenid.com/'>http://tomkeays.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_d3c2744e2b096b3ac71adb2ff9598fb6693d4e6b'><a rel='foaf:openid foaf:account' href='http://tommorris.org/'>http://tommorris.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_cb7c6af95c6985c0d34bf80c36596a004d2ed41d'><a rel='foaf:openid foaf:account' href='http://victor.coustenoble.myopenid.com/'>http://victor.coustenoble.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_bcbeaaa620a6520e612d11cf91df2a5c1a3096d4'><a rel='foaf:openid foaf:account' href='http://vzach.myopenid.com/'>http://vzach.myopenid.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_eaaae5da3c9124e977dd9c84076acaede379967d'><a rel='foaf:openid foaf:account' href='http://williamgunn.pip.verisignlabs.com/'>http://williamgunn.pip.verisignlabs.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_5a549c8d708c52a167d92fea5fafad6144bca928'><a rel='foaf:openid foaf:account' href='http://wlan.livejournal.com/'>http://wlan.livejournal.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_2b441e849b920ca3432c3812ad1085070a286bfe'><a rel='foaf:openid foaf:account' href='http://www.bytesexual.org/'>http://www.bytesexual.org/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_55c02c796ce3d4c52a28faf0328a5b134832522f'><a rel='foaf:openid foaf:account' href='http://www.ivan-herman.net/foaf.html'>http://www.ivan-herman.net/foaf.html</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_d407304591a12726a61cd1f6c028b509a7c8ace3'><a rel='foaf:openid foaf:account' href='http://www.jenitennison.com/'>http://www.jenitennison.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_26f0ae10a78af83d7f2d020899ec068a66b67ed8'><a rel='foaf:openid foaf:account' href='http://www.kanzaki.com/'>http://www.kanzaki.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_88c1753a449bd4b7f81074bbd21efcca35642806'><a rel='foaf:openid foaf:account' href='http://www.kjetil.kjernsmo.net/index.en.html'>http://www.kjetil.kjernsmo.net/index.en.html</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_b5f1bdc005ed8fe8b114ea4ac533a019450a04bc'><a rel='foaf:openid foaf:account' href='http://www.leobard.net/'>http://www.leobard.net/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_aab52ab57845f23a72a18cad8f9569ddbb06e3b2'><a rel='foaf:openid foaf:account' href='http://www.raviudeshi.com/'>http://www.raviudeshi.com/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_e48ea71f02d656f9c324d412d1c00907e63cf6f2'><a rel='foaf:openid foaf:account' href='http://www.w3.org/People/Connolly/'>http://www.w3.org/People/Connolly/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_4e5551da91556b306d0e2707176371f89d2ca988'><a rel='foaf:openid foaf:account' href='http://www.wasab.dk/morten/'>http://www.wasab.dk/morten/</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_d58c6453310439c4a6a761e3a52ba67fdbbf640c'><a rel='foaf:openid foaf:account' href='https://creativecommons.net/fred'>https://creativecommons.net/fred</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_7cfc81c7b24b5c37090abaa6fc38d5e76a9886ff'><a rel='foaf:openid foaf:account' href='https://me.yahoo.com/a/1_elSS9lsNxcwBUJZ_drDeuogMg-#f5f94'>https://me.yahoo.com/a/1_elSS9lsNxcwBUJZ_drDeuogMg-#f5f94</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_de7ab7279bbd64b54518dc75961ee27cdc54a61f'><a rel='foaf:openid foaf:account' href='https://me.yahoo.com/a/CBkqPIl2ruQwzcv.PPStXsaI7JIFBA--#04941'>https://me.yahoo.com/a/CBkqPIl2ruQwzcv.PPStXsaI7JIFBA--#04941</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_e8661ed0408e4681f2c459b913d4149a47000765'><a rel='foaf:openid foaf:account' href='https://me.yahoo.com/a/eiulBXJxwdeCwIyKuPZuixYEZwbIo2PxePxn#3260e'>https://me.yahoo.com/a/eiulBXJxwdeCwIyKuPZuixYEZwbIo2PxePxn#3260e</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_4f2701584761c772129009addecaa7f8dedbbc40'><a rel='foaf:openid foaf:account' href='https://me.yahoo.com/fabien_gandon#2bfe7'>https://me.yahoo.com/fabien_gandon#2bfe7</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_65954e93a37c0ff8160713f2a80087e530284099'><a rel='foaf:openid foaf:account' href='https://me.yahoo.com/geddnh#cab79'>https://me.yahoo.com/geddnh#cab79</a></li></span>
<span rel='foaf:member'><li typeof='foaf:Agent' about='#!ah_d6ec2648fb0cfcd04582111f85ffcc53f6483d5c'><a rel='foaf:openid foaf:account' href='https://www.google.com/accounts/o8/id?id=AItOawmiTcB6bbsk4ghDgzhl_bXoQ26yJp7EPak'>https://www.google.com/accounts/o8/id?id=AItOawmiTcB6bbsk4ghDgzhl_bXoQ26yJp7EPak</a></li></span>
</ul>
</div>

</div>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/12/29/523/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Wordpress, TinyMCE and RDFa editors</title>
		<link>http://danbri.org/words/2009/12/23/507</link>
		<comments>http://danbri.org/words/2009/12/23/507#comments</comments>
		<pubDate>Wed, 23 Dec 2009 16:06:18 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[RDFa]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=507</guid>
		<description><![CDATA[I&#8217;m writing this in Wordpress&#8217;s &#8216;Visual&#8217; mode WYSIWYG HTML editor, and thinking &#8220;how could it be improved to support RDFa?&#8221;
Well let&#8217;s think. Humm. In RDFa, every section of text is always &#8216;about&#8217; something, and then has typed links or properties associated with that thing. So there are icons &#8216;B&#8217; for bold, &#8216;I&#8217; for italics, etc. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing this in Wordpress&#8217;s &#8216;Visual&#8217; mode WYSIWYG HTML editor, and thinking &#8220;how could it be improved to support RDFa?&#8221;</p>
<p>Well let&#8217;s think. Humm. In RDFa, every section of text is always &#8216;about&#8217; something, and then has typed links or properties associated with that thing. So there are icons &#8216;B&#8217; for bold, &#8216;I&#8217; for italics, etc. And thingies for bulleted lists, paragraphs, fonts. I&#8217;m not sure how easily it would handle the nesting of full RDFa, but some common case could be a start: a paragraph that was about some specific thing, and within which the topical focus didn&#8217;t shift.</p>
<p>So, here is a paragraph about me. How to say it&#8217;s really about me? There could be a &#8216;typeof&#8217; attribute on the paragraph element, with value foaf:Person, and an &#8216;about&#8217; attribute with a URI for me, eg. http://danbri.org/foaf.rdf#danbri</p>
<p>In this UI, I just type textual paragraphs and then double newlines are interpreted by the publishing engine as separate HTML paragraphs. I don&#8217;t see any paragraph-level or even post-level properties in the user interface where an &#8216;about&#8217; URI could be stored. But I&#8217;m sure something could be hacked. Now what about properties and links? Let&#8217;s see&#8230;</p>
<p>I&#8217;d like to link to TinyMCE now, since that is the HTML editor that is embedded in Wordpress. So here is a normal link <a title="a link to TinyMCE" href="http://tinymce.moxiecode.com/">to TinyMCE</a>. To make it, I searched for the TinyMCE homepage, copied its URL into the copy/paste buffer, then pressed the &#8216;add link&#8217; icon here after highlighting the text I wanted to turn into a link.</p>
<p>It gave me a little HTML/CSS popup window with some options &#8211; link URL, target window, link title and (CSS) class; I&#8217;ve posted a screenshot below. This bit of UI seems like it could be easily extended for typed links. For example, if I were adding a link to a paragraph that was about a Film, and I was linking to (a page about) its director or an actor, we might want to express that using an annotation on the link. Due to the indirection (we&#8217;re trying to say that the link is to a page whose primary topic is the director, etc.), this might complicate our markup. I&#8217;ll come back to that later.</p>
<div id="attachment_512" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-512 " title="tinymce-rdfa" src="http://danbri.org/words/wp-content/uploads/2009/12/tinymce-rdfa-300x191.png" alt="tinymce link edit screenshop" width="300" height="191" /><p class="wp-caption-text">tinymce link edit screenshot</p></div>
<p>I wonder if there&#8217;s any mention of RDFa on the TinyMCE site? <a href="http://tinymce.moxiecode.com/search.php?searchquery=rdfa">Nope</a>. Nor even any mention of Microformats.</p>
<p>Perhaps the simplest thing to try to build into TinyMCE would be for a situation where a type on the link expressed a relationship between the topic of the blog post (or paragraph), and some kind of document.</p>
<p>For example, a paragraph about me, might want to annotate a link to my old <a href="http://www.westergate.w-sussex.sch.uk/">school&#8217;s homepage</a> (ie. http://www.westergate.w-sussex.sch.uk/ ) with a rel=&#8221;foaf:schoolHomepage&#8221; property.</p>
<p>So our target RDFa would be something like (assuming this markup is escaped and displayed nicely):</p>
<p><span style="color: #008000;">&lt;p about=&#8221;<a href="../../foaf.rdf#danbri%22">http://danbri.org/foaf.rdf#danbri&#8221;</a> typeof=&#8221;foaf:Person&#8221; xmlns:foaf=&#8221;<a href="http://xmlns.com/foaf/0.1/%22">http://xmlns.com/foaf/0.1/&#8221;</a>&gt;</span></p>
<p><span style="color: #008000;">I&#8217;m Dan, and I went to &lt;a  rel=&#8221;foaf:schoolHomepage&#8221; href=&#8221;<a href="http://www.westergate.w-sussex.sch.uk/%22">http://www.westergate.w-sussex.sch.uk/&#8221;</a>&gt;Westergate  School&lt;/a&gt;</span></p>
<p><span style="color: #008000;">&lt;/p&gt;.</span></p>
<p>See recent <a href="http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009892.html">discussion</a> on the foaf-dev list where we contrast this idiom with one that uses a relationship (eg. &#8217;school&#8217;) that directly links a person to a school, rather than to the school&#8217;s homepage. Toby made some <a href="http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009897.html">example RDFa</a> output of the latter style, in response to a debate about whether the foaf:schoolHomepage idiom is an &#8216;anti-pattern&#8217;. Excerpt:</p>
<p><span style="color: #008000;">&lt;p about=&#8221;<a href="../../foaf.rdf#danbri%22">http://danbri.org/foaf.rdf#danbri&#8221;</a> typeof=&#8221;foaf:Person&#8221; xmlns:foaf=&#8221;<a href="http://xmlns.com/foaf/0.1/%22">http://xmlns.com/foaf/0.1/&#8221;</a>&gt;<br />
</span></p>
<p><span style="color: #008000;"> My name is &lt;span property=&#8221;foaf:name&#8221;&gt;Dan Brickley&lt;/span&gt; and I spent much of the &#8217;80s at &lt;span rel=&#8221;foaf:school&#8221;&gt;&lt;a typeof=&#8221;foaf:Organization&#8221; property=&#8221;foaf:name&#8221; rel=&#8221;foaf:homepage&#8221; href=&#8221;<a href="http://www.westergate.w-sussex.sch.uk/%22">http://www.westergate.w-sussex.sch.uk/&#8221;</a>&gt;Westergate School&lt;/a&gt;.</span></p>
<p><span style="color: #008000;">&lt;/p&gt;</span></p>
<p>So there are some differences between these two idioms. From the RDF side they tell you similar things: the school I went to. The latter idiom is more expressive, and allows additional information to be expressed about the school, without mixing it up with the school&#8217;s homepage. The former simply says &#8220;this link is to the homepage of Dan&#8217;s school&#8221;; and presumably defers to the school site or elsewhere for more details.</p>
<p>I&#8217;m interested to learn more about how these expressivity tradeoffs relate to the possibilities for visual / graphical editors. Could TinyMCE be easily extended to support either idiom? How would the GUI recognise a markup pattern suitable for editing in either style? Can we avoid having to express relationships indirectly, ie. via pages? Would it be a big job to get some basic RDFa facilities into Wordpress via TinyMCE?</p>
<p>For related earlier work, see the 2003 <a href="http://www.w3.org/2001/sw/Europe/reports/open_demonstrators/hp-requirements-specification.html">SWAD-Europe report on Semantic blogging</a> from the team then at HP Labs Bristol.</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/12/23/507/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Syndicating trust? Mediawiki, Wordpress and OpenID</title>
		<link>http://danbri.org/words/2009/10/25/504</link>
		<comments>http://danbri.org/words/2009/10/25/504#comments</comments>
		<pubDate>Sun, 25 Oct 2009 20:07:11 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[FOAF]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[SocialWeb]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=504</guid>
		<description><![CDATA[Fancy title but simple code. A periodic update script is setting user/group membership rules on the FOAF wiki based on a list of trusted (for this purpose) OpenIDs exported from a nearby blog. If you&#8217;ve commented on the blog using OpenID and it was accepted, this means you can also perform some admin actions (page [...]]]></description>
			<content:encoded><![CDATA[<p>Fancy title but simple code. A periodic update script is setting user/group membership rules on the FOAF wiki based on a list of trusted (for this purpose) OpenIDs exported from a nearby blog. If you&#8217;ve commented on the blog using OpenID and it was accepted, this means you can also perform some admin actions (page deletes, moves, blocking spammers etc.) on the FOAF wiki without any additional fuss.</p>
<p>Both Wordpress blogs and Mediawiki wikis have some support for OpenID logins.</p>
<p>The FOAF wiki until recently only had one Sysop and Bureaucrat account (a bureaucrat has the same privileges as a Sysop except for the ability to create new bureaucrat accounts). So I&#8217;ve begun an <a href="http://wiki.foaf-project.org/w/DanBri/MediawikiOpenid">experiment</a> exploring idea of pre-approving certain OpenIDs for bureaucrat activities. For now, I take a list of OpenIDs from my own blog; these appear to be just the good guys, but this might be because only real humans have commented on my blog via OpenID. With a bit of tweaking I&#8217;m sure I could write SQL to select out only OpenIDs associated with posts or comments I&#8217;ve accepted as non spammy, though.</p>
<p>So now there&#8217;s a script I can run (thanks tobyink and others in #swig IRC for help) which compares an externally supplied list of OpenID URIs with those OpenIDs known to the wiki, and upgrades the status of any overlaps to be bureaucrats. Currently the &#8217;syndication&#8217; is trivial since the sites are on the same machine, and the UI is minimal; I haven&#8217;t figured out how best to convey this notion of &#8216;pre-approved upgrade&#8217; to the people I&#8217;m putting in an admin group. Quite reasonably they might object to being misrepresented as contributors; who knows.</p>
<p>But all that aside, take a look and have a think. This kind of approach has a lot going for it. We will have all kinds of lists of people, groups of people, and in many cases we&#8217;ll know their OpenIDs. So why not pool what we know? If a blog or wiki has information about an OpenID that shows it is somehow trustworthy, or at least not obviously a spammer, there&#8217;s every reason to make notations (eg. FOAF/RDFa) that allow other such sites to harvest and integrate that data&#8230;</p>
<p>See also <a href="http://dig.csail.mit.edu/breadcrumbs/node/206">Dan Connolly&#8217;s DIG blog post</a> on this, and the current <a href="http://wiki.foaf-project.org/w/Special:ListUsers/bureaucrat">list of Bureaucrats</a> on the FOAF Wiki (and associated <a href="http://wiki.foaf-project.org/w/FOAF_Wiki:Bureaucrats">documentation</a>). If your names on the list, it just means your OpenID was on a pre-approved list of folk who I trust based on their interactions with my own blog. I&#8217;d <em>love</em> to add more sources here and make it genuinely communal.</p>
<p>This is all part of the process of getting FOAF moving again. The brains of FOAF is in the <a href="http://wiki.foaf-project.org/w/IssueTracker">IssueTracker</a> page, and since the site was damaged by spammers and hackers recently I&#8217;m trying to make sure we have a happy / wholesome environment for maintaining shared documents. And that&#8217;s more than I can do as a solo admin, hence this design for opening things up&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/25/504/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remote remotes</title>
		<link>http://danbri.org/words/2009/10/23/492</link>
		<comments>http://danbri.org/words/2009/10/23/492#comments</comments>
		<pubDate>Fri, 23 Oct 2009 18:05:50 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[FOAF]]></category>
		<category><![CDATA[Jabber/XMPP]]></category>
		<category><![CDATA[SocialWeb]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=492</guid>
		<description><![CDATA[I&#8217;ve just closed the loop on last weekend&#8217;s XMPP / Apple Remote hack, using Strophe.js, a library that extends XMPP into normal Web pages. I hope I&#8217;ll find some way to use this in the NoTube project (eg. wired up to Web-based video playing in OpenSocial apps), but even if not it has been a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just closed the loop on last weekend&#8217;s <a href="http://xmpp.org/">XMPP</a> / <a href="http://danbri.org/words/2009/10/19/483">Apple Remote hack</a>, using <a href="http://blog.xmpp.org/wp-content/uploads/2009/03/xmpp-web-applications-with-strophe.pdf">Strophe</a>.js, a library that extends XMPP into normal Web pages. I hope I&#8217;ll find some way to use this in the NoTube project (eg. wired up to Web-based video playing in OpenSocial apps), but even if not it has been a useful learning experience. See this <a href="http://www.flickr.com/photos/danbri/4036909817/sizes/l/">screenshot</a> of a live HTML page, receiving and displaying remotely streamed events (green blob: button clicked; grey blob: button released). It doesn&#8217;t control any video yet, but you get the idea I hope.</p>
<div id="attachment_493" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-493 " title="Remote Remote" src="http://danbri.org/words/wp-content/uploads/2009/10/FirefoxScreenSnapz001-300x188.jpg" alt="Remote apple remote HTML demo" width="300" height="188" /><p class="wp-caption-text">Remote apple remote HTML demo, screenshot showing a picture of handheld apple remote with a grey blob over the play/pause button, indicating a mouse up event. Also shows debug text in html indicating ButtonUpEvent: PLPZ.</p></div>
<p>This webclient needs the JID and password details for an XMPP account, and I think these need to be from the same HTTP server the HTML is published on. It works using BOSH or other tricks, but for now I&#8217;ve not delved into those details and options. Source is in the Buttons area of the FOAF svn: <a href="http://svn.foaf-project.org/foaftown/buttons/osx/webclient">webclient</a>. I made a set of <a href="http://svn.foaf-project.org/foaftown/buttons/osx/webclient/images/">images</a>, for each button in combination with button-press (&#8216;down&#8217;), button-release (&#8216;up&#8217;). I&#8217;m running my own ejabberd and using an account &#8216;buttons@foaf.tv&#8217; on the foaf.tv domain. I also use generic XMPP IM accounts on Google Talk, which work fine although I read recently that very chatty use of such services can result in data rates being reduced.</p>
<p>To send local Apple Remote events to such a client, you need a bit of <a href="http://svn.foaf-project.org/foaftown/buttons/osx/">code</a> running on an OSX machine. I&#8217;ve done this in a mix of C and Ruby: <a href="http://svn.foaf-project.org/foaftown/buttons/osx/iremoted_buttons.c">imremoted.c</a> (<a href="http://svn.foaf-project.org/foaftown/buttons/osx/iremoted_buttons">binary</a>) to talk to the remote, and the script <a href="http://svn.foaf-project.org/foaftown/buttons/osx/buttonhole_surfer.rb">buttonhole_surfer.rb</a> to re-broadcast the events. The ruby code uses <a href="http://mojodna.net/2009/07/19/switchboard-as-a-framework.html">Switchboard</a> and by default loads account credentials from ~/.switchboardrc.</p>
<p>I&#8217;ve done a few tests with this setup. It is pretty responsive considering how much indirection is involved: but the demo UI I made could be prettier. The + and &#8211; buttons behave differently to the left and right (and menu and play/pause); only + and &#8211; send an event immediately. The others wait until the key is released, then send a pair of events. The other keys except for play/pause will also forget what&#8217;s happening unless you act quickly. This seems to be a hardware limitation. Apparently Apple are <a href="http://www.tuaw.com/2009/10/20/the-hits-just-keep-coming-now-theres-a-new-apple-remote/">about to ship an updated $20 remote</a>; I hope this aspect of the design is reconsidered, as it limits the UI options for code using these remotes.</p>
<p>I also tried it using two browsers side by side on the same laptop; and two laptops side by side. The events get broadcasted just fine. There is a lot more thinking to do re serious architecture, where passwords and credentials are stored, etc. But XMPP continues to look like a very interesting route.</p>
<p>Finally, why would anyone bother installing compiled C code, Ruby (plus XMPP libraries), their own Jabber server, and so on? Well hopefully, the work can be divided up. Not everyone installs a Jabber server. My thinking is that we can bundle a collection of TV and SPARQL XMPP functionality in a single install, such that local remotes can be used on the network, but also local software (eg. XBMC/Plex/Boxee) can also be exposed to the wider network &#8211; whether it&#8217;s XMPP .js running inside a Web page as shown here, or an iPhone or a <a href="http://en.wikipedia.org/wiki/Multi-touch">multi-touch table</a>. Each will offer different interaction possibilities, but they can chat away to each other using a common link, and common RDF vocabularies (an area we&#8217;re working on in NoTube). If some common micro-protocols over XMPP (sending clicks or sending commands or doing RDF queries) can support compelling functionality, then installing a &#8216;buttons adaptor&#8217; is something you might do once, with multiple benefits. But for now, apart from the JQbus piece, the <a href="http://svn.foaf-project.org/foaftown/jqbus/intro.html">protocols</a> are still vapourware. First I wanted to get the basic plumbing in place.</p>
<p>Update: I re-discovered a useful <a href="http://metajack.im/2008/09/08/which-bosh-server-do-you-need/">&#8216;which bosh server do you need?&#8217;</a> which reminds me that there are basically two kinds of <a href="http://en.wikipedia.org/wiki/BOSH">BOSH</a> software offering; those that are built into some existing Jabber/XMPP server (like the ejabberd installation I&#8217;m using on foaf.tv) and those that are stand-alone connection managers that proxy traffic into the wider XMPP network. In terms of the current experiment, it means the event stream can (within the XMPP universe) come from addresses other than the host running the Web app. So I should also try installing <a href="http://code.stanziq.com/punjab">Punjab</a>. Perhaps it will also let webapps served from other hosts (such as opensocial containers) talk to it via JSON tricks? So far I have only managed to serve working Buttons/Strophe HTML from the same host as my Jabber server, ie. foaf.tv. I&#8217;m not sure how feasible the cross-domain option is.</p>
<p>Update x2: Three different people have now mentioned <a href="http://opensoundcontrol.org/">opensoundcontrol</a> to me as something similar, at least on a LAN; it clearly deserves some <a href="http://www.makingthings.com/documentation/tutorial/osc/overview-and-concepts">investigation</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/23/492/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streaming Apple Events over XMPP</title>
		<link>http://danbri.org/words/2009/10/19/483</link>
		<comments>http://danbri.org/words/2009/10/19/483#comments</comments>
		<pubDate>Mon, 19 Oct 2009 07:17:21 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[Jabber/XMPP]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=483</guid>
		<description><![CDATA[I&#8217;ve just posted a script that will re-route the OSX Apple Remote event stream out across XMPP using the Switchboard Ruby library, streaming click-down and click-up events from the device out to any endpoint identified by a Jabber/XMPP JID (i.e. Jabber ID). In my case, I&#8217;m connecting to XMPP as the user xmpp:buttons@foaf.tv, who is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just posted a <a href="http://svn.foaf-project.org/foaftown/buttons/osx/buttonhole_surfer.rb">script</a> that will re-route the OSX <a href="http://danbri.org/words/2009/10/18/478">Apple Remote event stream</a> out across XMPP using the <a href="http://mojodna.net/2009/07/19/switchboard-as-a-framework.html">Switchboard Ruby library</a>, streaming click-down and click-up events from the device out to any endpoint identified by a Jabber/XMPP JID (i.e. Jabber ID). In my case, I&#8217;m connecting to XMPP as the user xmpp:buttons@foaf.tv, who is buddies with xmpp:bob.notube@gmail.com, ie. they are on each other&#8217;s Jabber rosters already. Currently I simply send a textual message with the button-press code; a real app would probably use an XMPP IQ stanza instead, which is oriented more towards machines than human readers.</p>
<p>The nice thing about this setup is that I can log in on another laptop to Gmail, run the Javascript Gmail / Google Talk chat UI, and hear a &#8216;beep&#8217; whenever the event/message arrives in my browser. This is handy for informally testing the laggyness of the connection, which in turn is critical when designing remote control protocols: how chatty should they be? How much smarts should go into the client? which bit of the system really understands what the user is doing? Informally, the XMPP events seem pretty snappy, but I&#8217;d prefer to see some real statistics to understand what a UI might risk relying on.</p>
<p>What I&#8217;d like to do now is get a <a href="http://code.stanziq.com/strophe/">Strophe Javascript client</a> running. This will attach to my Jabber server and allow these events to show up in HTML/Javascript apps&#8230;</p>
<p>Here&#8217;s sample output of the script (local copy but it looks the same remotely), in which I press and release quickly every button in turn:</p>
<blockquote>
<pre>Cornercase:osx danbri$ ./buttonhole_surfer.rb
starting event loop.

=&gt; Switchboard started.
ButtonDownEvent: PLUS (0x1d)
ButtonUpEvent: PLUS (0x1d)
ButtonDownEvent: MINU (0x1e)
ButtonUpEvent: MINU (0x1e)
ButtonDownEvent: LEFT (0x17)
ButtonUpEvent: LEFT (0x17)
ButtonDownEvent: RIGH (0x16)
ButtonUpEvent: RIGH (0x16)
ButtonDownEvent: PLPZ (0x15)
ButtonUpEvent: PLPZ (0x15)
ButtonDownEvent: MENU (0x14)
ButtonUpEvent: MENU (0x14)
^C
Shutdown initiated.
Waiting for shutdown to complete.
Shutdown initiated.
Waiting for shutdown to complete.
Cornercase:osx danbri$</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/19/483/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apple Remote events &#8211; a quick howto</title>
		<link>http://danbri.org/words/2009/10/18/478</link>
		<comments>http://danbri.org/words/2009/10/18/478#comments</comments>
		<pubDate>Sun, 18 Oct 2009 12:20:29 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[Jabber/XMPP]]></category>
		<category><![CDATA[Project ideas]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=478</guid>
		<description><![CDATA[Anyone who has recently bought an Apple computer probably has one or more Apple Remotes.
I have been learning how to access them. Conclusion: iremoted does 95% of what you probably need, and the discussion over on cocoadev.com tells you more than you probably wanted to know. My experiments are written up in a corner of [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who has recently bought an Apple computer probably has one or more <a href="http://en.wikipedia.org/wiki/Apple_Remote">Apple Remotes</a>.</p>
<p>I have been learning how to access them. Conclusion: <a href="http://osxbook.com/software/iremoted/">iremoted</a> does 95% of what you probably need, and the discussion over on <a href="http://www.cocoadev.com/index.pl?UsingTheAppleRemoteControl">cocoadev.com</a> tells you more than you probably wanted to know. My experiments are written up in a <a href="http://wiki.foaf-project.org/w/DanBri/AppleRemoteButtonTest1">corner of the FOAF wiki</a>, and have a large collection of related links stored under the <a href="http://delicious.com/danbri/buttons">&#8216;buttons&#8217; tag at delicious.com</a>.</p>
<p>Summary: If you run iremoted, it calls OSX APIs and gets notified whenever button presses on the Apple Remote are detected.</p>
<p>There are 6 buttons: a menu button, a play/pause main button, and four others surrounding the main button. To the left and right there are &#8216;back&#8217; and &#8216;fwd&#8217;; and above/below they are labelled &#8216;+&#8217; and &#8216;-&#8217;.</p>
<p>Interestingly from a protocol and UI design view, those last buttons behave differently. When you press and release the other 4 buttons, the 2 events are not reported until after you release; but with &#8216;+&#8217; and &#8216;-&#8217;, the initial press is reported immediately. Furthermore, only &#8216;+&#8217; and &#8216;-&#8217; do anything interesting if you press for longer than a second or so; the others result in your action being silently dropped, even when you release the button.</p>
<p>I am looking at this since I am revisiting my old <a href="http://svn.foaf-project.org/foaftown/jqbus/intro.html">Jqbus</a> FOAF experiments with XMPP and SPARQL for data access; but this time building in some notion of behaviour too, hence the new name: <a href="http://wiki.foaf-project.org/w/Buttons">Buttons</a>. The idea is to use XMPP as a universal communication environment between remote controls and remote-controllable things, initially in the world around TV. So I am exploring adaptors for existing media centres and media players (Boxee, XBMC, iTunes etc).</p>
<p>There are various levels of abstraction at which XMPP could be used as a communications pipe: it could stream clicks directly, by simply reflecting the stream of Infra Red events, translating them into IQ messages sent to JID-identified XMPP accounts. Or we could try to interpret them closer to their source, and send more meaningful events. For example, if the &#8220;+&#8221; is held for 3 seconds, do we wait until it is released before sending a &#8220;Maximize volume&#8221; message out across the &#8216;net. Other approaches (eg. as <a href="http://mail.jabber.org/pipermail/social/2009-August/000545.html">suggested</a> on the xmpp list, and in some accessibility work) include exporting bits of UI to the remote. Or in the case of really dumb remotes with no screen, at least some sort of invisible proxy/wrapper that tries to avoid sprawing every user click out across XMPP.</p>
<p>Anyway, I thought this worth a writeup. Here&#8217;s a link to my copy of iremoted, <a href="http://svn.foaf-project.org/foaftown/buttons/osx/iremoted_buttons.c">iremoted_buttons.c</a>. The main change (apart from trivial syntax edits for its output) is the use of kIOHIDOptionsTypeSeizeDevice. This is pretty important, as it stops other processes on your mac receiving the same events; eg. FrontRow taking over the laptop UI whenever &#8216;menu&#8217; is pressed, or the local volume being changed by &#8216;+&#8217; and &#8216;-&#8217;:</p>
<pre>    ioReturnValue = (*hidDeviceInterface)-&gt;open(hidDeviceInterface, kIOHIDOptionsTypeSeizeDevice);</pre>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/18/478/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Local Video for Local People</title>
		<link>http://danbri.org/words/2009/10/12/473</link>
		<comments>http://danbri.org/words/2009/10/12/473#comments</comments>
		<pubDate>Mon, 12 Oct 2009 17:31:02 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Geo]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ggg]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=473</guid>
		<description><![CDATA[OK it&#8217;s all Google stuff, but still good to see. Go to Google Maps, My Maps, to find &#8216;Videos from YouTube&#8217; listed. Here&#8217;s where I used to live (Bristol UK) and where I live now (Amsterdam, The Netherlands). Here&#8217;s a promo film of some nearby art installations from ArtZuid, who even have a page in [...]]]></description>
			<content:encoded><![CDATA[<p>OK it&#8217;s all Google stuff, but still good to see. Go to Google Maps, My Maps, to find &#8216;Videos from YouTube&#8217; listed. Here&#8217;s where I used to live (<a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=bristol+uk&amp;sll=35.88905,-98.085937&amp;sspn=0.07941,0.173378&amp;ie=UTF8&amp;hq=&amp;hnear=Bristol,+Avon,+United+Kingdom&amp;ll=51.473739,-2.596807&amp;spn=0.030527,0.086689&amp;z=14&amp;iwloc=lyrftr:com.youtube.all,3148423284973801114,51.463433,-2.582281&amp;lci=com.youtube.all">Bristol</a> UK) and where I live now (<a href="http://maps.google.com/maps/mm?ie=UTF8&amp;hl=en&amp;ll=52.357466,4.892864&amp;spn=0.059863,0.173378&amp;z=13&amp;lci=com.youtube.all">Amsterdam</a>, The Netherlands). Here&#8217;s <a href="http://maps.google.com/maps/mm?ie=UTF8&amp;hl=en&amp;ll=52.350775,4.874057&amp;spn=0.003742,0.010836&amp;z=17&amp;iwloc=lyrftr:com.youtube.all,11283352528697338884,52.349995,4.872093&amp;lci=com.youtube.all">a promo film</a> of some nearby art installations from <a href="http://www.artzuid.nl/">ArtZuid</a>, who even have a <a href="http://www.artzuid.nl/index_en.php">page in English</a>. I wouldn&#8217;t have found the video or the nearby links except through the map overlay. <span style="text-decoration: line-through;">I don&#8217;t know exactly how they&#8217;re geotagging the videos, I can&#8217;t see an option under &#8216;my videos&#8217; in YouTube, so perhaps it&#8217;s automatic or viewer annotations.</span> In YouTube, you can add a map link under &#8216;My Videos&#8217; / &#8216;Edit Video&#8217;; I didn&#8217;t see that initially. I made some investigations into similar issues (videos on maps) while at Joost; see brief mention in my <a href="http://www.slideshare.net/danbri/introducing-joost-widgets-2007-talk-presentation">Fundamentos Web slides</a> from a couple of years ago.<br />
Oh, nearly forgot to mention: zooming out to get a <a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=bristol+uk&amp;sll=35.88905,-98.085937&amp;sspn=0.07941,0.173378&amp;ie=UTF8&amp;lci=com.youtube.all&amp;hq=&amp;hnear=Bristol,+Avon,+United+Kingdom&amp;ll=48.777913,9.777832&amp;spn=16.547298,44.384766&amp;z=5">Europe</a> or <a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=bristol+uk&amp;sll=35.88905,-98.085937&amp;sspn=0.07941,0.173378&amp;ie=UTF8&amp;lci=com.youtube.all&amp;hq=&amp;hnear=Bristol,+Avon,+United+Kingdom&amp;ll=16.972741,7.734375&amp;spn=138.957406,355.078125&amp;z=2">World</a>-wide view is quite striking too.</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/12/473/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick clarification on SPARQL extensions and &#8220;Lock-in&#8221;</title>
		<link>http://danbri.org/words/2009/10/12/470</link>
		<comments>http://danbri.org/words/2009/10/12/470#comments</comments>
		<pubDate>Mon, 12 Oct 2009 13:40:02 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[SPARQL]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=470</guid>
		<description><![CDATA[It&#8217;s clear from discussion bouncing around IRC, Twitter, Skype and elsewhere that &#8220;Lock-in&#8221; isn&#8217;t a phrase to use lightly.
So I post this to make myself absolutely clear. A few days ago I mentioned in IRC a concern that newcomers to SPARQL and RDF databases might not appreciate which SPARQL extensions are widely implemented, and which [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s clear from discussion bouncing around IRC, Twitter, Skype and elsewhere that &#8220;Lock-in&#8221; isn&#8217;t a phrase to use lightly.</p>
<p>So I post this to make myself absolutely clear. A few days ago I mentioned in IRC a concern that newcomers to SPARQL and RDF databases might not appreciate which SPARQL extensions are widely implemented, and which are the specialist offerings of the system they happen to be using. I mentioned OpenLink&#8217;s <a href="http://virtuoso.openlinksw.com/">Virtuoso</a> in particular as a SPARQL implementation that had a rich and powerful set of extensions.</p>
<p>Since it seems there is some risk I might be mis-interpreted as suggesting OpenLink are actively trying to &#8220;do a Microsoft&#8221; and trap users in some proprietary pseudo-SPARQL, I&#8217;ll state what I took to be obvious background knowledge: OpenLink is a company who owe their success to the promotion of cross-vendor database portability, they have been tireless advocates of a standards-based Semantic Web, and they&#8217;re active in proposing extensions to W3C for standardisation. So &#8211; no criticism of OpenLink intended. None at all.</p>
<p>All I think we need here, are a few utilities that help developers understand the nature of the various SPARQL dialects and the potential costs/benefits of using them. Perhaps an online validator, alongside those for RDF/XML, RDFa, Turtle etc. Such a validator might usefully list the extensions used in some query, and give pointers (perhaps into a wiki) where the status of the various extensions constructs can be discussed and documented.</p>
<p>Since SPARQL is such a young language, it lacks a lot of things that are taken from granted in the SQL world, and so using rich custom extensions when available is for many developers a sensible choice. My only concern is that it must be a choice, and one entered into consciously.</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/12/470/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Linked TV (part 1): Why APIs and identifiers matter</title>
		<link>http://danbri.org/words/2009/10/09/452</link>
		<comments>http://danbri.org/words/2009/10/09/452#comments</comments>
		<pubDate>Fri, 09 Oct 2009 12:16:13 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[Activism]]></category>
		<category><![CDATA[Essays]]></category>
		<category><![CDATA[FOAF]]></category>
		<category><![CDATA[Jabber/XMPP]]></category>
		<category><![CDATA[Project ideas]]></category>
		<category><![CDATA[RSS/Atom]]></category>
		<category><![CDATA[SocialWeb]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[ggg]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=452</guid>
		<description><![CDATA[In the NoTube project, we are exploring the use of Semantic Web technology in Television and Web-TV scenarios. By making use of richer and linked descriptions of content and users, we hope to help users better find (and annotate, tag, cross-link etc.) content that is interesting to them. The growing amount of linked RDF data [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://www.notube.tv/">NoTube</a> project, we are exploring the use of Semantic Web technology in Television and Web-TV scenarios. By making use of richer and linked descriptions of content and users, we hope to help users better find (and annotate, tag, cross-link etc.) content that is interesting to them. The growing amount of linked RDF data out there in the public Web provides a useful background dataset; for example we can use SKOS thesauri or DBpedia to indicate content topics or user interests.</p>
<p>I have been looking at aspects of the existing mainstream ecosystem, including so-called <a href="http://en.wikipedia.org/wiki/Media_center">media centre</a> systems, and at the various classes of app (remote controls, tv guides, media players) available on smart phones such as the iPhone. At the moment, all these applications are quite fragmented, with different pairs of remote control and player, different APIs, different metadatasystems.</p>
<p>This post gives some background thinking before jumping into super-technical details. In the next post I&#8217;ll give an overview of some of the &#8216;media centre&#8217; APIs I&#8217;ve been looking at; this is the beginnings of a survey to explore the extent to which existing players can be driven by external software through a network interface. My <a href="http://mail.jabber.org/pipermail/social/2009-August/000544.html">working hypothesis</a> is that the <a href="http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol">XMPP protocol</a> provides the best candidate protocol environment to do this, since it allows devices to be addressed globally, even when they&#8217;re in the home; however the initial survey makes no assumptions about how these APIs might be unified.</p>
<p>Nearby: for some smartphone visuals, see my<a href="http://www.flickr.com/photos/notube"> Flickr&#8217;d collection of iPhone screen grabs</a>. I hope to revisit and annotate these later. For ongoing W3C work on an API and ontology for Media Objects, see the <a href="http://www.w3.org/TR/2009/WD-media-annot-reqs-20090604">Use Cases and Requirements document</a> over at W3C. This work is largely focussed on describing individual media objects, however it does note <a href="http://www.w3.org/TR/2009/WD-media-annot-reqs-20090604/#req-r08">a requirement</a> for  &#8220;Being able to apply the ontology / API for collections of metadata&#8221;, as well as <a href="http://www.w3.org/TR/2009/WD-media-annot-reqs-20090604/#req-r07">a requirement</a> to allow references &#8220;<em>to multimedia objects on several abstraction levels, in order to separate e.g. a movie, a DVD which contains the movie and a specific copy of the DVD. Especially for collections of multimedia objects, knowledge about such abstraction levels is helpful, as a means for accessing the objects on each level.</em>&#8221;</p>
<p>In NoTube, we are also looking at work such as the BBC <a href="http://www.bbc.co.uk/ontologies/programmes/2009-09-07.shtml">Programmes Ontology</a>, which makes such distinctions in terms of brands, series, shows, episodes etc. This is not only to group different representations of the same content (eg. a mobile-friendly downcoding of a high-definition news article); it also allows us to cluster metadata about similar items or different versions or manifestations of the same underlying content.</p>
<p>Since metadata is notoriously expensive and hard to manage, having it richly interlinked makes a lot of sense.</p>
<p>For example, if I write a comment while watching a file that I created from <a href="http://www.amazon.com/Fog-War-Eleven-Lessons-McNamara/dp/B0001L3LUE">an Amazon purchased DVD</a> of &#8220;The Fog of War&#8221;, it would be a waste (and lead to a very sparse metadata network) if my annotation was only available to other users of that exact same file within this closed home network, although the media file itself must of course stay private. The first time I saw that movie, was a screening in Bristol&#8217;s <a href="http://en.wikipedia.org/wiki/Cube_Microplex">Cube Cinema</a>. If I wrote a blog post about the movie back then, that information should also be linked to common identifiers (eg. <a href="http://www.imdb.com/title/tt0317910/">IMDB</a>, <a href="http://www.freebase.com/view/user/hal/netflix/movie/60031296">FreeBase</a>, <a href="http://en.wikipedia.org/wiki/The_Fog_of_War">Wikipedia</a>,  <a href="http://dbpedia.org/page/The_Fog_of_War">DBPedia</a>, <a href="http://www.sonyclassics.com/fogofwar/">Sony&#8217;s page</a>, the director&#8217;s <a href="http://www.errolmorris.com/film/fow.html">synopsis</a> etc.). But there&#8217;s more annotation in the Web than just my annotations: the director recently <a href="http://morris.blogs.nytimes.com/2009/07/07/mcnamara-in-context/">wrote a blog post</a> about the main subject of the film, Robert McNamara. The director, Errol Morris, also publishes a <a href="http://www.errolmorris.com/film/fow_transcript.html">transcript</a> of the movie, and his homepage links to his Twitter <a href=" http://twitter.com/errolmorris">microblog</a>. If the content is available eg. through a system like Joost or Hulu, or broadcast on TV, or screened at a local cinema, most metadata about it will still be relevant, even if it was created in a different context.</p>
<p>For Web-heads, this online data-linking story is business as usual; for the broadcast TV industry, it&#8217;s something of a new world.</p>
<p>The Web can be more than a way of driving content to viewing portals, it can be more than a threat to content owners, it can change the way we think about what all these moving pictures are telling us. Douglas Adams described this very well 20 years ago, and if you&#8217;ve not seen his <a href="http://en.wikipedia.org/wiki/Hyperland">Hyperland</a> documentary on pre-Web hypertext, I do urge you to go find a way to see it.</p>
<p>So, let&#8217;s stick with my example movie, and work outwards from an assumption we have one reasonable identifier for the film that connects us to a Web of linked data about it. Errol Morris&#8217;s (excellent) film <a href="http://en.wikipedia.org/wiki/The_Fog_of_War">The Fog of War</a>. How could a simple piece of software (running on a smart phone or home media centre) figure out that he is the director? Well, if we believe Wikipedia infoboxes and we find and believe <a href="http://dbpedia.org/page/The_Fog_of_War">DBpedia&#8217;s derived page about the film</a>, the information is there in a machine-friendly form: it says that that &#8216;director&#8217; property of the film is <a href="http://dbpedia.org/page/Errol_Morris">Errol Morris</a>. And following that link, in turn we can see a claim that Errol Morris has a &#8216;website&#8217; at <a href="http://www.errolmorris.com/">www.errolmorris.com</a>.</p>
<p>So, working outwards from the content, we find the director, and the director&#8217;s website url. What can we do with that? Well we could try loading pages from the site directly, and interpreting them. But the chances are currently low that we&#8217;ll find any machine-oriented, automation-friendly markup there. And indeed, if we look at the source of his page, there isn&#8217;t a lot there to help machines. Here is the markup for the twitter link mentioned earlier:</p>
<pre>&lt;<span>a</span><span> href</span><span>="</span><a href="view-source:http://twitter.com/ErrolMorris">http://twitter.com/ErrolMorris</a><span>" </span><span>target</span>=<span>"_blank"</span>&gt;</pre>
<p>If the page had included just a few extra characters, the microformat markup &#8220;<strong>rel=&#8217;me&#8217;</strong>&#8220;, or had a FOAF file, we could automatically have discovered that he had a microblog. He also has another blog on the New York Times site, and both of these have feeds (<a href="http://twitter.com/statuses/user_timeline/14248315.rss">Twitter RSS</a>; <a href="http://morris.blogs.nytimes.com/feed">NYTimes RSS</a>). Blogs and microblogs provide a way of establishing a more vivid and immediate connection between viewers and content creators; but finding the relevant feed for a given media object is non-trivial. So let&#8217;s walk through some of the issues and technologies.</p>
<p>0.  Content identification</p>
<p>For any of this &#8216;Linked TV&#8217; scenario to make any sense, we need to get our hands on a solid widely-known identifier for the content. This is our entry pass into Douglas Adams&#8217; &#8216;<em>hyperland&#8217;</em>, and is harder than it might seem. Typically all we have to identify a piece of content is information about a file, and maybe a textual label or two. There are a variety of automatic and semi-automatic approaches here, and growing support for rich disambiguation in freely available tools (eg. Boxee).</p>
<p>1. Reliability of linked data</p>
<p>Given a wikipedia or imdb url, we can find a lot of linked RDF data. In the example here, we use dbpedia to find the director&#8217;s homepage. Is this risky? Could the page be edited mischievously? Yes! Are there scenarios in which such Webby uncertainty is inappropriate in a TV context? Yes. Can we expect to see commercial and <a href="http://en.wikipedia.org/wiki/MusicBrainz">Musicbrainz-style</a> collaborative enrichment and QA of linked datasets? I think so.</p>
<p>2. Social Graph discovery</p>
<p>OK, so we&#8217;ve found the director&#8217;s homepage. Maybe we could have found actors, presenters or writers too, given different content. This is great, but we don&#8217;t have much there that makes sense in a TV user interface. How do we find the twitter microblog programmatically? or his New York Times blog? How can we be sure of those links?</p>
<p>This is partially a matter of waiting, and partially a chicken-and-egg situation. If we build TV tools and lightweight standards which work better if content creator sites have a little extra markup (eg. rel=&#8217;me&#8217;), some content creators will add it to their homepages and blogs, and some hosting / tool vendors will add it automatically anyway. But what can we do today? Let&#8217;s look at <a href="http://socialgraph.apis.google.com/">Google&#8217;s Social Graph API</a>.</p>
<p>The <a href="http://socialgraph.apis.google.com/">SGAPI</a> allows us to take advantage of Google&#8217;s global Web index, and ask questions about people, their profiles, account pages, and connections.</p>
<p>We can ask for example, <a href="http://socialgraph.apis.google.com/lookup?q=http%3A%2F%2Fwww.errolmorris.com%2F&amp;fme=1&amp;edo=1&amp;pretty=1&amp;callback=">which accounts are claimed by http://www.errolmorris.com/</a>. Today this gives no results, since the link in that page to the matching twitter page contains no semantic markup.</p>
<p>We can also ask, <a href="http://socialgraph.apis.google.com/lookup?q=http%3A%2F%2Ftwitter.com%2Ferrolmorris&amp;fme=1&amp;pretty=1&amp;callback=">which accounts are claimed by http://twitter.com/ErrolMorris</a> &#8230; and this finds some interesting information, since (unlike errormorris.com) Twitter is a site that is understood by the Google Social Graph API. We find a location (Boston MA), some photo and feed urls, but also a link from ErrolMorris on twitter to his homepage, www.errolmorris.com.</p>
<p>This last point is important: Google Social Graph API is structured in terms of claims. This gives it a lot more robustness against spammers and mischief. SGAPI notices that the markup on the Twitter page says, in effect, &#8220;this is my homepage over here&#8221; (in microformat-speak, &#8216;this is (also) me&#8217;). Here it is in full, &#8230; the link <em>from</em> Errol Morris on Twitter, linking <em>to</em> his homepage:</p>
<pre id="line325">&lt;<span>a</span><span> href</span><span>="</span><a href="view-source:http://www.errolmorris.com/">http://www.errolmorris.com</a><span>" </span><span>class</span>=<span>"url" </span><span>rel</span>=<span>"<strong>me</strong> nofollow" </span><span>target</span>=<span>"_blank"</span>&gt;</pre>
<p>But the Google SGAPI notices that the homepage doesn&#8217;t <em>explicitly </em>reciprocate the claim. There is no machine markup in the homepage to indicate that the owner of the page is saying that the twitter page &#8220;is me&#8221;. It might just be a link to a friend, for example.</p>
<p>Nevertheless, we can use the SGAPI in less trusting mode (&#8217;show inbound links&#8217;), and take advantage of Google&#8217;s massive Web index to ask: <a href="http://socialgraph.apis.google.com/lookup?q=http%3A%2F%2Ftwitter.com%2Ferrolmorris&amp;fme=1&amp;edi=1&amp;pretty=1&amp;callback=">which pages claim to have the same owner as www.errolmorris.com</a>?</p>
<p>This gives us a story about how we can find a lot of useful contextual information, given a basic starting point. The Google service I show here is just one of several that could be exploited in &#8216;linked tv&#8217; scenarios.</p>
<p>For finding other identifiers, we might use sameas.org. Here&#8217;s what I get <a href="http://sameas.org/html?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FThe_Fog_of_War&amp;x=20&amp;y=16">when I ask it</a> for other URIs for the fog of war film, using a dbpedia uri as entry point:</p>
<ol>
<li><a title="http://dbpedia.org/resource/The_Fog_of_War" href="http://dbpedia.org/resource/The_Fog_of_War">http://dbpedia.org/resource/The_Fog_of_War</a></li>
<li><span> </span><a title="http://dbpedia.org/resource/11_Lessons_from_the_Life_of_Robert_S._Mcnamara" href="http://dbpedia.org/resource/11_Lessons_from_the_Life_of_Robert_S._Mcnamara">http://dbpedia.org/resource/11_Lessons_from_the_Life_of_Robert_S._Mcnamara</a><span> </span></li>
<li><span> </span><a title="http://mpii.de/yago/resource/The_Fog_of_War" href="http://mpii.de/yago/resource/The_Fog_of_War">http://mpii.de/yago/resource/The_Fog_of_War</a></li>
<li><a title="http://rdf.freebase.com/ns/guid.9202a8c04000641f80000000004e1a97" href="http://rdf.freebase.com/ns/guid.9202a8c04000641f80000000004e1a97">http://rdf.freebase.com/ns/guid.9202a8c04000641f80000000004e1a97</a></li>
</ol>
<p>For &#8217;social graph&#8217; data, we might also check <a href="http://sindice.com">sindice.com</a> or <a href="http://foaf.qdos.com">foaf.qdos.com</a>.</p>
<p>Topic description</p>
<p>A quick word on topics and wikipedia: by using content identifiers that link to Wikipedia and DBpedia, we have the potential for extremely rich, fine grained topical annotations.</p>
<p>Wikipedia&#8217;s <a href="http://en.wikipedia.org/wiki/The_Fog_of_War">page</a> about the movie notes that it covers the Cuban Missile Crisis. This association is now machine-visible, since I personally improved the relevant Wikipedia entry to explicitly link to the <a href="http://en.wikipedia.org/wiki/Cuban_Missile_Crisis">Cuban Missile Crisis</a> page on Wikipedia. This allows us to use wikipedia:Cuban_Missile_Crisis as a topic indicator, not just against the entire film but against particular segments of the movie that are about that topic. It is easy to get a list of such links from the Wikipedia markup, eg. [[Ford Motor Company]], [[Vietnam War]] are also already there. If we have a TV presentation system that has a unique id for the content (and ideally content-version, since content often varies), and we know an offset in seconds, then rich topical tags could be applied to sections of the film, without the need for textual data entry. An iphone or similar device could allow users to pause, annotate/tag/bookmark and continue their viewing, with no need for a keyboard.</p>
<p>That smart-phone story there is worth investigating, but let&#8217;s first start closer to the screen: what kinds of set top box, media centre or gadget might be able to index, navigate and play content in a way that makes interesting use of &#8216;linked tv&#8217; techniques such as these? Which brings me to APIs for &#8216;<a href="http://en.wikipedia.org/wiki/Media_center">media centre</a>&#8216; systems, finally.</p>
<p>If we want to recommend interesting content to users, show them relevant links, annotations, related materials (not necessarily more video &#8211; text, audio, even a spreadsheet with statistics might be appropriate), suggestions from friends, upcoming broadcasts or archived materials, then we need an environment that is scripting friendly and capable of interacting with users in a rich and compelling manner. The simplest path here is to start with what&#8217;s out there already, and look at commonalities in API and data model, to see how far existing software can be &#8216;remote controlled&#8217; from external scripts (and, eventually, from actual hand-held remote controls, eg. smartphones). I&#8217;ll go into some detail on that in the followup post.</p>
<p>The main point I want to (<a href="http://openp2p.com/lpt/a/554">re-</a>)emphasise here, is that once we make get to the stage of having well known identifiers for content, it facilitates a very rich marketplace for TV-related metadata, with emphasis on the word &#8220;-<em>related</em>&#8220;. And that this is necessarily very open-ended, since TV content can be about absolutely anything. I gave some examples drawing on Wikipedia/DBpedia for content metadata, and on homepages, twitter and Google&#8217;s Social Graph API to show how additional highly relevant information can be pulled from the Web, once we get a basic starting point. Finding ways of presenting such extra information to users, and giving them appropriate navigation and interaction options, is far from easy. Fortunately it is easier to share, syndicate and merge TV <em>meta</em>-content, than TV content. We are already seeing systems such as the <a href="http://xbmc.org/">XBMC</a>-based <a href="http://www.boxee.com">Boxee</a> which will normalise content identifiers in a way that <a href="http://boxee.pbworks.com/why-boxee-is-good-for-content-owners">encourages</a> legal uses over illegal. Intellectual properties issues around TV content means that actual playable content is often not broadly shareable. However the same need not be true of user-supplied metadata, since this can be about a specific media file, but also it can be about the things the content is about. I expect to see TV meta-content shared in a global linked system, even while the underlying video and audio remain relatively hidden away; rich user-supplied TV metadata isn&#8217;t just about the TV show, it equally can tell us about the world and the viewer, and deserves to be widely available through open standards.</p>
<p>To go back to my original example, <a href="http://en.wikipedia.org/wiki/Errol_Morris">Errol Morris&#8217;s</a> film about <a href="http://en.wikipedia.org/wiki/Robert_McNamara">Robert McNamara</a>, <a href="http://en.wikipedia.org/wiki/The_Fog_of_War">The Fog of War</a>&#8230; there&#8217;s a world of metadata options <a href="http://youtube-global.blogspot.com/2009/09/five-stars-dominate-ratings.html">beyond five-star ratings</a> that can enrich such content, beyond worrying about numerical ranking in statistical recommender systems. Existing work there, eg. around the <a href="http://en.wikipedia.org/wiki/Netflix_Prize">Netflix prize</a>, would be hard to beat. Statistical recommendations work well over a regular dataset where everything has a well known identifier. We can see RDF and linked data techniques serving a pre-processing role for such analysis, by linking together otherwise fragmented pieces of information about content, allowing classic techniques to be applied over a wider dataset.</p>
<p>However, I see the true &#8216;linked TV&#8217; potential to be primarily in another direction: in creating more meaningful conversations around content, and helping users find other information that gives a complementary perspective on the materials, and on cross-referencing <em>everything</em> with <em>everything</em> so that unexpected new paths can be found. Morris&#8217; film can teach us a lot about McNamara, but also about the wider world and recent history &#8230; about the <a href="http://en.wikipedia.org/wiki/Ford_Motor_Company">Ford Motor Company</a>, the <a href="http://en.wikipedia.org/wiki/Vietnam_War">Vietnam War</a>, the <a href="http://en.wikipedia.org/wiki/Cuban_Missile_Crisis">Cuban Missile Crisis</a>, the <a href="http://en.wikipedia.org/wiki/Strategic_bombing_during_World_War_II#United_States_strategic_bombing_of_Japan">firebombing</a> <a href="http://en.wikipedia.org/wiki/Bombing_of_Tokyo">of Tokyo</a> under the command of <a href="http://en.wikipedia.org/wiki/Curtis_LeMay">Curtis LeMay</a>. Not all easy or pleasant topics to try to understand, and each with thousands of other relevant sources (video or otherwise) out there, different perspectives to cross-reference, different accounts to reconcile.</p>
<p>If television is an environment in which we can be <a href="http://www.bbc.co.uk/info/purpose/">informed, educated and entertained</a> (by broadcasters, content creators, and increasingly, by everyone else too), we need to think through what this means for better metadata. Today we are lucky if we can find a good way of even <em>identifying</em> a piece of content. But tomorrow, we should have TV that comes out of the box with &#8220;<em>Do You Want To Know More</em>?&#8221; switched &#8216;<strong>on</strong>&#8216; by default.</p>
<p>When Obama gives a talk (see his <a href="http://www.whitehouse.gov/blog/NewBeginning/">June 2009 speech in Cairo</a>) he mentioned the following, at around 33 minutes and 30 seconds:</p>
<blockquote><p>For many years, Iran has defined itself in part by its opposition to my country, and there is in fact a tumultuous history between us.  <em>In the middle of the Cold War, the United States played a role in the overthrow of a democratically elected Iranian government</em>.</p></blockquote>
<p>This last point is well covered by historians, but was likely to be new information for many viewers in the USA and UK, if not for those in Iran. What can we do to improve that, by bringing Web and TV closer together?</p>
<p>While the <a href="http://www.whitehouse.gov/videos/2009/June/20090604_Cairo_University.mp4">raw video</a>, <a href="http://www.whitehouse.gov/videos/2009/June/20090604_Cairo_University.mp3">audio</a>, and <a href="http://www.whitehouse.gov/the_press_office/Remarks-by-the-President-at-Cairo-University-6-04-09/">transcript</a> are  available on the Whitehouse site, we don&#8217;t yet have enough for &#8220;do you want to know more?&#8221;. W3C&#8217;s <a href="http://www.w3.org/AudioVideo/TT/">TimedText</a> work might provide a basis for associating the transcript with the video as subtitles. This is not enough for someone who <em>wants to know more</em>, in following up this unusual acknowledgement of superpower interference.</p>
<p>An Internet-literate, laptop-owning Web user might try to find out more in an active manner. Although they are in a minority amongst TV viewers, there are still thousands of such people, and they know how to go to google.com and do searches. Can we harness their energy to improve the TV metadata environment for everyone? If you search Google for &#8216;US overthrow iranian government&#8217; you find a good starting point for learning more, a Wikipedia page &#8220;<a href="http://en.wikipedia.org/wiki/1953_Iranian_coup_d%27%C3%A9ta">1953 Iranian coup d&#8217;état</a>&#8220;. Although that page has content which Wikipedia flags as controversial, it has a world-visible <a href="http://en.wikipedia.org/wiki/Talk:1953_Iranian_coup_d%27%C3%A9tat">talk page</a> in which contributors from around the world can debate the detail of the topic. So how can this Web content be bridged with the world of TV?</p>
<p>TV viewers are commonly concerned characterised in terms of a pyramid:</p>
<ul>
<li>a passive majority, content to watch without interaction</li>
<li>a smaller group who will interact and navigate, but who rarely create new content</li>
<li>an even smaller group of activist users, who will explore, annotate, interact and create using all the tools available</li>
</ul>
<p>The production and consumption of &#8216;do you want to know more?&#8217; annotation won&#8217;t equally distributed. All viewers can benefit from, for example, a link from the Obama Cairo speech video to background information on the 1953 Iran coup. Some viewers might benefit indirectly, because their more inquisitive friends and family will have explored the linked materials and will <em>talk</em> to them about it. Others might read the wikipedia page and linked pages directly; if not on their television, then later on a laptop or PC.</p>
<p>Still others (a minority, but such minorities can be influential) might engage further with the material, become intrigued by the differences of opinion and seek more perspectives from the wider Web. Now 1953 is not ancient history; it falls within the living memory of countless people, in Iran, the UK and the world at large. A challenge for Linked TV is to find ways to integrate those memories and views into the TV environment, such that any viewer could pause the playing of the <a href="http://www.whitehouse.gov/blog/NewBeginning/">Obama Cairo speech</a> video because they <em>want to know more</em> about what he just said. Regardless of whether they are watching on whitehouse.gov, YouTube, Joost, a live re-broadcast, a radio-extract, a player embedded in a social network site (facebook, orkut, hyves, &#8230;), or running on a mobile phone. The current problem Iranians have with getting full and high-bandwidth Web access are another obstacle, of course, but eventually we can expect relevant video or audio memories from Iran (with subtitles and translations) to be 1 or 2 clicks away from Obama&#8217;s video, regardless of the software and environment playing the video. Much of that material is already out there <em>somewhere</em>, the challenge is to find it, link it and present it appropriately.</p>
<p>The core piece of metadata, a link from a section of the <a href="http://www.whitehouse.gov/videos/2009/June/20090604_Cairo_University.mp4">video</a> (ie. the offset, 33mins, 30 secs) of his speech to a URL for the topic it describes, could be created by whitehouse.gov staff, or it could be created by activist users. We pretty much know how to do this. A time-offset and a wikipedia URL do that job well enough for now. But what we have so far failed to achieve is a world-wide data ecosystem in which this kind of TV-enriching metadata is plentiful, widely used, and comprehensive enough that we can grow to expect to have fact-checkable TV, cross-referencable TV, hypertext TV. Instead of throwing physical things at the TV when we disagree with what we hear, it should become commonplace to be able to press pause and then or later publish your perspective (an audio rant, a fact-check crosslink, a blog post) in a way that will become accessible by other viewers of that material in the future.</p>
<p>To achieve this, we can&#8217;t afford needless fragmentation</p>
<ul>
<li>of meta-content about different versions of the same basic content</li>
<li>between geographical regions based on geo-rights to play the material</li>
<li>between desktop, media-centre, mobile, set top box, broadcast and on-demand scenarios</li>
<li>between radio and TV</li>
<li>between files and streams</li>
<li>between file formats</li>
<li>between populations (&#8216;net censorship and crude blocking technology)</li>
</ul>
<p>If these huge obstacles can be overcome, it might become reasonable to expect to find useful information attached to most of what we see on next-generation TV, regardless of delivery system. My hunch is the right place to prototype is around opensource and hackable media centre systems, and the right low-level communications system is XMPP. I&#8217;ll go into this more in the next post. Apologies for the length of this one. Comments welcomed by blog email or whatever!</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/09/452/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://www.whitehouse.gov/videos/2009/June/20090604_Cairo_University.mp4" length="654715197" type="video/mp4" />
<enclosure url="http://www.whitehouse.gov/videos/2009/June/20090604_Cairo_University.mp3" length="52191424" type="audio/mpeg" />
		</item>
		<item>
		<title>Getting started with Mozilla Jetpack for Thunderbird (on OSX)</title>
		<link>http://danbri.org/words/2009/10/02/445</link>
		<comments>http://danbri.org/words/2009/10/02/445#comments</comments>
		<pubDate>Fri, 02 Oct 2009 11:35:21 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[FOAF]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=445</guid>
		<description><![CDATA[A few weeks ago, I started to experiment with Mozilla&#8217;s new Jetpack extension model when it became available for Thunderbird. Revisiting the idea today, I realise I&#8217;d forgotten the basic setup details, so am recording them here for future reference.
I found I had to download the source from the Mercurial Web interface, rather than use [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I started to experiment with Mozilla&#8217;s new <a href="http://jetpack.mozillalabs.com/">Jetpack</a> extension model when it became available for Thunderbird. Revisiting the idea today, I realise I&#8217;d forgotten the basic setup details, so am recording them here for future reference.</p>
<p>I found I had to download the source from the Mercurial Web interface, rather than use pre-prepared XPI installers. This may have improved by the time you read this. I also learned (from Standard9 in #jetpack IRC) that I need <a href="http://hg.mozilla.org/users/bugmail_asutherland.org/opc-jetpack/">asuth&#8217;s repository</a>, rather than the main one. Again, things move quickly, don&#8217;t assume this is true forever.</p>
<p>Here is what worked for me, on OSX.</p>
<p>1. Grab a .zip from the Jetpack repo, and unpack it locally on a machine that has Thunderbird installed.</p>
<p>2. Edit extensions/install.rdf and make sure the em:maxVersion in the Thunderbird section matches your version of Thunderbird. In mine I updated it to say &lt;em:maxVersion&gt;3.0b4&lt;/em:maxVersion&gt; (instead of 3.0b4pre).</p>
<p>3.  See the README in the jetpack filetree for installation. With Thunderbird closed, I ran &#8220;python manage.py install &#8211;app=thunderbird&#8221; and I found Jetpack installed fine.</p>
<p>4. Run Thunderbird, you should see an about:jetpack tab, and corresponding options in the Tools menu.</p>
<p>This was enough to get started. See <a href="http://www.visophyte.org/blog/2009/07/23/thunderbird-jetpack-messagedisplay-overridemessagedisplay-fun/comment-page-1">discussion on visophyte.org</a> for some example code.</p>
<p>After installation, you can use the about:jetpack windows to load, reload and delete Jetpacks from URL.</p>
<p>So, why would you bother doing all this? Jetpack provides a simple way of extending an email client using Web technology.</p>
<p>In my current (unfinished!) <a href="http://pastebin.com/f34bbdcdb">experiment</a>, for example, I&#8217;m looking at making a sidebar the shows information (photo, blog etc.) about the sender of the currently-viewed email. And I figured that if I blogged this HOWTO, someone more familiar with ajax, jquery etc might care to help with wiring this up to the <a href="http://code.google.com/apis/socialgraph/">Google Social Graph JSON API</a>, so we can use FOAF and XFN to provide more contextual information around incoming mail&#8230;</p>
<p>Assuming you are running Thunderbird 3b4</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/10/02/445/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mirrors and Prisms: robust site-specific browsers</title>
		<link>http://danbri.org/words/2009/09/28/433</link>
		<comments>http://danbri.org/words/2009/09/28/433#comments</comments>
		<pubDate>Mon, 28 Sep 2009 19:40:20 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[Activism]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=433</guid>
		<description><![CDATA[Mozilla (amongst others, see Chris Messina&#8217;s writeup of the trend, also Matt&#8217;s) have been exploring site-specific browsers through their Prism project. These combine aspects of the Web and Desktop environments, allowing you to have a desktop app tuned for browsing just one specific Web site. Prism is an application which, when run, will generate new [...]]]></description>
			<content:encoded><![CDATA[<p>Mozilla (amongst others, see Chris Messina&#8217;s <a href="http://factoryjoe.com/blog/2007/12/28/fluid-prism-mozpad-and-site-specific-browsers/">writeup</a> of the trend, <a href="http://browsing.justdiscourse.com/2008/01/14/browser-trends-site-specific-browsers/">also Matt&#8217;s</a>) have been exploring <a href="http://en.wikipedia.org/wiki/Site-specific_browser">site-specific browsers</a> through their <a href="http://prism.mozilla.com/">Prism</a> project. These combine aspects of the Web and Desktop environments, allowing you to have a desktop app tuned for browsing just one specific Web site. Prism is an application which, when run, will generate new per-site desktop applications. Currently it does not yet have a fancy packaging/installer, so users will need to install Prism plus the site files separately.</p>
<p>I have started to look at Prism as a basis for accessing robust, mirrored sites, so that a single point of failure (or censorship) might be avoided. With a lot help from <a href="http://browsing.justdiscourse.com/">Matt</a> and others in <a href="irc://irc.mozilla.org/prism">#prism</a> IRC chat, I have something almost working. The idea is simple: hack Prism so that the running browser code intercepts clicks and (based on some as-yet-undefined logic and preferences) gets the page from a list of mirrors, which might also be fetched dynamically from the &#8216;net.</p>
<p>I should also mention that one motivation here is for anti-censorship tools, to give users an easy way to access sites which might be blocked by their IP address or URL otherwise. I looked at FoxyProxy as an option but for site-specific robustness, running a full proxy server seems a bit heavy, compared to simply duplicating a set of files. Here&#8217;s what the main Prism app looks like:</p>
<div id="attachment_434" class="wp-caption alignnone" style="width: 216px"><img class="size-medium wp-image-434" title="prism-gutenberg" src="http://danbri.org/words/wp-content/uploads/2009/09/prism-gutenberg-206x300.png" alt="prism-gutenberg" width="206" height="300" /><p class="wp-caption-text">Screenshot showing Prism config settings for a site-specific browser.</p></div>
<p>Once you have Prism installed, you can hack a file named <a href="http://mxr.mozilla.org/mozillasvn/source/projects/webrunner/chrome/content/webrunner.js#571">webrunner.js</a> to intervene when links are clicked. In OSX, this can be found as /Applications/Prism.app/Contents/Resources/chrome/webrunner/content/webrunner.js.</p>
<p>Edit this: <strong>_domActivate : function(aEvent)</strong></p>
<p>I added the following block to the start of this function:</p>
<p>var link = aEvent.target;<br />
if (link instanceof HTMLAnchorElement &amp;&amp; !WebRunner._isLinkExternal(link)) {<br />
aEvent.preventDefault();<br />
WebRunner._getBrowser().loadURI(&#8220;http://example.org/mirrors/&#8221;+link.href,null,null);<br />
}</p>
<p>The idea here being that we intercept clicks, and rewrite them to point to equivalent http:// URIs elsewhere in the Web. As far as this goes, it works as advertised. But what I have is far from working&#8230; it would need some code in there to find the right mirror URLs to fetch from. Perhaps a list might be fetched on startup or first time a link is followed. It could also do with some work on packaging, so that this hacked version of Prism plus some actual site-specific browser config can be made into an easy-install Windows .exe or OSX .app. For a Windows installer, I am told that <a href="http://en.wikipedia.org/wiki/Nullsoft_Scriptable_Install_System">NSIS</a> is a good place to start. You could also imagine a version that hid the mirrored URLs from user&#8217;s view. Since Prism has a built-in option to completely hide the URL navigation bar, I didn&#8217;t investigate this idea yet.</p>
<p>OK I think I&#8217;ve written up everything I learned from the helpful folks in IRC. I hope this repays some karma. If anyone cares to explore this further, or wants to help target student projects on exploring it, please get in touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/09/28/433/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wolfram Alpha Interview</title>
		<link>http://danbri.org/words/2009/08/30/427</link>
		<comments>http://danbri.org/words/2009/08/30/427#comments</comments>
		<pubDate>Sun, 30 Aug 2009 15:43:52 +0000</pubDate>
		<dc:creator>danbri</dc:creator>
				<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[china]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[wolfram]]></category>

		<guid isPermaLink="false">http://danbri.org/words/?p=427</guid>
		<description><![CDATA[An interview with Xiang Wang of Wolfram Research in China, by Han Xu (Collin Hsu) of W3China fame.
Interesting excerpt:
Q: Since Wolfram&#124;Alpha is dubbed &#8217;smarter&#8217; than traditional search engines, I wonder how much AI techniques are actually employed in the system? How is inference done? What is the provenance of each fact/claim? And what if there [...]]]></description>
			<content:encoded><![CDATA[<p>An <a href="http://www.infoq.com/news/2009/07/Interview-Wolfram-Alpha">interview</a> with Xiang Wang of Wolfram Research in China, by Han Xu (Collin Hsu) of <a href="http://www.w3china.org/index.htm">W3China</a> fame.</p>
<p>Interesting excerpt:</p>
<blockquote><p>Q: Since Wolfram|Alpha is dubbed &#8217;smarter&#8217; than traditional search engines, I wonder how much AI techniques are actually employed in the system? How is inference done? What is the provenance of each fact/claim? And what if there is a disagreement? For example, how it would represent information about Israel/Palestine area?</p>
<p>A: It&#8217;s much more an engineered artifact than a humanlike artificial intelligence. Some of what it does &#8211; especially in language understanding &#8211; may be similar to what humans do. But its primary objective is to do directed computations, not to act as a general intelligence. Wolfram|Alpha uses established scientific or other models as the basis for its computations. Whenever it does new computations, it&#8217;s effectively deriving new facts. About the controversial data you asked about, we deal in different ways with numerical data and particular issues. For numerical data, Wolfram| Alpha curators typically assign a range of values that are then carried through computations. For issues such as the interpretation of particular names or terms, like Israel/Palestine area issue mentioned in your question, Wolfram|Alpha typically prompts users to choose the assumption they want. We spend considerable effort on automated testing, expert review, and checking external data that we use to ensure the results. But with trillions of pieces of data, it&#8217;s inevitable that there are still errors out there. If you ever see a problem, please report it.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://danbri.org/words/2009/08/30/427/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
