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:


To install Operator:

1. untar/gz the archive and install the following 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:
7. Restart Firefox.

The following examples are available:

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.

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

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.

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.
Received on Tuesday, 7 August 2007 00:58:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:51 UTC