hatom-parsing: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (acelbocolo)
m (http://anabascom.interfree.it/1074148366/)
Line 1: Line 1:
[http://anabascom.interfree.it/1074148366/ pre paid legal lead] [http://bldianna.interfree.it/resource-85.html movie theater prattville alabama] [http://xlac4tr.ifrance.com/canadian-law-2008-12-06.htm canadian criminal law] [http://hedewayn.strefa.pl/comment-269.htm all my movies v3] [http://hedewayn.strefa.pl/comment-972.htm dsw shoes.com]
eltoupasmon
eltoupasmon
<h1>hAtom parsing</h1>
<h1>hAtom parsing</h1>

Revision as of 17:52, 10 December 2008

pre paid legal lead movie theater prattville alabama canadian criminal law all my movies v3 dsw shoes.com eltoupasmon

hAtom parsing

Work in progress!

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

  • hAtom feeds are identified with the classname hfeed
  • hAtom entries are identified by the classname hentry
  • if the document does not contain an element with the class name hfeed, but does contain an element with the classname hentry, the entire document should be treated as a feed

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