#microformats 2014-06-05

2014-06-05 UTC
shaners joined the channel
#
@assis_andreaa
@viaSimonRomero Pergunto-me se HCards não tem inspiração no que temos aqui, no CNacional ... ;)
(twitter.com/_/status/474351492628234240)
tantek, Exploter, KartikPrabhu, shaners, Guest46192, brianloveswords, philipashlock, eschnou, caseorganic and Phae joined the channel
#
KartikPrabhu
SEO crap stuff ^
#
iSRAWORK
seo <3
robmorrissey, pfefferle, aaronpk, brianloveswords, chiui, KartikPrabhu, encolpe, KevinMarks, krendil, globbot, KartikPrabhu1 and netweb joined the channel
#
@akkymorefield
【ブログ】 【PHP】一行で配列の中身を全部htmlエスケープする。 - vCard/hCard変換なんぞを作ろうとしているのだが……pearのライブラリが返す値が結構多次元配列だったりするので、一気... http://akkymorefield.info/%e3%80%90php%e3%80%91%e4%b8%80%e8%a1%8c%e3%81%a7%e9%85%8d%e5%88%97%e3%81%ae%e4%b8%ad%e8%ba%ab%e3%82%92%e5%85%a8%e9%83%a8html%e3%82%a8%e3%82%b9%e3%82%b1%e3%83%bc%e3%83%97%e3%81%99%e3%82%8b%e3%80%82/
(twitter.com/_/status/474494286625386496)
#
iSRAWORK
spam
barnabywalters joined the channel
#
barnabywalters
regarding http://microformats.org/wiki/value-class-pattern#microformats2_parsers, I am unsure if this implying behaviour belongs in the parsing spec
#
barnabywalters
there are also no real-life examples given in the proposal
tantek joined the channel
#
barnabywalters
although it looks like it was part of the hCalendar spec
#
barnabywalters
uh, somewhere
pfefferle joined the channel
#
tantek
and note that there's a section there about how to handle it for microformats2
#
barnabywalters
tantek: yes, that’s why I’m looking into it — gRegor added it in a pull request to php-mf2
#
tantek
nice!
#
tantek
the uf1 test cases there should "just work" if you implement the uf2 rules for implied datetime, and the uf1 back compat parsing
#
barnabywalters
well OTTOMH I can’t think of a case where someone would want to publish a dateless time as well as a datetime in the same microformat, so there’s probably no problem
#
barnabywalters
so one case which investigation into this PR has turned up is whether or not the parser should attempt to normalize non-value-class datetimes
#
barnabywalters
e.g. given the value “2014-05-21 15:00:30”, should the result be “2014-05-21T15:00:30”
#
barnabywalters
or “2014-05-21 10pm” be parsed into “2014-05-21T22:00”
#
barnabywalters
according to the spec, both of these normalisations would occur if the date and time parts were parsed separately using value-class, but not if given as a single value
KevinMarks joined the channel
#
barnabywalters
!tell cweiske php-mf2 now has a fetch from URL function Mf2\fetch() in dev-master — would like to hear your thoughts about it (e.g. further debugging/headers support required?) before adding it to the next versioned release https://github.com/indieweb/php-mf2#fetching-microformats-from-a-page https://github.com/indieweb/php-mf2/blob/master/Mf2/Parser.php#L49
#
Loqi
Ok, I'll tell them that when I see them next
cweiske joined the channel
#
Loqi
cweiske: barnabywalters left you a message 6 minutes ago: php-mf2 now has a fetch from URL function Mf2\fetch() in dev-master — would like to hear your thoughts about it (e.g. further debugging/headers support required?) before adding it to the next versioned release https://github.com/indieweb/php-mf2#fetching-microformats-from-a-page https://github.com/indieweb/php-mf2/blob/master/Mf2/Parser.php#L49
pfefferle, brianloveswords, tantek, jonnybarnes, TallTed, KartikPrabhu, philipashlock, KevinMarks, KartikPrabhu1, eschnou, caseorganic, tobyink, robmorrissey, barnabywalters, krendil, Rastus_Vernon and KevinMarks2 joined the channel