#microformats 2017-01-13

2017-01-13 UTC
gRegorLove joined the channel
#
KevinMarks_
!tell gregorlove if you put the mf1 and mf2 classes on the same element, I don't think it duplicates properties
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegorLove
Correct, but there's examples where mf2 is nested in a separate element.
#
Loqi
gRegorLove: KevinMarks_ left you a message 2 minutes ago: if you put the mf1 and mf2 classes on the same element, I don't think it duplicates properties
#
gRegorLove
Thinking at this point it should be left as is, to be fixed by the publisher
#
KevinMarks_
Have we documented best practice on mixing mf1 and mf2?
#
gRegorLove
"Don't"? jk
#
Loqi
microformats2-parsing-issues
#
gRegorLove
I'm more read-up on the parsing spec than best practices for authoring.
#
KevinMarks_
The way the python code describes backcompat substitutions is useful. I have (ab)used it to parse other legacy markup
#
tantek
kevinmarks yes we have published that best practice
#
tantek
it's in the FAQ I believe for mf2
#
KartikPrabhu
i think mf2py is using the documented practices
#
tantek
every vocab spec has best practices for backcompat publishing and parsing
#
tantek
kevinmarks: http://microformats.org/wiki/microformats2#backward_compatible is the documented best practice on mixing mf1 and mf2
#
Loqi
microformats2
#
KevinMarks_
Right, "use them on the same element"
nitot, KevinMarks, tantek, KevinMarks_, ben_thatmustbeme, tommorris, Loqi, bret, adactio, nitot_, gRegorLove, sebsel and KartikPrabhu joined the channel
#
sebsel
(taking this from #indieweb : I'm documenting how I use lang="nl" and lang="en" on my blog)
#
sebsel
voxpelli now I look at it I think I'm doing it wrong :/
#
sebsel
I have a lang="nl" on my <html>, and a lang="en" (when needed) on the entire post-container
#
sebsel
But I do not translate the date.
#
Loqi
[Sebastiaan Andeweg] I'm at the HWC The Netherlands now, demoing Micropub and Brid.gy/publish! #indieweb
#
sebsel
as an example.
#
voxpelli
sebsel: same here, but I add a lang="" on my date-container as well: https://voxpelli.com/2015/09/oberoende-sociala-webben-2015/
#
Loqi
[Pelle Wessman] Den oberoende sociala webben 2015
#
voxpelli
(also, I default to English, and have Swedish as the exception)
#
sebsel
oh yeah, the whole <footer> of the post.
#
sebsel
yeah the bio on each page is in Dutch now. I want to change that to the language of the post, but that's not mf2 related.
#
sebsel
I guess I first update my page and then document the new way I do it.
#
sebsel
(that is: the minor edit of giving the date lang=nl)
tantek joined the channel
#
Loqi
microformats2 parsing brainstorming
#
sebsel
the CMS-note might be way too indieweb related
#
gRegorLove
experimental language parsing is in php-mf2 master branch now, btw. Not in a release yet.
#
tantek
gRegorLove: do you have an experimental deployment where it can be tested to see if it behaves as the proposal intends?
#
gRegorLove
No, but there's unit tests