Use case for scripts using HTML data

Hi Rob,

You know a while ago you did that reading list application that used RDFa? I'm trying to collect use cases for the HTML Data Task Force, and I think it illustrates an important pattern of use that we might otherwise not capture, namely a site using HTML data for itself to consume using scripts.

I wonder if you'd do me a big favour and do just a really short summary of it under these headings:

title
  a short name that can be used to refer to the use case
background
  any necessary information about the domain of the use case that 
  helps to explain it
description
  how HTML data is used in the use case, with either embedded 
  examples of the markup or pointers to material that otherwise 
  illustrates it
discussion
  what makes this use case different from others? why was markup 
  used in the way described rather than an alternative?
implementations
  pointers to implementations that generate and/or consume HTML 
  data in this form, or ideas for such implementations

or point me to some other write-up from which we can create a summary.

I know it was done a few years ago. The one big question that I think people would have about it now is whether it would be preferable, assuming use of HTML5, to have had the data provided using data-* attributes instead. Are there any places in the markup where that approach wouldn't have worked, or reasons for using markup that can be read by consumers other than your script? If the latter, which consumers did you have in mind?

Thanks ever so much in advance,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Tuesday, 18 October 2011 08:54:18 UTC