#microformats 2017-09-23
2017-09-23 UTC
KartikPrabhu, tantek, [miklb] and [kevinmarks] joined the channel
# [kevinmarks] It's time to be polite about microdata again?
# Loqi [kevinmarks]: tantek left you a message 1 week ago: for your review: http://microformats.org/wiki/h-feed#Parser_Compatibility
sebsel joined the channel
# Zegnat Ah, glorious waking up to work on https://github.com/microformats/microformats2-parsing/issues/10 :D
nitot_ joined the channel
# Loqi sknebel: tantek left you a message 19 hours, 53 minutes ago: would appreciate your opinion on https://github.com/microformats/microformats2-parsing/issues/4 also
# Zegnat https://github.com/microformats/microformats2-parsing/issues/9 is marked as a blocker for 10 now. And I am still not 100% clear on what the best solution for it is :(
trendynick joined the channel
davidmead, gRegorLove and [benjamin] joined the channel
# [benjamin] coincidentally, I came in here to ask—is microdata still being used widely? specifically, does anyone know whether schema.org’s WebSite is worth using to mark up my site?
# [benjamin] I could simplify my site a little bit if I decided that that microdata wasn’t worth including
# [benjamin] but I do love that sweet, sweet google placement
# [benjamin] yeah, that was sort of the impression I got
# [benjamin] I guess I’ll check their docs to see whether they’re actually using `WebSite` data
# [benjamin] ha! it looks like I had a grand total of two `itemprop`s on this entire page
# [benjamin] the `name` was just the content of the <title>
# [benjamin] and the `url` was… the URL
# [benjamin] so I probably don’t need to keep that markup around
davidmead, gRegorLove and [kevinmarks] joined the channel
# [kevinmarks] It's not supposed to affect placement, just the search result
davidmead, KartikPrabhu, [miklb] and [benjamin] joined the channel
# [benjamin] ah, ok. then it’s completely unneeded in my case
# [benjamin] how surprising, that #microformats talked me out of using microdata ?
# [benjamin] (I kid)
# [benjamin] suppose I’ve got blog entries in a structure like this:
# [benjamin] ```
# [benjamin] whoops, hang on
# [benjamin] on my site, the page for an individual blog entry consists mostly of an <article> element. inside that <article> is a <header> with the post’s title and metadata, and following that is the actual post content
# [benjamin] but there’s no single element that wraps the post content. but I need that if I’m going to use `e-content` from h-entry, right?
# [benjamin] would it be more semantic to have only the post content wrapped in the <article>? or should I throw in a <div> or something?
# aaronpk i think <article> is meant to wrap the whole thing including the header and such, so maybe try <section> for the text? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
# [benjamin] yeah, that occurred to me but it seemed wrong for _the whole thing_ to be a section
# [benjamin] thanks
[miklb] and [benjamin] joined the channel
# [benjamin] is it possible to use the `content` of a <meta> tag as the value of a microformats2 property?
# [benjamin] hmm. some metadata *should* be hidden, I’d argue. my blog articles have summaries (for search engines) but I have no desire to add them to the page in a user-visible way
[kevinmarks] joined the channel
# [kevinmarks] Meta gets hoisted AFAIK, so it would not be inside body
# [benjamin] kevinmarks I’ve got `class="h-entry"` on my <html> element so I don’t think that’s the issue
# [kevinmarks] You can try it, but I expect you'll get inconsistent behaviour from parsers
# [benjamin] Zegnat: you can use <link> values in microformats2, right? it seems inconsistent not to allow <meta> too
# [benjamin] although perhaps I should open an issue instead of trying to complain to you ?
# [benjamin] kevinmarks Is having `h-entry` (or whatever) on the <html> element not officially supported? or do you just mean that trying to put mf2 properties on <meta> might be supported by some parsers but not others?
# [benjamin] Zegnat: ah, ok
# [kevinmarks] I mean that not all html parsers maintain the hierarchy. The python one varies depending on which parser library you use