hatom-cheatsheet: Difference between revisions
Jump to navigation
Jump to search
(→Properties (Class names): n->N) |
m (Reverted edits by CsitdEldel (Talk) to last version by Brian) |
||
(17 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<h1>hAtom cheatsheet</h1> | <h1>hAtom cheatsheet</h1> | ||
[[hatom|hAtom]] properties and how to use them. | |||
* | ==Properties == | ||
*hfeed? | |||
**''[[rel-tag]]''* | **''[[rel-tag]]''* | ||
** | **hentry+ | ||
*** | ***author+ ([[hcard|hCard]]) | ||
***'''[[rel-bookmark]]''' { | **** # 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]]) | ***'''updated''' ([[datetime-design-pattern |ISO date]]) {1} | ||
**** # if absent, defaults as described at [[hatom#Entry_Updated]] | |||
***''[[rel-tag]]''* | ***''[[rel-tag]]''* | ||
{{cheatsheet-key}} | {{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
- hfeed?
- rel-tag*
- hentry+
- author+ (hCard)
- # 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-content*
- entry-summary*
- published (ISO date)?
- updated (ISO date) {1}
- # if absent, defaults as described at hatom#Entry_Updated
- rel-tag*
- author+ (hCard)
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
- h-entry - latest markup spec for Atom entries in HTML
- h-feed - brainstorm/experiment for feeds in HTML
- hAtom - the draft proposal.
- hAtom Cheatsheet - hAtom properties.
- hAtom Examples, in the Wild
- hAtom Hints - help for implementors.
- hAtom Issues - problems? complaints? ideas? Put them here.
- hatom-brainstorming - active work on iterations toward the next version of hAtom
- hAtom FAQ - knowledge base.
- hAtom advocacy - encourage others to use hAtom.
- Other cheatsheets: hAtom cheatsheet, hCard cheatsheet (also adr cheatsheet + geo cheatsheet), hCalendar cheatsheet, hResume cheatsheet, hReview cheatsheet, PDF cheatsheet