#microformats 2014-07-08
2014-07-08 UTC
Rastus_Vernon and gRegor` joined the channel
robmorrissey, statonjr, gRegor`, tantek, JohnBeales, hongpong, brianloveswords, eschnou, shaners_, ChiefRA, pfefferle, chiui, RCheesley_, adactio, pfefferle_ and TallTed joined the channel
# tommorris oh wow. http://jsonresume.org/
tantek joined the channel
# tommorris hey tantek - check out this bit of silliness. http://jsonresume.org/
JohnBeales and brianloveswords joined the channel
# tommorris number 1 is CWL: http://tommorris.org/posts/3364
# tommorris https://github.com/jsonresume/resume-schema/issues/19 is hilarious too.
# tantek this is definitely good for some LOLs: http://www.w3.org/2005/Incubator/cwl/XGR-cwl/
# tantek or just rewrite the CWL spec in http://en.wikipedia.org/wiki/Basic_english
eschnou joined the channel
# tantek see http://microformats.org/wiki/h-card for 1 and 3 for example
# tantek and see http://microformats.org/wiki/hCard#Properties for an example of 2.
dwayhs and hober joined the channel
JohnBeales, caseorganic, caseorga_, chiui, statonjr_ and jgarber joined the channel
# jgarber Hello, all. A question about microformats-2 parsing rules. I'm using the <template> element which includes some h-entry class names: https://github.com/jgarber623/sixtwothree.org/blob/master/src/_layouts/post.html#L54-L66. By their nature, <template> elements are hidden and (particularly in my case) contain incomplete markup. Yet, microformats parsers include this in the output (see: http://news.indiewebcamp.com/parse
# jgarber ?source=http://sixtwothree.org/blog/now-accepting-webmentions/ ). Is this the desired behavior? Or, should parsers ignore content in <template> elements?
# jgarber That second link should be: http://news.indiewebcamp.com/parse?source=http://sixtwothree.org/blog/now-accepting-webmentions/
# jgarber According to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template#Browser_compatibility, Chrome, Firefox, and Opera natively.
eschnou joined the channel
KartikPrabhu joined the channel
# @JitendraBlogger Author hReview Plugin: Rich Snippets for WordPress http://www.bloggersideas.com/author-hreview-plugin-rich-snippets-for-wordpress/ via @jitendrablogger (twitter.com/_/status/486595638641958912)
pfefferle joined the channel
# jgarber The HTML template element <template> is a mechanism for holding client-side content that is not to be rendered when a page is loaded but may subsequently be instantiated during runtime using JavaScript. Think of a template as a content fragment that is being stored for subsequent use in the document. The parser does process the content of the <template> element during the page load to ensure that it is valid, however.
# KartikPrabhu why are people pushing templating into HTML?
# Hixie microformat parsers that parse HTML according to the HTML parsing rules shouldn't see the contents of <template> elements
# Hixie the microformat spec shouldn't need to mention them
# KartikPrabhu nods
# Hixie (stuff between <template> tags don't end up in the DOM)
# Hixie (they end up in a side document)
# Hixie tommorris: hey, we have them now. this is a significant step up from a few years ago.
# jgarber tantek: You could run http://sixtwothree.org/blog/now-accepting-webmentions/ through any of the existing parsers and observe an incomplete h-entry pulled from a <template> element.
# tommorris tantek, Hixie: https://github.com/tommorris/mf2py/commit/92740deb7e19b8f1e7fbf6bec001cf52f2b07e99 - got a failing test case for it. ;)
# tantek edited /microformats2-parsing (+416) "explicit reference to HTML parsing rules at start, add note HTML parsing rules section and template example, and jgarber test case in the wild" (view diff)
jgarber joined the channel
caseorganic joined the channel
# KartikPrabhu is there a list of tags that are supposed to be ignored in HTML parsing?
# KartikPrabhu yes... to follow the parsing rules, I want a list of tags to be ignored
# KartikPrabhu unless I trust my HTML parser to do the right thing which has been tricky
# KartikPrabhu tommorris: yeah my thoughts exactly :)
# KartikPrabhu tommorris++ will pull that also send a PR for some datetime parsing improvements kylewm made to my fork
# KartikPrabhu cool will send PR tonight
caseorganic, jgarber, pfefferle, adactio and encolpe joined the channel
# tantek !tell tommorris, Kartikprabhu what do you think of changing http://microformats.org/wiki/microformats2-parsing##a.u-x[href]%20or%20area.u-x[href] to "a.u-x[href] or area.u-x[href] or link.u-x[href]" ?
Rastus_Vernon joined the channel
# gRegor` I like it, tantek, as someone who doesn't necessarily want to alter their design to add a photo / h-card on the homepage. Although my shortcut icons are just the "g" currently, not my photo.
KartikPrabhu joined the channel
# Loqi KartikPrabhu: tantek left you a message 55 minutes ago: what do you think of changing http://microformats.org/wiki/microformats2-parsing##a.u-x[href]%20or%20area.u-x[href] to "a.u-x[href] or area.u-x[href] or link.u-x[href]" ?
# KartikPrabhu tantek: re link.u-x[href] if there are enough use-cases then it wouldn't be hard to change mf2py code
# gRegor` No, I don't show the shortcut icon on the homepage. Just the logo at the top.