haudio-cheatsheet: Difference between revisions

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

Revision as of 23:53, 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