microformats2 parsing

(Difference between revisions)

Jump to: navigation, search
(parsing for implied properties: add abbr title handling for implying name property, due to use-cases found in blog post and in citation (h-cite) markup generation)
(see also: adding microformats2-parsing-rdf)
Line 86: Line 86:
== see also ==
== see also ==
* [[microformats2]]
* [[microformats2]]
-
* [[microformats2-parsing-faq]]  
+
* [[microformats2-parsing-faq]]
* [[microformats2-parsing-brainstorming]] - for background, thinking, exploring possibilities
* [[microformats2-parsing-brainstorming]] - for background, thinking, exploring possibilities
 +
* [[microformats2-parsing-rdf]]
* [[microformats2-implied-properties]]
* [[microformats2-implied-properties]]

Revision as of 23:38, 19 November 2012


One of the goals of microformats2 is to greatly simplify parsing of microformats, in particular, by making parsing independent of any one vocabulary. This page briefly documents the microformats2 parsing algorithm for doing so.

Contents

parsing algorithm

parse a document for microformats

To parse a document for microformats:

parse an element for microformats

To parse an element for microformats:

parsing a p- property

To parse an element for a p-x property value:

parsing a u- property

To parse an element for a u-x property value:

parsing a dt- property

To parse an element for a dt-x property value:

parsing an e- property

To parse an element for a e-x property value:

parsing for implied properties

To imply properties: (where h-x is the root microformat element being parsed)

what do the CSS selector expressions mean

Use SelectORacle to expand any of the above CSS selector expressions into longform English prose.

questions

See the FAQ:

see also

microformats2 parsing was last modified: Wednesday, December 31st, 1969

Views