#microformats 2018-06-15

2018-06-15 UTC
#
@megarush1024
Current status: Giving some attention to adding microformats 2 support to #GenesisWP child themes via a plugin so I can let you fine folks handle design while I more fully implement #indieweb principles on http://customerservant.com and thereby @cswordpress.
(twitter.com/_/status/1007412547555938304)
[grantcodes], [davidmead], [chrisaldrich], chimo, pia, j12t_, KartikPrabhu and barpthewire joined the channel
[mrkrndvs], [jgmac1106], sketchess and [kevinmarks] joined the channel
[xavierroy] joined the channel
[jgmac1106], [cleverdevil] and [grantcodes] joined the channel
#
@MICROPIGMEN
https://waterpigs.co.uk/services/microformats-to-atom/?url=https://www.facebook.com/Clinica.Micropigmentacion.Capilar.Marbella http://goo.gl/vMb4wX >_:_; @MICROPIGMEN >_:; #relleno #de #surcos #Marbella : puerto banus tatuaje de cejas pelo a pelo en ja�n eyebrows ideal https://youtu.be/bxO3d1h0lCM en marbella make the most significant difference one�s face
(twitter.com/_/status/1007645916474601477)
#
schmarty
!mute @MICROPIGMEN
[miklb], [jgmac1106], tantek__, barpthewire, [schmarty], [cleverdevil], [chrisaldrich], [manton], [keithjgrant], sebsel and [tantek] joined the channel
#
@MICROPIGMEN
https://waterpigs.co.uk/services/microformats-to-atom/?url=https://www.facebook.com/Clinica.Micropigmentacion.Capilar.Marbella http://goo.gl/MgGikq >...> @BELLEZAEMARB = #grasa #abdominal #hombres #sin #cirugia #Marbella >;_: ja�n pigmentacion cejas pelo & pelo torremolinos eyebrows classical http://collectingalabama.com/camuflajecicatricespezon fuengirola make the most significant
(twitter.com/_/status/1007723928599584768)
KartikPrabhu, tantek__, [kevinmarks] and [chrisaldrich] joined the channel
#
tantek__
!block @MICROPIGMEN
#
Loqi
Okay, I blocked "MICROPIGMEN" from all IndieWeb Twitter searches
[grantcodes], [miklb] and [cjwillcock] joined the channel
#
[cjwillcock]
As I'm learning more about microformats I'm starting to find it easier to spot them in the wild. I wonder how long before I can look at a list of them and notice if any have been missed on the list (moving target, I appreciate that). Anyhow, I have these two lists of words and I find it useful just to look at a list and see, those are microformats1, while this other list, these are microformats2. Maybe someone else finds these useful too:
#
KartikPrabhu
[cjwillcock]: microformats2 allows arbitrary properties, so you list by definition is incomplete
#
[cjwillcock]
I appreciate that
#
KartikPrabhu
also it would be misleading to use this list as "reserved" to be avoided in CSS. Since "h-whatever" is also a microformats
#
[cjwillcock]
that is a very good point, and I'm sure has been previously discussed quite a lot
#
KartikPrabhu
yes! because this does often give false positives when people use a CSS naming convention that has "u-*" for utility clasees
#
KartikPrabhu
so "u-button" would be parsed as a mf2 property for example
#
[cjwillcock]
better not to specify "h-on-this-list", but more accurate and useful to say h-*
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
KartikPrabhu
so I would avoid using anything that starts with a h-*, p-*, u-*, e-*, dt-* for CSS
#
KartikPrabhu
optionally, you could prefix your CSS styling classes with (say) your website initials. So I use "pt-*" for some syling
#
[cjwillcock]
yes, alright
#
[cjwillcock]
I am coming at this from the approach of crafting a static analyzer, for third party code, which will identify use (and misuse)
#
KartikPrabhu
of course. It is good practice to avoid using mf2 classes for styling so that would be a good analyzer
#
[cjwillcock]
I hope so
#
[cjwillcock]
also for other purposes, e.g. document.getElementsByClassName()
#
KartikPrabhu
yes, I would also avoid hooking javascript to mf2 classes
#
KartikPrabhu
[cjwillcock]: here is the regex that the python parser uses for finding mf2 properties. The "%s" can be any of {h,p,u,e, dt}
#
KartikPrabhu
this is courtesy of Zegnat
#
[cjwillcock]
thank you. I recall reading some discussions about adding more initial letters, such as m-, even a suggestion that an initial letter followed by a - could be a 'reserved' token, is that an open and current discussion?
#
[cjwillcock]
*any initial letter
#
[cjwillcock]
I'm afraid I don't know the wiki well enough to find and post here for our reference
#
[cjwillcock]
ah, disregard my last. It was in regards to n-* for 'number' and was rejected
#
[cjwillcock]
thanks Kartik
#
[cjwillcock]
KartikPrabhu++
#
Loqi
kartikprabhu has 26 karma in this channel (206 overall)
#
KartikPrabhu
[cjwillcock]: :thumbsup: