hatom-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (changed hFeed from optional 0-many, to just optional to make it consistant with other cheatsheets)
m (Reverted edits by CsitdEldel (Talk) to last version by Brian)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<h1>hAtom cheatsheet</h1>
<h1>hAtom cheatsheet</h1>


==Properties==
[[hatom|hAtom]] properties and how to use them.
 
==Properties ==


*hfeed?
*hfeed?
**''[[rel-tag]]''*
**''[[rel-tag]]''*
**'''''hentry'''''+
**hentry+
***'''author''' ([[hcard|hCard]]) {5} ([[hatom#Entry_Author|default rule]])
***author+ ([[hcard|hCard]])  
***'''[[rel-bookmark]]''' {5} ([[hatom#Entry_Permalink|default rule]])
**** # if absent, defaults as described at [[hatom#Entry_Author]]
***'''entry-title'''
***'''[[rel-bookmark]]''' {1}  
**** # if absent, defaults as described at [[hatom#Entry_Permalink]]
***'''entry-title''' {1}
***''entry-content''*
***''entry-content''*
***''entry-summary''*
***''entry-summary''*
***published ([[datetime-design-pattern |ISO date]])?
***published ([[datetime-design-pattern |ISO date]])?
***'''updated''' ([[datetime-design-pattern |ISO date]]) {5} ([[hatom#Entry_Updated|default rule]])
***'''updated''' ([[datetime-design-pattern |ISO date]]) {1}
**** # if absent, defaults as described at [[hatom#Entry_Updated]]
***''[[rel-tag]]''*
***''[[rel-tag]]''*


{{cheatsheet-key}}
{{cheatsheet-key}}
;{5}:'''required, but with default rule'''


==Notes==
==Notes==
*{{rfc-2119-intro}}
*All properties are classes, except for [[rel-bookmark]]s and [[rel-tag]]s.
*All properties are classes, except for [[rel-bookmark]]s and [[rel-tag]]s.



Latest revision as of 19:40, 3 January 2009

hAtom cheatsheet

hAtom properties and how to use them.

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-bookmarks and rel-tags.

Related pages