#microformats 2017-05-26

2017-05-26 UTC
rodolfojcj, [eddie], davidmead, eli and [shaners] joined the channel
#
[shaners]
Anyone familiar with Wikipedia culture wanna take on getting them to use mf2?
gRegorLove, [eli_oat], KartikPrabhu, globbot, barpthewire, [colinwalker] and rodolfojcj joined the channel
[kevinmarks] joined the channel
#
[kevinmarks]
Not sure how we edit that to not be pov though
[kevinmarks] joined the channel
#
Loqi
[edhelas] Mhhh ok, so adding classes everywhere in the content :/ I'll have a look but not sure if I want to put those things in the views.
#
aaronpk
i feel like that is a continual conceptual hurdle
#
Zegnat
Sometimes it seems people rather add an island somewhere, JSON-LD style, than add classes.
#
aaronpk
i think it comes from the desire to keep presentation and data separate, like MVC style
#
aaronpk
and interestingly, in the case of things like wordpress, it's easier to add it outside the templating system
#
aaronpk
however it remains to be seen whether the data islands will bitrot after time, when the visible HTML continues to evolve
jca, rodolfojcj, [sebsel] and gRegorLove joined the channel
#
sknebel
I think microformats-node doesn't deal with href="" links properly :/
#
sknebel
seems like this function is the culprit, not making a difference between nothing and "": https://github.com/glennjones/microformat-shiv/blob/master/lib/parser.js#L906
#
sknebel
thats probably an issue for a bunch of other properties as well...
#
aaronpk
that's bad
#
aaronpk
file an issue?
#
sknebel
will do, but want to write it up properly
#
sknebel
and try to understand the scope
#
sknebel
e.g. should this globally be fixed for all properties or ...
#
sknebel
are there ones where empty values should be ignored?
#
aaronpk
i just fixed a similar thing in the php parser
#
aaronpk
it applied to both plaintext and url values
#
sknebel
the function getting the value from the DOM apparently *also* checks for empty
#
sknebel
we apparently really need a "feed a giant ball of test cases to all parsers and compare the results"
#
sknebel
(and more meta: it's of course not visible to people only taking a quick look, but it doesn't help "please use microformats, it's easy" :P)
#
gRegorLove
Doesn't do the test cases, but a side-by-side of some parsers here: https://willnorris.github.io/mf2compare/
#
gRegorLove
It also is supposed to do the Go parser, but his Go server is down currently
[colinwalker] joined the channel
#
sknebel
https://github.com/glennjones/microformat-shiv/issues/30 issue filed. aaronpk: is the empty-property handling something specific, or should the code generally handle empty properties as existing and containing an empty string?
#
Loqi
[sknebel] #30 Handling of empty properties
#
aaronpk
This exact thing was discussed yesterday or the day before. I don't want to mis speak so refer to the logs
#
aaronpk
there's an issue in the PHP parser you can reference too
#
sknebel
looking through it. and trying to remember how the nodejs dev workflow works for these things
#
gRegorLove
Is microformat-shiv the same thing as microformat-node? A bit confused there.
#
sknebel
from my understanding, microformat-shiv is the core
#
sknebel
and microformat-node integrates a DOM implementation and wraps it
#
sknebel
browser plugins, client-side JS: -shiv, node: -node
[cleverdevil], KartikPrabhu, barpthewire and [jeremycherfas] joined the channel
#
Loqi
[aaronpk] #79 fix homepage link in composer.json
#
@doug001
@LFeh Hahahaha lembro quando falavam de microformats, xslt e web2.0
(twitter.com/_/status/868217076694962176)
rodolfojcj and KartikPrabhu joined the channel
#
sabnajauzz
created /User_talk:Gmail_Google_1-888-950-6111_Gmail_Customer_Care_Number_1.888.950.6111_Gmail_Customer_Suipport_Number (+7941) "New page: --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- ||..."
(view diff)
#
sabnajauzz
created /User_talk:Gmail_Google_1-888-950-6111_Gmail_Tech_Support_Number_1.888.950.6111_Gmail_Customer_Service_Phone_Number (+7941) "New page: --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- ||..."
(view diff)
#
sabnajauzz
created /User_talk:Gmail_Google_1-888-950-6111_Gmail_Technical_Support_Number_1.888.950.6111_Gmail_Tech_Support_Phone_Number (+7941) "New page: --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- ||..."
(view diff)
#
sabnajauzz
created /User_talk:Gmail_Google_1-888-950-6111_Gmail_Toll_Free_Number_1.888.950.6111_Gmail_Helpline_Number (+7941) "New page: --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- ||..."
(view diff)
#
sabnajauzz
created /User_talk:Gmail_Google_1-888-950-6111_Gmail_Support_Number_1.888.950.6111_Gmail_Support_Phone_Number (+7941) "New page: --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)---- ||..."
(view diff)
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[sabnajauzz] created /User_talk:Gmail_Google_1-888-950-6111_Gmail_Customer_Care_Number_1.888.950.6111_Gmail_Customer_Suipport_Number (+7941) "New page: --(_) 1--(-)- Gmaℐl - - || 1-(-)---- || Gmaℐl -nical - Phone Number --(_) 1--(-)- Gmaℐl - - || 1-(-)----...
#
gRegorLove
Working on adding rel-urls to the php-mf2 parser
[eddie] joined the channel
#
herryherry
created /User_talk:((((t_ToL_L_FR€€))))1:888:950:6111_Gmail_tech_support_1:888:950:6111_Gmail_tech_support_number (+7439) "New page: --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -ni..."
(view diff)
#
herryherry
created /User_talk:((FFlorida)))_1888_950_6111_Gmail_customer_care_number_1_888_950_6111_Gmail_customer_service_phone_number (+7439) "New page: --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -ni..."
(view diff)
#
herryherry
created /User_talk:Dallas_1888_950_6111_Gmail_help_number_1_888_950_6111_Gmail_Helpline_number_1_888_950_6111_Gmail_phone_number (+7439) "New page: --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -ni..."
(view diff)
#
herryherry
created /User_talk:((((!!Gmail_support_number!!))))_@1888_950_6111_Gmail_support@@_1888_950_6111_Gmail_support_phone_number!!!!! (+7439) "New page: --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -ni..."
(view diff)
#
herryherry
created /User_talk:(((_TTeChNiCaL)))1_888_950_6111_Gmail_technical_support_phone_number_l_888_950_6111_Gmail_technical_support_number (+7439) "New page: --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -nical - Phone Number --(_) 1--(-)- GmaIl - - || 1-(-)---- || GmaIl -ni..."
(view diff)
#
sknebel
okay, for the simple cases that was an easy fix. but I need to be more awake and read value-class-pattern again...
davidmead joined the channel