hatom-parsing

(Difference between revisions)

Jump to: navigation, search
(adding reference to hAtom entry category)
(added link to parsing)
Line 63: Line 63:
== Informative References ==
== Informative References ==
* [http://hg.microformats.org/tests  test suite] - work in progress!
* [http://hg.microformats.org/tests  test suite] - work in progress!
 +
* [http://microformats.org/wiki/parsing  parsing] - general microformat parsing

Revision as of 20:26, 4 April 2008

hAtom parsing

Work in progress!

Contents


Editor/Author

URL handling

An hAtom parser may begin with a URL to retrieve.

If the URL lacks a fragment identifier, then the parser should parse the entire retrieved resource for hAtom feeds and hAtom entries.

If the URL has a fragment identifier, then the parser should parse only the node indicated by the fragment identifier and its descendants, looking for hAtom feeds and hAtom entries, starting with the indicated node, which may itself be a hAtom feed/entry.

Finding hAtom feeds/entries

Extracting feed elements

Feed <category>

See hAtom: Feed Category

Extracting entry elements

Entry <link>

Use the first rel-bookmark in the entry.

Entry <id>

Use the same value as the entry link.

Entry <title>

See hAtom: Entry Title

Entry <updated>

See hAtom: Entry Updated

Entry <published>

See hAtom: Entry Published


Extracting tags

See rel-tag-parsing and hAtom: Entry Category.

See hAtom: Entry Category.

References

Normative References

Informative References

hatom-parsing was last modified: Wednesday, December 31st, 1969

Views