<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Edd Dumbill's Weblog: 'microformats' articles</title>
  <link href="http://times.usefulinc.com/tagmicroformatsatom" rel="self"/>
  <link href="http://times.usefulinc.com/tagmicroformats" rel="alternate"/>
  <id>http://times.usefulinc.com/</id>
  <updated>2008-06-24T08:53:59Z</updated>
  <author>
    <name>Edd Dumbill</name>
    <email>edd-web@usefulinc.com</email>
  </author>
  <entry>
    <title>The BBC, microformats, RDFa and Resig</title>
    <link href="http://times.usefulinc.com/2008/06/24-uf-rdfa" rel="alternate"/>
    <id>http://times.usefulinc.com/public/read/923</id>
    <updated>2008-06-24T08:53:59Z</updated>
    <published>2008-06-24T08:31:52Z</published>
    <summary>Alas, a bit disappointed to pick up on the continuation of the bogus microformats vs RDF holy war</summary>
    <category term="semweb"/>
    <category term="microformats"/>
    <category term="community"/>
    <content type="html">
&lt;p&gt;The BBC have &lt;a href="http://www.bbc.co.uk/blogs/radiolabs/2008/06/removing_microformats_from_bbc.shtml"&gt;recently opted&lt;/a&gt;&amp;nbsp;to remove hCalendar &lt;a href="http://www.microformats.org/"&gt;microformats&lt;/a&gt; from their Programmes site, due to problems with the use of the &lt;span style="font-style: italic;"&gt;abbr&lt;/span&gt; tag clashing with accessibility tools. One of the potential alternative solutions they're discussing is &lt;a href="http://www.w3.org/TR/xhtml-rdfa-primer/"&gt;RDFa&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The excellent John Resig, brain behind jQuery and a million other wonderful Javascript projects, &lt;a href="http://ejohn.org/blog/bbc-removing-microformat-support/"&gt;comments on this development in his blog&lt;/a&gt;. Take the time to read his post now, it's short.&lt;/p&gt;
&lt;p&gt;Resig is someone whom I admire greatly. In particular the quality of his work and thinking, and his dedication to tidying up hairy technologies like JavaScript and Mozilla APIs into developer-accessible frameworks (jQuery, FUEL).&lt;/p&gt;
&lt;p&gt;So I was a bit disappointed, and frankly weary, to pick up on the continuation of the bogus microformats vs RDF holy war in his post. I wrote the substance of his post in the comments on his blog, but will repost here for completeness.&lt;/p&gt;
&lt;p&gt;The BBC criticism of microformats' use of the &lt;span style="font-style: italic;"&gt;abbr&lt;/span&gt; tag is a valid one. The microformats' community don't need to "step up and prevent attrition" as Resig writes &amp;mdash; as if the enemy was advancing over the front &amp;mdash; they need to &lt;span style="font-weight: bold;"&gt;fix a bug&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Resig reads the RDFa primer and comments that it is&lt;/p&gt;
&lt;blockquote&gt;"... obvious that RDFa still has a long ways to go before any sort of practical adoption by developers and designers. Riddled with advanced, or just plain confusing, terminology (XML namespaces, Dublin Core, semantic web, and not to mention the addition of many new attributes - like typeof, about, and property) it appears to be solidly entrenched in the ways that Microformats were able to shake themselves free of, allowing them to achieve widespread adoption."&lt;/blockquote&gt;
&lt;p&gt;Resig moves too quickly to dismiss RDFa. In a similar way I know many people who on encountering the HTML5 specs strongly espoused by Mozilla have the same impression of confusion and complexity. It doesn't necessarily make the work less valid, it's just a reflection on the document.&lt;/p&gt;
&lt;p&gt;One of the wonderful things Resig has done with JavaScript is take time to love it and figure out its corners. Take some of the "confusing" and "advanced" things away and you're not able to achieve the same things. What he's done in jQuery is add a layer of elegance, predictability and accessibility.&lt;/p&gt;
&lt;p&gt;I for one would love to see what Resig would do with semantic markup. jQuery really encourages and enables good markup practices, so there's a lot of synergy with his current style.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'll happily concede that RDF people rarely do themselves any favours in the departments of over-engineering or academic self-satisfaction. I also think microformats have natural limitations. There's a place in between, and it's where people John Resig do their best work.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://times.usefulinc.com/2008/06/24-uf-rdfa#disqus_thread"&gt;Join the conversation about this post&lt;/a&gt;&lt;/p&gt;    </content>
  </entry>
  <entry>
    <title>OpenID and microformats support on XTech site</title>
    <link href="http://times.usefulinc.com/2007/02/27-openid-uformats" rel="alternate"/>
    <id>http://times.usefulinc.com/public/read/886</id>
    <updated>2007-02-27T11:09:20Z</updated>
    <published>2007-02-27T10:08:42Z</published>
    <summary>Two useful new additions to the Expectnation conference system:  decentralized identity support and easy ways to integrate the schedule with your calendar</summary>
    <category term="xtech"/>
    <category term="semweb"/>
    <category term="expectnation"/>
    <category term="openid"/>
    <category term="microformats"/>
    <content type="html">
  &lt;p&gt;Thanks in no small part to the advocacy of &lt;a href="http://simonwillison.net/"&gt;Simon Willison&lt;/a&gt;, I've just &lt;a href="http://openid.net/"&gt;OpenID&lt;/a&gt;-enabled the &lt;a href="http://xtech.expectnation.com/"&gt;XTech&lt;/a&gt; web site.&lt;/p&gt;       &lt;p style="float: right; margin-left: 8px"&gt;&lt;img width="196" height="195" src="/asset/name/22/enation-openid.png" alt="OpenID log in box on Expectnation" /&gt; &lt;/p&gt;      &lt;p&gt;Users can now create their accounts using an OpenID, or associate an OpenID with an existing account.&lt;/p&gt;   &lt;p&gt;A single-sign on solution like OpenID solves an important problem for us, as most people tend to interact with our conference web sites in only one or two time periods each year. While we've gone to the trouble of making retrieving a password easy, there's still the mental burden on the user of setting up the account and noting it down somewhere.&lt;/p&gt;   &lt;p&gt;As a measure of the impact of this on me personally: I habitually save registration confirmation emails in a certain mail folder. Since 1997 I have collected no fewer than 572 of these, and I'm sure some have been missed!&lt;/p&gt;      &lt;p&gt;One other cool thing about OpenID is that finally I can get the identity I wish to have. No longer do I have to be a compulsive early adopter of every service just to get the name &lt;em&gt;edd&lt;/em&gt;. (Well, as long as said service integrates OpenID of course!) Personal branding is an important attractive aspect of OpenID.&lt;/p&gt;&lt;h3&gt;Implementation&lt;/h3&gt;&lt;p&gt;Implementing OpenID using the Ruby &lt;em&gt;ruby-openid&lt;/em&gt; gem was quite straightforward, as was the logical integration into our user models. I've not been the only one following this path recently, as illustrated by &lt;a href="http://www.danwebb.net/2007/2/27/the-no-shit-guide-to-supporting-openid-in-your-applications"&gt;this post on Rails OpenID integration&lt;/a&gt; from Dan Webb.&lt;/p&gt;&lt;p&gt;The harder problem of deploying OpenID lies in making the user interface work well: ultimately that will have a huge influence over its uptake.&lt;/p&gt;   &lt;p&gt;We've made a decent first go of it in &lt;a href="http://www.expectnation.com/"&gt;Expectnation&lt;/a&gt;, but I'm sure we'll evolve and improve it over time. The main puzzling thing is how obvious to make the OpenID facility, given its relatively small take-up right now. We don't want to confuse normal users too much by using it.&lt;/p&gt;  &lt;h3&gt;Microformats&lt;/h3&gt;  &lt;p&gt;When I did my &lt;a href="http://times.usefulinc.com/2007/02/23-xtech"&gt;behind-the-scenes piece&lt;/a&gt; on the building of the XTech schedule last week, one feature I didn't discuss was the support for &lt;a href="http://microformats.org/"&gt;microformats&lt;/a&gt; we have in the schedule and on the session pages. If you use a tool such as &lt;a href="http://labs.mozilla.com/2006/12/introducing-operator"&gt;Operator&lt;/a&gt;, you can easily save talk times to your calendar while reading the schedule.&lt;br /&gt;&lt;/p&gt;   &lt;p style="text-align: center"&gt;&lt;img width="404" height="274" src="/asset/name/23/microformats.png" alt="XTech schedule microformats" /&gt;&lt;/p&gt;   &lt;p&gt;I'm personally a little late to the microformats party. Being a fan of pragmatic RDF, I didn't see much need for microformats right away. However, with tools like Operator I can honestly say that the use of microformats does enhance the XTech schedule.&lt;/p&gt;&lt;p&gt;My impressions of microformats (in particular hCalendar and hCard) from using them are mixed. One the plus side, it was very easy to do. On the negative side, I found them restrictive in the sense that for the metadata to be present in the hCalendar object, it needs to be part of the HTML presentation.&lt;/p&gt;&lt;p&gt;So, while microformats are meant to be about making human readable data useful for computers, they can have a tail-wagging effect on the human markup. Let me elaborate.&lt;/p&gt;&lt;p&gt; In the conference schedule there is a grid overview. For readability here we want to keep the details down to a minimum in each box. There is definitely no need to repeat the date of each presentation when you can see there's a grid per day.&lt;/p&gt;&lt;p&gt;But also we want to have microformats available in the page so users can use the grid to pick off talks to add to their calendar. The only details you currently get from the microformat are those you physically include inside the &lt;em&gt;div&lt;/em&gt; marked as &lt;em&gt;vevent&lt;/em&gt;. This means we can't embed the full details, such as the talk description. It also means I indulge in some dubious markup practices (an empty &lt;em&gt;abbr&lt;/em&gt; element) in order to get the date and time into each hCalendar object.&lt;/p&gt;&lt;p&gt;It seems to me that this could be ameliorated by more intelligent user agent behaviour. Each of my hCalendar events is given a URL. At the end of that URL is a full description of the event, using microformats. So, as long as I reference the URL in a summary page, the user agent can beetle off and pull down the full information, in much the same sort of way that &lt;a href="http://www.foaf-project.org/"&gt;FOAF&lt;/a&gt; uses the &lt;em&gt;rdfs:seeAlso&lt;/em&gt; property.&lt;/p&gt;&lt;p&gt;So, remove the expectation that microformats provide complete data, and I'm sold.&lt;/p&gt;&lt;h3&gt;Other schedule features: iCal, Upcoming.org&lt;br /&gt;&lt;/h3&gt;&lt;p&gt;Of course, we have iCalendar support in the XTech &lt;a href="http://xtech.expectnation.com/event/1/public/schedule"&gt;schedule&lt;/a&gt;, so you can subscribe conventionally using iCal, Evolution or a similar program. &lt;a href="http://www.aaronstraupcope.com/"&gt;Aaron Straup Cope&lt;/a&gt; took the iCalendar, and uploaded each event into Upcoming.org. If you look at the &lt;a href="http://upcoming.org/tag/xtech07/"&gt;upcoming events tagged xtech07&lt;/a&gt;, you see the results of his work.&lt;/p&gt;&lt;p&gt;This foreshadows some of the social elements we plan to add to Expectnation itself: indicating your intent to attend a talk, and adding comments to it. As a program chair I'm finding this quite fascinating to watch.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://times.usefulinc.com/2007/02/27-openid-uformats#disqus_thread"&gt;Join the conversation about this post&lt;/a&gt;&lt;/p&gt;    </content>
  </entry>
</feed>
