haudio-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (→‎Notes: tyop)
(clarify)
Line 6: Line 6:


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


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

Revision as of 23:51, 4 February 2008

hAudio cheatsheet

version 0.8 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 fn (or both) are required.

Related pages