#microformats 2015-07-23

2015-07-23 UTC
fuzzyhorns, Soopaman, gRegorLove, KevinMarks_, KevinMarks__, tantek, KartikPrabhu and eschnou joined the channel
KevinMarks__, csarven, KartikPrabhu, chiui and KevinMarks_ joined the channel
adactio, chiui and KartikPrabhu joined the channel
#
@FFVIl
ï¼ lov   @lov   IP.Blog 2.6: SEO Improvements and Microformats - http://newz.scriptz-team.info/IPS-News-And-Updates/078819-IP-Blog-2-6-SEO-Improvements-and-Microformats.html ï¼ lov   IP.Blog 2.6: SEO Improvements and Microforma…
(twitter.com/_/status/624138006761472000)
pfefferle joined the channel
benborges, pfefferle, Left_Turn and globbot joined the channel
#
@johnholtripley
What's the feeling on Microformats these days? Is http://Schema.org vocabulary being used more instead?
(twitter.com/_/status/624215141408751616)
pfefferle and TallTed joined the channel
#
@FFVIl
ï¼ lov   @lov   IP.Blog 2.6: SEO Improvements and Microformats - http://newz.scriptz-team.info/IPS-News-And-Updates/078819-IP-Blog-2-6-SEO-Improvements-and-Microformats.html ï¼ lov   IP.Blog 2.6: SEO Improvements and Microforma…
(twitter.com/_/status/624228914135740416)
voxpelli_ and gRegorLove joined the channel
#
aaronpk
for anyone following along with the PHP parser, I just re-opened this issue with a failing test added https://github.com/indieweb/php-mf2/issues/70
KevinMarks and gRegorLove joined the channel
#
voxpelli
edited /microformats2-parsing-brainstorming (+1551) "add brainstorm about parsing language of content"
(view diff)
#
voxpelli
edited /microformats2-parsing-brainstorming (+108) "change language example to include actual real swedish and english"
(view diff)
#
voxpelli
edited /microformats2-parsing-brainstorming (+36) "based on feedback, added some html to the e-* properties of the language example"
(view diff)
#
voxpelli
edited /microformats2-parsing-brainstorming (+127) "add link to experimental microformat-node implementation of language parsing"
(view diff)
KevinMarks__ joined the channel
#
aaronpk
is it worth adding some of my own german posts to the language brainstorming page even if I don't mark them up explicitly?
#
aaronpk
at least as an example of a multi-language site?
KartikPrabhu joined the channel
#
voxpelli
aaronpk: absolutely
KartikPrabhu and chiui joined the channel
#
ben_thatmustbeme
went through multi-language in socialWG telcon, the danger is there is a deep rabbit whole you can go down as far as lang. voxpelli's method seems pretty simple though, but doesn't really work very well when you recognize it requires multiple h-entries for one post when you can just do with with html inside the e-content
#
ben_thatmustbeme
s/whole/hole
#
Loqi
ben_thatmustbeme meant to say: went through multi-language in socialWG telcon, the danger is there is a deep rabbit hole you can go down as far as lang. voxpelli's method seems pretty simple though, but doesn't really work very well when you recognize it requires multiple h-entries for one post when you can just do with with html inside the e-content
#
KevinMarks
ben_thatmustbeme: that was my concern, looking at steph's posts - any element can have a long on it wihtout necessarily a class
#
aaronpk
ben_thatmustbeme: no it doesn't require multiple h-entries for a post
KartikPrabhu joined the channel
#
ben_thatmustbeme
aaronpk: you are correct, that was in the context of posting the same content twice and if you put the lang on the h-entry
#
ben_thatmustbeme
once for each language
#
voxpelli
from a consumer perspective it's easy to know how to handle a "lang" at h-* level – just ignore the whole thing if the language is undesireable – but for individual properties it is harder
#
aaronpk
it's not that much harder for properties, and encourages better consuming code
#
aaronpk
basically you'd define a function "get_value" which works like this: if(is_string(property)) return property else if(is_object(property)) return property.value
#
voxpelli
one can't really ignore individual properties easily I think – in the browser everything is visible
#
voxpelli
I don't mean technically, I mean content wise :)
#
voxpelli
KevinMarks has an example of marking up a quote that's in eg. french as being so even if the rest of the post is in english – ignoring that quote because you don't understand english leaves you with a partial presentation – and rarely would you add both a fench and an english version of the quote to your html
#
aaronpk
oh gotcha
#
aaronpk
maybe that's not a good use of the lang attribute then?
#
voxpelli
well, depends – if you want to have a speech syntehizer read it or do some analysis of the text in some other way then it's very useful
#
KevinMarks
well, you might have both if you were talking about translation
#
KevinMarks
the case I think is most interesting is the summary in one language of the post in another
#
KevinMarks
which is a fairly common thing
#
KevinMarks
you could wrap the 1st 2 paras in <div class="e-summary" lang="de"
#
voxpelli
yeah, that would be pretty neat
#
KevinMarks
google's weird lingusitic segregation policies discourage this
#
KevinMarks
most Europeans are polyglots, many americans are, but they pander to the monoglots
chiui, KartikPrabhu and tantek joined the channel
#
tantek
campaign=ReviveOldPost seriously?!?
#
KevinMarks
the post doesn't look that old though
#
KevinMarks
"the online hCalendar generator only goes up to the year 2013" LOL
#
KevinMarks
ReviveOldMicroformatsTools
#
tantek
wow totally missed that
#
tantek
patches accepted? ;)
#
KevinMarks
switch to input type="date" ?
#
KevinMarks
or is that still crap on safari?
#
tantek
not just Safari :(
#
KevinMarks
on chrome android you get the nice date picker
#
KevinMarks
the iOS one is OK too
#
KevinMarks
there's a use case for a web component - indie date/time picker
fuzzyhorns and KartikPrabhu joined the channel