haudio-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<h1>hAudio cheatsheet</h1>
<h1>hAudio cheatsheet</h1>
 
'''version 0.9'''
== Notice ==
http://farm2.static.flickr.com/1216/604867362_da0921136a_o.png
 
# Please note hAudio is still under development and the schema outlined below may change from time to time please see [[haudio-cheatsheet#Related_pages | Related Pages]] for more information.


== Properties ==
== Properties ==


* haudio +.
* '''haudio''' {1}.
** audio-title +.
** title + (but see note).
** ''contributor'' *. using [[hCard]].
** album + (but see note)
*** #( <code>''role''</code>)s * are as described at [[audio-info-proposal#Contributor]]
*** as described at [[haudio#Album]].
** ''published-date'' *. using [[datetime-design-pattern]].
** ''item'' *
** ''rel-sample'' *. sample file/stream using [[rel-design-pattern]].
*** as described at [[haudio#Item]].
** ''rel-enclosure'' *. full download of file/stream using [[rel-enclosure]].
** position?
** ''rel-payment'' *. link to purchase process using [[rel-payment]].
*** text.
** '''image-summary'' *. using the HTML and XHTML tag (<code>img</code>).
** ''contributor'' *
** ''category'' *. text.
*** using [[hCard]]; ( <code>''role''</code>)s * are as described at [[haudio#Contributor]].
** duration ?. ISO-8601 time duration using [[abbr-design-pattern]].
** ''published'' *
** ''price'' *. using [[currency-proposal]].
*** using [[datetime-design-pattern]].
** ''rel-sample'' *
*** sample file/stream using [[rel-design-pattern]].
** ''rel-enclosure'' *
*** full download of file/stream using [[rel-enclosure]].
** ''rel-payment'' *
*** link to purchase process using [[rel-payment]].
** ''photo'' *
*** using the HTML and XHTML tag (<code>img</code>).
** ''category'' *
*** text, sub elements MAY be expressed using the [[rel-tag]] elemental microformat.
** duration ?
*** ISO-8601 time duration using [[abbr-design-pattern]].
** ''price'' *
*** using [[currency-proposal]].
** ''description'' *
*** text.


{{cheatsheet-key}}
{{cheatsheet-key}}


== Notes ==
== Notes ==
*All properties are classes, except for [[audio-info-proposal#Sample | rel-sample]], [[rel-enclosure]] and [[rel-payment]] which use the [[rel-design-pattern]].
*{{rfc2119-intro}}
 
*All properties are classes, except for [[haudio#Sample|rel-sample]], [[rel-enclosure]] and [[rel-payment]] which use the [[rel-design-pattern]].
*Either <code>album</code> or <code>title</code> (or both) are required.
**If you <em style="text-transform:uppercase;">only</em> use <code>title</code> - you are talking about an audio recording.
**If you <em style="text-transform:uppercase;">only</em> use <code>album</code> - you are talking about an audio album.
**If you use <em style="text-transform:uppercase;">both</em> <code>title</code> and <code>album</code> - you are talking about an audio recording from the specified audio album.
== Related pages ==
== Related pages ==
{{haudio-related-pages}}
{{haudio-related-pages}}
*{{cheatsheets}}
*{{cheatsheets}}

Latest revision as of 20:27, 9 March 2008

hAudio cheatsheet

version 0.9 604867362_da0921136a_o.png

Properties

Key

Based on Perl's standard quantifiers:

bold {1} MUST be present exactly once
italic* OPTIONAL, and MAY occur more than once
+ MUST be present, and MAY occur more than once
? OPTIONAL, but MUST NOT occur more than once
[square brackets] list of common values
(parentheses) data format
# comment
! awaiting documentation

Notes

  • The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
  • All properties are classes, except for rel-sample, rel-enclosure and rel-payment which use the rel-design-pattern.
  • Either album or title (or both) are required.
    • If you only use title - you are talking about an audio recording.
    • If you only use album - you are talking about an audio album.
    • If you use both title and album - you are talking about an audio recording from the specified audio album.

Related pages