#microformats 2015-05-20

2015-05-20 UTC
KartikPrabhu joined the channel
#
@suginoy
“MicroformatsとMicrodataの違いについて|Web Design KOJIKA17” http://kojika17.com/2010/12/differences-microformats-and-microdata.html
(twitter.com/_/status/600824278251020289)
#
@suginoy
“マイクロフォーマット(microformats) vs. マイクロデータ(microdata) - 檜山正幸のキマイラ飼育記” http://d.hatena.ne.jp/m-hiyama/20100412/1271032800
(twitter.com/_/status/600825086753378304)
KartikPrabhu, KevinMarks__ and KevinMarks_ joined the channel
#
@Cipherhouse
@JohnRingwould that file is for vcf microformats this e‘er for #ContactMe
(twitter.com/_/status/600845871069024256)
fuzzyhorns joined the channel
#
@ShayOlivarria
LOS ANGELES 5/23 CA African American Museum hosts a FREE day of literacy events!... http://www.caamuseum.org/hcalendar/index.php?eID=5992
(twitter.com/_/status/600848116900827137)
KartikPrabhu, fuzzyhorns, KevinMarks__, KevinMarks_, gRegorLove, kez, glennjones, chiui, Left_Turn and eschnou joined the channel
#
@fehler
@shiflett It must speak volumes about me that I enjoyed reading this – http://microformats.org/wiki/h-entry – after seeing this tweet. Hope all’s well!
(twitter.com/_/status/600957500268158976)
KevinMarks__, KevinMarks_, pfefferle, tantek, KartikPrabhu and uf-wiki-visitor joined the channel
tantek, KevinMarks_, pfefferle, kez_, kez, KevinMarks__, slavisam, KevinMarks___ and gRegorLove joined the channel
hectorMcSpector, KevinMarks_, dariusdunlap, eschnou, KartikPrabhu, hectorMc_ and cweiske joined the channel
#
cweiske
Hi. I'd like to mark up my blog's index page with h-feed. Is it possible to simply add >class="h-entry u-url"< to the links? http://cweiske.de/tagebuch/
#
cweiske
or is u-url not necessary at all if it's an <a> tag anyway?
#
tantek
unnecessary and actually incorrect too - as that u-url would apply to its parent h-* object
#
aaronpk
whoa, how does <a href="" class=
#
aaronpk
how does <a href="" class="h-entry"> know to get the url property from the href?
#
aaronpk
i was surprised that it worked
#
cweiske
ok, done. so now the question is if readers can cope with such thin data and fetch the missing data from the detail page
#
cweiske
aaronpk, does monocle do this?
#
tantek
aaronpk - see implied URL
#
tantek
in microformats2-parsing
#
tantek
cweiske: did you check the JSON output from a microformats2 parser to see what it finds?
#
aaronpk
cweiske: monocle actually *only* gets data from the permalink
#
aaronpk
i actually need to update it to first use data in the h-feed and enhance with data it finds on the permalink
#
cweiske
doesn't look that bad
#
aaronpk
also monocle won't do anything beyond the first fetch unless you support PuSH ;)
#
aaronpk
hey that's a pretty good minimal h-feed
#
cweiske
guess what I do
#
cweiske
PubSubHubbub
#
cweiske
No PuSH hub was found
#
cweiske
ah. only the atom feeds are push-enabled by my config
#
cweiske
my bad. all files are push-enabled
#
cweiske
but aaronpk, the initial fetch did not seem to fetch details. I don't see any articles in monocle
#
aaronpk
checks logs
#
aaronpk
oh dang
#
aaronpk
it's failing because there is no author :/
#
aaronpk
that's my fault, i should let it insert it anyway
#
tantek
aaronpk: indeed - especially since you retrieve the info from the permalink anyway, that should include author info
#
cweiske
ok, hub is enabled
#
aaronpk
there it goes
#
cweiske
ah. nice
#
aaronpk
hm it's failing on some with spaces in the name
#
aaronpk
s/name/url
#
Loqi
aaronpk meant to say: hm it's failing on some with spaces in the url
#
cweiske
I see many 404s for files with spaces in the name
#
aaronpk
how's that happening?
#
cweiske
you have bugs in your code :)
#
cweiske
I switched to urls without spaces because many clients have issues with it
#
cweiske
my awstats pags still have thousands of 404 for partial urls with spaces
#
aaronpk
the parsed version of this has a bunch of URLs with spaces... http://pin13.net/mf2/?url=http%3A%2F%2Fcweiske.de%2Ftagebuch%2F
#
aaronpk
should the parser be converting those to %20?
#
cweiske
sure. the urls actually *have* spaces
#
aaronpk
urls can't have spaces
#
tantek
depends where
#
tantek
resists getting out The URL Diagram™ again ;)
#
aaronpk
href attributes can have spaces
#
aaronpk
is that something the php-mf2 parser should be handling?
#
cweiske
I'd say yes
#
tantek
is there a test cse that fails?
#
aaronpk
if there isn't yet there certaily should be
#
aaronpk
i think it *has* to be done by the mf2 parser, because i can't just add a urlescape function in my code that consumes the parsed result, otherwise it'll way overescape things
#
tantek
sure, just like &amp; in a URL in an href is handled by the HTML5/mf2 parser
#
tantek
we just need some test cases :)
#
aaronpk
i think glennjones was working on that? :)
#
tantek
he's working on *updating* his existing test cases
#
tantek
if you want specific new ones, say because you want parsers to handle spaces in URLs, the burden of work is on you to provide them
glennjones joined the channel
#
cweiske
apache conf for adding a hub link: Header append Link '<http://phubb.cweiske.de/hub.php>; rel="hub"'
#
cweiske
now I have to get microformats parsers to use my favicon as author icon
#
cweiske
which they don't, since it's not linked anywhere
dariusdunlap, KevinMarks__, KevinMarks_, KartikPrabhu, fuzzyhorns, KevinMarks and Erkan_Yilmaz joined the channel