W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2007

hAudio RDFa implementation using Operator

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Mon, 06 Aug 2007 20:58:22 -0400
Message-ID: <46B7C3AE.8060301@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
CC: Mike Kaply <microformats@kaply.com>

The following is an hAudio RDFa implementation using Operator. Some of
the latest updates to RDFa are not in there (such as using @instanceof
instead of @class). You can get the source and example files from here:

http://wiki.digitalbazaar.com/releases/hAudioRDFa-0.1.tar.gz

To install Operator:

1. untar/gz the archive and install the following XPI:
      hAudioRDFa/operator/operator.xpi
2. Restart Firefox.
3. Open the Operator "Options" panel.
4. Select Display Style -> Data formats
5. Click the "User Scripts" tab.
6. Click "New" and install the following two formats:
      hAudioRDFa/operator/money.js
      hAudioRDFa/operator/hAudio.js
7. Restart Firefox.

The following examples are available:

hAudioRDFa/tests/test-00-template.html
This is the default HTML without any sort of semantic markup. The file
is 906 bytes in size, and the XHTML is pretty clean and easy to read.

hAudioRDFa/tests/test-01-haudio_rdfa_test.html
This is the hAudio RDFa-only semantic markup. The file is 2199 bytes in
size (almost 2 1/2 times larger). The XHTML is fairly verbose, but still
manageable/readable.

hAudioRDFa/tests/test-02-haudio_uf_test.html
This is the hAudio Microformat semantic markup. The file is 1813 bytes
in size (2 times larger). The XHTML is fairly manageable/readable, not
as verbose as RDFa.

hAudioRDFa/tests/test-03-haudio_uf_rdfa_test.html
This is the hAudio RDFa + Microformat example. The file is 2772 bytes in
size (3 times larger). The XHTML is not very manageable/readable, too
verbose and very prone to errors when making edits.

Why this set of tests are helpful:

They represent real-world tests of RDFa and Microformats. Using the two
methods of semantic markup together was more difficult than we had
previously anticipated. It's very prone to human error, resulting in
invalid semantic markup. I'll put the other findings in a separate e-mail.

-- manu

-- 
Manu Sporny
President/CEO, Digital Bazaar, Inc.
http://www.bitmunk.com/
Received on Tuesday, 7 August 2007 00:58:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:09 GMT