hatom-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (fmt)
m (Reverted edits by CsitdEldel (Talk) to last version by Brian)
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<h1>hAtom cheatsheet</h1>
<h1>hAtom cheatsheet</h1>


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


*''hfeed'' (4)
==Properties ==
**'''author''' ([[hcard|hCard]]) (1)
**updated ([[datetime-design-pattern |ISO date]])  (3)
**''[[rel-tag]]'' (4)
**'''''hentry''''' (2)
***'''[[rel-bookmark]]'''  (1)
***'''entry-title''' (1)
***'''entry-content''' (1)
***''entry-summary'' (4)
***'''published''' ([[datetime-design-pattern |ISO date]]) (1)
***updated ([[datetime-design-pattern |ISO date]]) (3)
***''[[rel-tag]]'' (4)


===Key===
*hfeed?
:1 - '''Single occurrence required'''
**''[[rel-tag]]''*
:2 - '''''One or more, required'''''
**hentry+
:3 - single occurrence optional
***author+ ([[hcard|hCard]])
:4 - ''zero or more occurrence''
**** # if absent, defaults as described at [[hatom#Entry_Author]]
:[square brackets] - common list of values (n/a)
***'''[[rel-bookmark]]''' {1}
:(data format)
**** # if absent, defaults as described at [[hatom#Entry_Permalink]]
***'''entry-title''' {1}
***''entry-content''*
***''entry-summary''*
***published ([[datetime-design-pattern |ISO date]])?
***'''updated''' ([[datetime-design-pattern |ISO date]]) {1}
**** # if absent, defaults as described at [[hatom#Entry_Updated]]
***''[[rel-tag]]''*
 
{{cheatsheet-key}}


==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