Difference between revisions of "hatom-cheatsheet"

From Microformats Wiki
Jump to navigation Jump to search
(rekeyed)
Line 1: Line 1:
 
<h1>hAtom cheatsheet</h1>
 
<h1>hAtom cheatsheet</h1>
  
==Properties==
+
==Properties (Class names)==
  
*''hfeed'' (4)
+
*''hfeed''*
**''[[rel-tag]]'' (4)
+
**''[[rel-tag]]''*
**'''''hentry''''' (2)
+
**'''''hentry'''''+
***'''author''' ([[hcard|hCard]]) (5) ([[hatom#Entry_Author|default rule]])
+
***'''author''' ([[hcard|hCard]]) {5} ([[hatom#Entry_Author|default rule]])
***'''[[rel-bookmark]]''' (5) ([[hatom#Entry_Permalink|default rule]])
+
***'''[[rel-bookmark]]''' {5} ([[hatom#Entry_Permalink|default rule]])
***'''entry-title''' (1)
+
***'''entry-title'''
***''entry-content'' (4)
+
***''entry-content''*
***''entry-summary'' (4)
+
***''entry-summary''*
***published ([[datetime-design-pattern |ISO date]]) (3)
+
***published ([[datetime-design-pattern |ISO date]])?
***'''updated''' ([[datetime-design-pattern |ISO date]]) (5) ([[hatom#Entry_Updated|default rule]])
+
***'''updated''' ([[datetime-design-pattern |ISO date]]) {5([[hatom#Entry_Updated|default rule]])
***''[[rel-tag]]'' (4)
+
***''[[rel-tag]]''*
  
===Key===
+
{{cheatsheet-key}}
:1 - '''Single occurrence required'''
+
;{5}:'''required, but with default rule'''
:2 - '''''One or more, required'''''
 
:3 - single occurrence optional
 
:4 - ''zero or more occurrence''
 
:5 - '''required, but with default rule'''
 
:[square brackets] - common list of values (n/a)
 
:(data format)
 
  
 
==Notes==
 
==Notes==

Revision as of 23:25, 4 December 2006

hAtom cheatsheet

Properties (Class names)

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
{5}
required, but with default rule

Notes

Related pages