HAudio RDFaFrom DBWiki[edit] hAudio RDFa SpecificationThis specification has been replaced by the Audio RDF Vocabulary. Please use the Audio RDF Vocabulary instead of this page. This document is provided purely for historical purposes. hAudio is a simple, open, distributed format, suitable for embedding information about audio recordings in (X)HTML, Atom, RSS, and arbitrary XML. hAudio is one of several microformats open standards. This document is a mapping of hAudio to RDFa. [edit] hAudio RDFa Draft Specification
[edit] IntroductionIt is difficult for a browser to extract semantic information about an audio recording described on a web page. Metadata such as speaker, musician, publisher, label, title of the work, release date, acquisition link, related image artwork and tags provide relevant context for the audio recording. Having such information marked up can provide a number of benefits to the viewer. If a web browser understands that a particular web page contains a song performed by an artist, it can produce richer interactions. For example, specific searches may be performed for artists and songs via general search services such as Google and Wikipedia. Specific search services may also be queried such as MusicBrainz, The Internet Archive, FreeDB, or Bitmunk. Additionally, classification by crawlers can become more accurate. If there are 20 tracks found on a page done by the same artist, and that content consumes a significant portion of the page, it can be assumed that the page is not only about music, but also about a particular artist. In order to enable and encourage the sharing, distribution, syndication, and aggregation of audio content, the authors propose the hAudio microformat, an open standard for distributed audio metadata. The authors have researched both numerous audio-info-examples in the wild and earlier attempts at audio-info-formats, and have designed hAudio around a simple minimal schema for audio content. Feedback is encouraged on the hAudio feedback page. [edit] Inspiration and AcknowledgmentsMany thanks to the various individuals that did research and proposed ideas and discussion related to media info and audio info in general. Among the many participants are RodBegbie, Dean Hudson, Tantek Çelik, Mary Hodder, Joshua Kinberg, ChrisMessina, and Lisa Rein. Others include Martin McEvoy, Alexandre Van De Sande, Michael Johnson, Dave Longley, Brian Suda, Ben Wiley Sittler, Scott Reynen, Frances Berriman, James Craig, David Janes, Andy Mabbett, Danny Ayers, Rudy Desjardins, Edward O'Connor, Ryan King, Chris Griego, Brad Hafichuk, Tantek Çelik, Colin Barrett, Joe Andrieu Many thanks as well to Mike Kaply, Ben Adida, and Mike Linksvayer for guidance with regards to RDFa. [edit] ScopeAudio content consistently share several common fields. Where possible hAudio has been based on this minimal common subset. [edit] Out of scopeFields that are type-specific have been omitted from hAudio. It is important that hAudio be kept simple and minimal from the start. Additional features can be added as deemed necessary by practical implementation experience. The concept of a universal audio identifier, that is, how to identify the same audio album, song, speech, or podcast across different music and audio sites, though something very useful to have, is outside the scope of this format. [edit] Format[edit] In GeneralThe hAudio format is based on a set of fields common to numerous audio content sites and formats in use today on the web. Where possible field names have been re-used from other RDFa name spaces. [edit] SchemaThe hAudio schema consists of the following:
[edit] Microformat MappingThis section describes how hAudio maps from the Microformat world to the RDFa world.
[edit] Field detailsThe fields of the hAudio schema represent the following: [edit] hAudioAn hAudio is used to identify and describe metadata associated with an individual audio recording or an audio album.
[edit] Audio TitleThe audio title of an audio recording is a short textual description used to identify the work among interested parties. This can be the title of a speech, song title, or short description regarding a sound effect.
[edit] CreatorA Creator is the most commonly identified entity noted when speaking about an audio recording. Examples include: the band, the orchestra, the singer, or the musician.
[edit] ContributorA Contributor is any entity that takes part in the creation and distribution of an audio recording. Examples include: an artist, publisher, guitarist, vocalist, violinist, lead singer, backup singer, bassist, drummer, manager, and roadie.
[edit] Published DateThe Published Date specifies the date that the audio recording was made available to the public. Examples include: The airing date of a radio broadcast, the day a speech was given, or the day a music album was made available for sale.
[edit] SampleA Sample URL specifies from where an excerpt of the audio recording may be retrieved.
[edit] Full DownloadAn Full Download URL specifies from where the full version of an audio recording may be retrieved. The URL MUST be a direct link to a file.
[edit] PaymentAn Payment URL specifies from where the full version of an audio recording may be purchased. The URL MUST point to a page that contains a purchase process.
[edit] Image SummaryAn Image Summary specifies an image that should be used to summarize the audio recording. Examples include: the image of a speaker, an audio album cover image, or a picture from a concert.
[edit] CategoryThe Category specifies the genre or style used to classify the audio recording. Examples include: blues, rock, motivational, spoken word, or sound effect.
[edit] DurationThe Duration specifies the length in time of the audio recording in seconds. Examples include: 104 seconds, 3:23, and 4 minutes.
[edit] PriceThe Price specifies the amount of currency that must be exchanged for acquisition of a full specimen of the audio recording. Examples include: One Dollar, $2, and £4.
[edit] Language
[edit] Human vs. Machine ReadableSimilarly, if an
[edit] NotesThis section is informative.
[edit] ExamplesHere are a few examples of audio content from current web sites, and how they could be easily enhanced to support the hAudio RDFa. [edit] Simple Song ExampleDisplay: Start Wearing Purple by Gogol Bordello hAudio RDFa XHTML:
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:hmedia="http://www.microformats.org/2007/12/hmedia/">
<div instanceof="hmedia:Recording" id="start_wearing_purple">
<span property="dc:title">Start Wearing Purple</span> by
<span property="dc:creator">Gogol Bordello</span>
</div>
[edit] Speech ExampleDisplay: I Have a Dream, a speech by Martin Luther King Jr. hAudio RDFa XHTML:
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:hmedia="http://www.microformats.org/2007/12/hmedia/">
<div instanceof="hmedia:Recording" about="#i_have_a_dream">
<span property="dc:title">I Have a Dream</span>, a
<span property="dc:type">speech</span> by
<span property="dc:creator">Martin Luther King, Jr.</span>
</div>
[edit] Complete ExampleAn example that uses every element of hAudio RDFa: [Image] Sneaking Sally Thru The Alley by Phish Here is the hAudio RDFa markup:
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:money="http://www.microformats.org/2007/10/money/"
xmlns:hcommerce="http://www.microformats.org/2007/12/hcommerce/"
xmlns:hmedia="http://www.microformats.org/2007/11/hmedia/"
xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#>
<div instanceof="hmedia:Album" about="#sneaking_sally">
<img rel="hmedia:depiction" src="images/sneaking_sally.jpg"/>
<span property="dc:title">Sneaking Sally Thru The Alley</span> by
<span property="dc:creator">Phish</span>
<br/>
Label: <span property="dc:contributor">Island</span>
</span>
<br/>
Released on:
<span property="dc:date" datatype="xsd:date" content="2006-10-31">October 31, 2006<abbr>
<br/>
Acquire:
<a rel="hmedia:sample" href="/samples/sneaking_sally.mp3">Sample</a>,
<a rel="hmedia:download" href="/live/sneaking_sally.mp3">Live Recording</a>,
<a rel="commerce:payment" href="/buy/sneaking_sally">Buy High Quality Track</a>
Category: <span property="dc:type">live</span>
Duration: <span property="hmedia:duration" datatype="xsd:duration" content="447S">7 minutes, 27 seconds</span>
Price: <div rel="hmedia:costs" instanceof="commerce:Price">
<span property="commerce:currency" content="USD">$</span>
<span property="commerce:amount">0.99</span>
</div>
</div>
[edit] Examples in the wildThis section is informative. [edit] ImplementationsThis section is informative. [edit] References[edit] Normative References[edit] Informative References
[edit] Similar Work[edit] CopyrightThis document and specification is distributed under a Creative Commons Attribution 3.0 license. It is licensed and can be used royalty-free for any purpose. The authors intend to submit this specification to a standards body with a liberal copyright/licensing policy such as the GMPG (http://gmpg.org/), IETF (http://ietf.org/), and/or W3C (http://w3.org). Anyone wishing to contribute should read each organizations copyright principles, policies and licenses (e.g. the GMPG Principles (http://gmpg.org/principles)) and agree to them, including licensing of all contributions under all required licenses (e.g. CC-by 1.0 (http://creativecommons.org/licenses/by/1.0/) and later), before contributing. [edit] PatentsThe authors of this Microformat have not and will not apply for patents covering any invention covering this Microformat in part or as a whole. There are no claims to any patent in this document. Each author is required to report any known patent issues immediately under this section. This document and specification is distributed under a royalty free patent policy, e.g. per the W3C Patent Policy (http://www.w3.org/Consortium/Patent-Policy-20040205/), and IETF RFC3667 (http://www.ietf.org/rfc/rfc3667.txt) & RFC3668 (http://www.ietf.org/rfc/rfc3668.txt). [edit] Work in progressThis specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added. [edit] Further Reading[edit] Mailing List Discussion
[edit] See also[edit] Related Pages |

