hatom-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(replace bold with {1}, where appropriate)
m (Reverted edits by CsitdEldel (Talk) to last version by Brian)
 
(13 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]]) // if absent, defaults as described at [[hatom#Entry_Author]]
***author+ ([[hcard|hCard]])  
***'''[[rel-bookmark]]''' {1} // if absent, defaults as described at [[hatom#Entry_Permalink]]
**** # if absent, defaults as described at [[hatom#Entry_Author]]
***'''[[rel-bookmark]]''' {1}  
**** # 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} // if absent, defaults as described at [[hatom#Entry_Updated]]
***'''updated''' ([[datetime-design-pattern |ISO date]]) {1}
**** # if absent, defaults as described at [[hatom#Entry_Updated]]
***''[[rel-tag]]''*
***''[[rel-tag]]''*


Line 18: 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