#microformats 2014-06-18

2014-06-18 UTC
KevinMarks, iSRAELiWORK, shaners, tantek, eschnou, caseorganic, brianloveswords, globbot, xxtjaxx, tobyink, pfefferle, KartikPrabhu, chiui, krendil, waterbaby999, barnabywalters, adactio, robmorrissey and TallTed joined the channel
#
barnabywalters
so looking in http://microformats.org/wiki/microformats2-parsing there’s actually no reference to classname matching bein case-insensitive. not sure why I ever made it that way in php-mf2. correcting now
pfefferle, eschnou, tantek and robmorrissey joined the channel
#
barnabywalters
just released: php-mf2 v0.2.7! https://github.com/indieweb/php-mf2#v027 with contributions from gRegor` and aaronpk
caseorganic and gRegor` joined the channel
#
barnabywalters
waves at gRegor`
#
gRegor`
waves
#
barnabywalters
basically yes — loop over the folders, read the HTML, call parse(), compare the output with the given JSON
#
gRegor`
Gotcha. I'll play around with it.
#
gRegor`
Seems pretty straightforward
#
barnabywalters
gRegor`: great! looking forward to seeing what you build
#
gRegor`
I'll have to figure out JSON comparison in PHP.
#
barnabywalters
gRegor`: parsing both structures into an array, serialising both into JSON and doing a string comparison might work
#
barnabywalters
PHPUnit has a JSON string comparision assertion, so you could use that, or see how they’re doing it
#
gRegor`
Ok
caseorganic, chiui, robmorrissey, caseorga_ and jonnybarnes joined the channel
#
aaronpk
mf2 class names are case sensitive? interesting
#
barnabywalters
aaronpk: indeed, we all seem to have assumed that they weren’t, but actually that’s the most sensible behaviour
#
aaronpk
i guess html class names are case sensitive so that makes sense
#
aaronpk
i've literally never seen a caps character in a class name tho
#
barnabywalters
aaronpk: it would be more accurate to say that classname selectors are case sensitive
#
barnabywalters
aaronpk: depends on your coding style, I’ve seen them in quite a few places
#
barnabywalters
e.g. codemirror uses class=“CodeMirror"
jonnybarnes, KartikPrabhu, brianloveswords, chiui, barnabywalters, caseorganic, shaners and tantek joined the channel
#
gRegor`
I've not seen capital letters in mf class names, but plenty of capitalization variations in classnames in general.
#
gRegor`
/delayed response
caseorga_, tantek, KevinMarks, krendil, pfefferle, eschnou and robmorrissey joined the channel
#
@JohnAguiar
RT @FamousBloggers Only 2 days left, get your Author hReview discount now http://authorhreview.com/
(twitter.com/_/status/479395654520037376)
gRegor`, KartikPrabhu and caseorganic joined the channel