Difference between revisions of "hatom-cheatsheet"

From Microformats Wiki
Jump to navigation Jump to search
m (fmt)
m (Reverted edits by CsitdEldel (Talk) to last version by Brian)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<h1>hAtom cheatsheet</h1>
 
<h1>hAtom cheatsheet</h1>
  
==Properties (Class Names) ==
+
[[hatom|hAtom]] properties and how to use them.
 +
 
 +
==Properties ==
  
 
*hfeed?
 
*hfeed?
Line 7: Line 9:
 
**hentry+
 
**hentry+
 
***author+ ([[hcard|hCard]])  
 
***author+ ([[hcard|hCard]])  
****# if absent, defaults as described at [[hatom#Entry_Author]]
+
**** # if absent, defaults as described at [[hatom#Entry_Author]]
 
***'''[[rel-bookmark]]''' {1}  
 
***'''[[rel-bookmark]]''' {1}  
****# if absent, defaults as described at [[hatom#Entry_Permalink]]
+
**** # if absent, defaults as described at [[hatom#Entry_Permalink]]
 
***'''entry-title''' {1}
 
***'''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]]) {1}  
+
***'''updated''' ([[datetime-design-pattern |ISO date]]) {1}
****# if absent, defaults as described at [[hatom#Entry_Updated]]
+
**** # if absent, defaults as described at [[hatom#Entry_Updated]]
 
***''[[rel-tag]]''*
 
***''[[rel-tag]]''*
  
Line 21: Line 23:
  
 
==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