[uf-discuss] [microformats-2] e-* values and the JSON serialization

1 view
Skip to first unread message

Edward O'Connor

unread,
Dec 15, 2011, 1:41:19 PM12/15/11
to Microformats Discuss
Hi,

The Microformats 2 page doesn't yet contain a definition of the JSON
serialization algorithm. When it does get written down, the algorithm
should specify that e-* properties (whose value is the DOM desendents
of the element) get serialized using the Serializing HTML Fragments
algorithm in the HTML spec:

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#serializing-html-fragments


Ted
_______________________________________________
microformats-discuss mailing list
microforma...@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss

Tantek Çelik

unread,
Dec 17, 2011, 10:28:09 PM12/17/11
to Microformats Discuss
On Thu, Dec 15, 2011 at 10:41, Edward O'Connor <hob...@gmail.com> wrote:
> Hi,
>
> The Microformats 2 page doesn't yet contain a definition of the JSON
> serialization algorithm. When it does get written down, the algorithm
> should specify that e-* properties (whose value is the DOM descendents

> of the element) get serialized using the Serializing HTML Fragments
> algorithm in the HTML spec:
>
>  http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#serializing-html-fragments

Excellent suggestion. I've added it as part of the special parsing
required for e-* properties here:

http://microformats.org/wiki/microformats-2#naming_conventions_for_generic_parsing

Thanks,

Tantek

--
http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5

Reply all
Reply to author
Forward
0 new messages