#microformats 2018-11-27

2018-11-27 UTC
[jgmac1106] and [kevinmarks] joined the channel
#
[kevinmarks]
Parsing html inside escaped atom/rss is interesting. The cdata version could make it though, but the escaped < style probably would not unless you use a feedparser first
[jgmac1106], [eddie], Zegnat, Kaja___, sknebel and j12t joined the channel
#
Zegnat
I haven’t looked into web components much at all yet, but re: “Atom lacks a class attribute” - not when it is parsed into a DOM Tree. The classList attribute exists on all DOM Element instances.
#
Zegnat
So that goes for every XML document that is parsed into a DOM Document - possibly by an HTML5 parser. All of them will instantly support looking for classes on the elements.
#
Zegnat
Everywhere I check for XML-parsing-compat stuff gets vague really fast though. We might be better of just looking what parsers support today and then decide if we want to codify some sort of baseline. Thinking compatibility amongst parsers is more important than XML-to-DOM-specification suppoty.
[eddie], Kaja___, eduardm, [jgmac1106], Zegnat, Kaja____, barpthewire, jgmac1106, adactio and [kevinmarks] joined the channel
#
[kevinmarks]
unmung turns the atom into h-feed and decodes and inserts the html so it could be parsed too.
#
Zegnat
I don’t think anyone is currently thinking about running an h-feed through an mf2 parser though
Kaja, [jgmac1106], sknebel, Zegnat, jgmac1106 and [kevinmarks] joined the channel
#
[kevinmarks]
the point of atom/rss is that it a bunch of wrapped up HTML nuggets. Seems reasonable to parse them out to me.
Zegnat, sknebel, Kaja, Guest33049, [jgmac1106], jgmac1106, jackjamieson, TallTed, [tantek], [schmarty], pniedzielski[m], barpthewire, wakest[m], KartikPrabhu, [kevinmarks], cheim and eduardm joined the channel