Options:
Previous day, Next day
- # Session Start: Wed May 27 00:00:00 2015
- # Session Ident: #microformats
- # [00:00] * Joins: fuzzyhorns (~fuzzyhorn@73.38.57.191)
- # [00:10] * Joins: uf-wiki-visitor (522f5ad3@gateway/web/freenode/ip.82.47.90.211)
- # [00:12] <uf-wiki-visitor> hi all, quick question. Is it appropriate to combine microformat markup with microformat2 for compatibility? e.g. class="h-event vevent"
- # [00:26] <@tantek> uf-wiki-visitor: yes absolutely
- # [00:26] <gRegorLove> Hi uf-wiki-visitor. I've seen that and the parsers are intended to be backwards compatible, so it shouldn't be a problem. Personally I just use mf2.
- # [00:26] <@tantek> in fact it is recomended practice for the main object of the page!
- # [00:27] <gRegorLove> Oops
- # [00:27] <gRegorLove> Interesting. I didn't know that it was recommended, tantek.
- # [00:28] <@tantek> gRegorLove: for legacy consuming search engines that don't yet (AFAIK) consume native uf2
- # [00:29] <@tantek> uf-wiki-visitor: here are some examples: http://microformats.org/wiki/microformats2#backward_compatible
- # [00:29] <@tantek> uf-wiki-visitor: you can also provide yours here if you'd like folks to take a look at it
- # [00:29] * Quits: fuzzyhorns (~fuzzyhorn@73.38.57.191) (Remote host closed the connection)
- # [00:30] * Joins: fuzzyhorns (~fuzzyhorn@73.38.57.191)
- # [00:33] * Quits: csarven (~csarven@84-73-123-134.dclient.hispeed.ch) (Quit: http://csarven.ca/#i left.)
- # [00:33] * Quits: Left_Turn (~Left_Turn@unaffiliated/turn-left/x-3739067) (Remote host closed the connection)
- # [00:53] * Quits: @tantek (~tantek@173-167-114-230-sfba.hfc.comcastbusiness.net) (Quit: tantek)
- # [01:03] * Quits: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net) (Read error: Connection reset by peer)
- # [01:20] * Joins: tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com)
- # [01:20] * ChanServ sets mode: +o tantek
- # [01:21] * Quits: fuzzyhorns (~fuzzyhorn@73.38.57.191) (Read error: Connection reset by peer)
- # [01:21] * Joins: fuzzyhorns (~fuzzyhorn@73.38.57.191)
- # [01:22] * Joins: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net)
- # [01:33] * Joins: KevinMarks_ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [01:33] * ChanServ sets mode: +o KevinMarks_
- # [01:35] * Quits: @KevinMarks___ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 250 seconds)
- # [01:36] * Quits: benborges (~benborges@79.134.235.133) (Read error: Connection reset by peer)
- # [01:38] <Vendan> hey tantek, <a href="test">test</a> inside a e-content, should that href be resolved?
- # [01:39] <Vendan> for the 'html' part of the e-content
- # [01:39] <@tantek> Vendan probably better to use different strings
- # [01:39] <@tantek> rather than test/test ;)
- # [01:39] <@tantek> but yes implied <base> - that's a great question!
- # [01:40] <Vendan> should it be <a href="http://example.org/test">test</a>
- # [01:40] <Vendan> according to the current spec, seems it shouldn't
- # [01:40] * Joins: KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [01:40] * ChanServ sets mode: +o KevinMarks__
- # [01:40] <@tantek> right - which seems like it could pose problems for use-cases
- # [01:41] <@tantek> can you capture it as an issue? /wiki/microformats2-issues
- # [01:41] <@tantek> and use a different path other than /test ;)
- # [01:41] <@tantek> or different innertext
- # [01:42] * Quits: uf-wiki-visitor (522f5ad3@gateway/web/freenode/ip.82.47.90.211) (Ping timeout: 246 seconds)
- # [01:43] <Vendan> logically, I can see where it'd be useful/better that way, and the current microformats tests do expect it
- # [01:43] * Quits: @KevinMarks_ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 272 seconds)
- # [01:43] <Vendan> just doesn't line up with the parsing spec itself
- # [01:44] <@tantek> do any of the parsers support that?
- # [01:49] <kylewm> I have done it as a post-processing step after mf2py is done
- # [01:49] <kylewm> part of mf2util https://github.com/kylewm/mf2util/blob/master/mf2util/util.py#L176
- # [01:52] * Joins: benborges (~benborges@2a02:a03f:1658:6c00:8e73:6eff:fe75:52ef)
- # [01:55] * Quits: @tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com) (Quit: tantek)
- # [02:14] <Loqi> [@jasnell] https://github.com/jasnell/w3c-socialwg-activitystreams/commits/remove-microformats-examples - 1 commits (http://twtr.io/zsCpM_o5Yo)
- # [03:18] * Joins: Tigt (48316a65@gateway/web/freenode/ip.72.49.106.101)
- # [03:19] <Tigt> pardon me folks, I was wondering if I could ask a few questions about h-feed
- # [03:21] <kylewm> of course, Tigt
- # [03:23] <Tigt> okay, first one is
- # [03:23] <Tigt> Is there some de facto size for its u-photo
- # [03:23] <Tigt> or at least some sort of minimum/maximum I should be mindful of
- # [03:25] <Tigt> I'm probably going to repurpose one of my shortcut icons in the <head> so it could be anywhere from 16x16 to 192x192
- # [03:29] <Tigt> ideally I could point it at an SVG but I doubt things are ready for that yet
- # [03:32] <KartikPrabhu> Tigt: I don't understand the use-case for u-photo of a h-feed? Are you thinking that readers will use the u-photo?
- # [03:33] <Tigt> well, I didn't know myself, but it's on there: http://microformats.org/wiki/h-feed
- # [03:33] <Tigt> I figured it would be used like a favicon mostly
- # [03:33] <Tigt> like how feedly marks each feed provider with its own favicon
- # [03:34] <KartikPrabhu> Tigt: since I doubt any h-feed readers use it that way yet you don't really need to worry about it
- # [03:34] <Tigt> that works
- # [03:35] <KartikPrabhu> Tigt: also photo parsing at the moment does not use the new srcset and source stuff because again, no explicit use-cases
- # [03:35] <KartikPrabhu> but once they do, I'm sure your problem will be addresseed
- # [03:36] <Tigt> oh it's just a regular old link[rel="shortcut icon"]
- # [03:36] <Tigt> so they should be able to follow the href
- # [03:37] <KartikPrabhu> Tigt: yeah I doubt if current h-feed readers are doing that. But even if they are, I really think they are not using the h-feed>u-photo
- # [03:37] <Tigt> my other question is, if I put an h-feed on all pages of my site, with the u-url pointing to the actual location of the feed, is that okay
- # [03:37] <Tigt> sort of like how the RSS <link> allows autodiscovery no matter what URL of a site you paste in
- # [03:38] <KartikPrabhu> Tigt: see https://indiewebcamp.com/h-feed#partial_feeds for a possible answer though again I doubt if readers are using such an algorithm. Mainly they'll look for rel=feed links on the page
- # [03:39] <KartikPrabhu> Tigt: on my site I have put the rel=feeds in the nav bar at the bottom which is common to all post pages: https://kartikprabhu.com/
- # [03:42] <Tigt> huh, interesting
- # [03:43] <Tigt> do mf parsers obey the <noscript> block?
- # [03:43] <KartikPrabhu> Tigt: good point. I think it varies between parsers unfortunately
- # [03:43] <KartikPrabhu> hopefully will be standardized soon
- # [03:43] <Tigt> yeah that's what I was worried about
- # [03:43] <Tigt> because I can't imagine any of them /do/ run JavaScript
- # [03:44] <kylewm> the behavior for parsing <noscript> hasn't been specified explicitly, as far as I know
- # [03:44] <kylewm> no, definitely not
- # [03:44] <KartikPrabhu> Tigt: mf parsers are not supposed to run javascript
- # [03:45] <Tigt> sounds about right
- # [03:53] <Tigt> okay, if I'm reading this correctly, if I don't have a page with full h-entries on each, I should use a separate u-uid h-feed page?
- # [03:55] <KartikPrabhu> Tigt: that was the suggestion yes. I don't know if people use it and h-feed readers don't use that I think
- # [03:55] <Tigt> I can't say I'm big on making another separate feed file
- # [03:56] <Tigt> I'm marking up a webcomic site, so I really don't want to make the home page load each image for UX reasons
- # [03:56] <Tigt> so having a full h-entry for each update isn't ideal
- # [03:57] <KartikPrabhu> Tigt: that is also how RSS works though
- # [03:57] <Tigt> but if it's what's got to be done, I'll do it
- # [03:57] <Tigt> yeah it's even worse
- # [03:58] <KartikPrabhu> Tigt: do you expect your readers to use h-feed readers?
- # [03:59] <Tigt> oh, no
- # [03:59] <kylewm> wait, what's this about u-uid?
- # [03:59] <KartikPrabhu> don't worry about pre-mature optimisation. Even current h-feed readers don't use that algorithm
- # [03:59] <Tigt> I just figured for those out there using/experimenting with h-feed readers, what good practices I should be following
- # [03:59] <KartikPrabhu> kylewm: https://indiewebcamp.com/h-feed#partial_feeds
- # [04:00] <KartikPrabhu> does Woodwind or monocle do this?
- # [04:00] <kylewm> well, afaik, Monocle subscribes to whatever URL you give it ... doesn't do feed discovery
- # [04:01] <kylewm> and also, Monocle (unlike Ww) fetches each individual permalink in an h-feed, so it's fine if the h-feed is partial
- # [04:02] <kylewm> Woodwind does not look for u-uid, but only because I just leanred about it ;)
- # [04:02] * aaronpk needs to spend some more time on monocle soon
- # [04:05] <KartikPrabhu> Tigt: best practices haven't been fully-eshtablished yet because all h-feed readers are still experimental so I would recommend not worrying too much at the moment
- # [04:05] <Tigt> good point
- # [04:08] <KartikPrabhu> Tigt: but your use-case is a good one
- # [04:08] <Tigt> oh, for future reference, is there some sort of validator/babelmark equivalent I could test my pages on
- # [04:09] <KartikPrabhu> for all microformats?
- # [04:09] <Tigt> or just some, I'm not picky
- # [04:10] <KartikPrabhu> this does some sort of validation: http://indiewebify.me/ and you can test your markup with parsers from http://microformats.org/wiki/microformats2#Parsers
- # [04:10] <Tigt> wonderful, thank you very much
- # [04:10] <KartikPrabhu> note not all parsers in that list are the same
- # [04:11] <KartikPrabhu> i mean same level of microformat support
- # [04:11] <KartikPrabhu> php-mf2 and mf2py are more widely used, though the Go parser also seems good
- # [04:12] <Tigt> well, I guess it wouldn't be the web if consumers didn't differ from each other
- # [04:12] <KartikPrabhu> yup :)
- # [04:12] <KartikPrabhu> but people have been working on a standard suite of tests that parsers will test against so hopefully in the future all of them will be similarly compliant
- # [04:13] <Tigt> I'm assuming some of these don't understand mf2
- # [04:13] <KartikPrabhu> I think most of them do understand mf2 but maybe not all kinds of properties
- # [04:13] <KartikPrabhu> specially newly added/changed parsing rules
- # [04:14] <KartikPrabhu> hence I recommended php-mf2 and mf2py and Go , afaik those have been on top of new rules and features
- # [04:14] <Tigt> excellent
- # [04:16] <Tigt> you've been extraordinarily helpful, thank you so much
- # [04:16] <KartikPrabhu> sure thing Tigt
- # [04:18] <KartikPrabhu> Tigt: also if you want to see how your feeds appear in current h-feed readers here are 2, http://reader.kylewm.com/ https://monocle.p3k.io/
- # [04:18] <Tigt> ah, even better
- # [04:18] <Vendan> Tigt, note, as much as I like the Go parser (being the author), I'm still implementing parts of the spec, so I wouldn't rely on it just yet :D
- # [04:19] <Tigt> noted
- # [04:19] <kylewm> Tigt++ thanks for asking good questions, let us know your webcomic when it's up!
- # [04:19] <Loqi> Tigt has 1 karma
- # [04:19] <Tigt> these sign-ins are the rel=me stuff, right
- # [04:19] <kylewm> yes
- # [04:20] <KartikPrabhu> Tigt: see: http://indiewebcamp.com/indieauth
- # [04:21] <Tigt> I feel like a traitor using Tumblr for this but baby steps, I guess
- # [04:21] <KartikPrabhu> Tigt: yes. baby steps
- # [04:21] <KartikPrabhu> babysteps++
- # [04:21] <Loqi> babysteps has 1 karma
- # [04:21] <kylewm> there are lots of good things about tumblr, particularly if you are using your own domain name
- # [04:23] <Tigt> yeah I snagged a pretty good one, just need to make sure I can hold onto it
- # [04:23] <Tigt> Tumblr and Cloudflare get into spats every so often
- # [04:24] <Tigt> ah, hm
- # [04:25] <Tigt> it looks like IndieAuth does not honor HTTP redirects
- # [04:25] <Tigt> at least the version Woodwind is using
- # [04:26] <KartikPrabhu> hmm I think it does honour permanent redirects 301 or something
- # [04:26] <KartikPrabhu> kylewm: ^^
- # [04:28] <Tigt> Tumblr's "link pages" functionality might do 302s to prevent caching issues for when the user changes them, then
- # [04:28] <Tigt> I'll have to hardcode it in
- # [04:28] <Tigt> there we go
- # [04:32] <kylewm> where was the 301 that wasn't working?
- # [04:32] * Quits: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net) (Read error: Connection reset by peer)
- # [04:32] <Tigt> it's likely it's not a 301 at all
- # [04:33] <Tigt> I changed it, but let me set up another
- # [04:36] <Tigt> hm
- # [04:36] <Tigt> well it /appears/ to be a 301
- # [04:37] <Tigt> http://ti.gt/test
- # [04:45] <Tigt> I can set up one that points to an actual rel=me endpoint if you prefer
- # [04:46] <Tigt> it also appends this weird PHP session indicator fragment of #_=_
- # [04:50] * Joins: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net)
- # [04:51] <Tigt> yet another reason for rel=canonical I guess
- # [04:51] * Quits: benborges (~benborges@2a02:a03f:1658:6c00:8e73:6eff:fe75:52ef) (Remote host closed the connection)
- # [04:53] * Joins: KevinMarks_ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [04:53] * ChanServ sets mode: +o KevinMarks_
- # [04:54] * Quits: @KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
- # [05:01] * Quits: Tigt (48316a65@gateway/web/freenode/ip.72.49.106.101) (Quit: Page closed)
- # [05:07] * Quits: fuzzyhorns (~fuzzyhorn@73.38.57.191) (Remote host closed the connection)
- # [05:08] * Joins: fuzzyhorns (~fuzzyhorn@73.38.57.191)
- # [05:26] * Joins: KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [05:26] * ChanServ sets mode: +o KevinMarks__
- # [05:29] * Quits: @KevinMarks_ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
- # [05:31] * Quits: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net) (Read error: Connection reset by peer)
- # [05:43] * Joins: tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com)
- # [05:43] * ChanServ sets mode: +o tantek
- # [05:49] * Joins: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net)
- # [05:52] * Quits: @tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com) (Ping timeout: 240 seconds)
- # [05:55] * Joins: KevinMarks_ (~yaaic@2607:fb90:190d:6063:a46b:ad0b:580a:7182)
- # [05:55] * ChanServ sets mode: +o KevinMarks_
- # [05:58] * Quits: @KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
- # [05:59] * Joins: tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com)
- # [05:59] * ChanServ sets mode: +o tantek
- # [06:06] * Quits: @tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com) (Ping timeout: 258 seconds)
- # [06:08] * Quits: gRegorLove (~me@c-73-140-189-21.hsd1.wa.comcast.net) (Ping timeout: 272 seconds)
- # [06:09] * Joins: tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com)
- # [06:09] * ChanServ sets mode: +o tantek
- # [06:59] * Joins: KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [06:59] * ChanServ sets mode: +o KevinMarks__
- # [07:04] * Quits: @KevinMarks_ (~yaaic@2607:fb90:190d:6063:a46b:ad0b:580a:7182) (Ping timeout: 265 seconds)
- # [07:51] * Quits: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net) (Ping timeout: 240 seconds)
- # [07:52] * Joins: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net)
- # [07:55] * Quits: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net) (Read error: No route to host)
- # [07:55] * Joins: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net)
- # [07:58] <Loqi> [@Root013] 構造化データ(http://microformats.org hAtom)をテンプレートに組み込んでマークアップしたお話。 http://website-homepage.com/wordpress/customize/microformats-hatom #wordpress #google #SEO (http://twtr.io/zsik7duP_S)
- # [08:01] * Quits: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net) (Ping timeout: 250 seconds)
- # [08:02] * Joins: dariusdunlap_ (~dariusdun@ip-69-27-182-58.coastside.net)
- # [08:02] * Quits: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net) (Ping timeout: 250 seconds)
- # [08:02] * dariusdunlap_ is now known as dariusdunlap
- # [08:22] * Joins: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net)
- # [08:25] * Quits: KevinMarks (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [08:25] * Joins: Left_Turn (~Left_Turn@unaffiliated/turn-left/x-3739067)
- # [08:30] * Joins: KevinMarks (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net)
- # [08:52] * Joins: pfefferle (~pfefferle@213.144.11.136)
- # [08:56] * Joins: kez (~quassel@inet2.evalesco.com)
- # [09:08] * Joins: pfefferle_ (~pfefferle@213.144.11.130)
- # [09:08] * Quits: pfefferle (~pfefferle@213.144.11.136) (Ping timeout: 258 seconds)
- # [09:08] * pfefferle_ is now known as pfefferle
- # [09:08] * Joins: csarven (~csarven@147.87.228.201)
- # [09:41] * Quits: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net) (Ping timeout: 244 seconds)
- # [10:04] * Quits: joskar (~joskar@joskar.ros.sgsnet.se) (Ping timeout: 256 seconds)
- # [10:09] * Quits: pfefferle (~pfefferle@213.144.11.130) (Quit: pfefferle)
- # [10:10] * Joins: pfefferle (~pfefferle@213.144.11.130)
- # [10:24] * Joins: glennjones (~glennjone@cpc18-brig15-2-0-cust225.3-3.cable.virginm.net)
- # [10:39] <KevinMarks> hi glennjones
- # [10:39] <KevinMarks> I'm looking through the tests from mf2py pov
- # [10:40] <glennjones> Morning Kevin
- # [10:41] <KevinMarks> did we work out the white space issue?
- # [10:41] <KevinMarks> there is also a relative path issue
- # [10:42] <KevinMarks> eg https://github.com/microformats/tests/tree/master/tests/microformats-v2/rel%3Dalternate is getting http://example.com from somewhere magic
- # [10:42] <KevinMarks> s/example/tantek/
- # [10:42] <Loqi> KevinMarks meant to say: eg https://github.com/microformats/tests/tree/master/tests/microformats-v2/rel%3Dalternate is getting http://tantek.com from somewhere magic
- # [10:44] <glennjones> Yes I saw the white space that andy pointed out on http://microformats.org/wiki/microformats2-parsing-issues#When_to_collapse_whitespace_in_properties
- # [10:45] <KevinMarks> should I fix the examples?
- # [10:45] <glennjones> Not sure I agree that this is the right answer, but I will update the tests so they dont collapse whitespace and add to the page why I think it wrong
- # [10:47] <glennjones> If you want to changes the v2 tests great, I working on the v1 at the moment and will change them with my next push to repo
- # [10:50] * Quits: glennjones (~glennjone@cpc18-brig15-2-0-cust225.3-3.cable.virginm.net) (Read error: No route to host)
- # [10:52] * Joins: glennjones (~glennjone@cpc18-brig15-2-0-cust225.3-3.cable.virginm.net)
- # [10:52] <glennjones> Thats why paser APIs like https://pin13.net/mf2/ has a baseURL input when parsing HTML fragments
- # [10:53] <KevinMarks> right, but if so we need to add that to the tests somehow
- # [10:53] <KevinMarks> I sent a pull for the xfn and other rels if you want to review
- # [10:54] * Joins: joskar (~joskar@joskar.ros.sgsnet.se)
- # [10:59] <glennjones> So I need an interface mf2py that allows me to send a baseURL to make the test work. https://kylewm.com/services/mf2 does not, so I cannot send it the URL context to make the test work correctly
- # [11:03] <KevinMarks> you could change the test to say <base href="http://tantek.com"><link rel="updates alternate" type="application/atom+xml" href="updates.atom" />
- # [11:03] <KevinMarks> then kyle's thing works
- # [11:06] <Loqi> [[listing-examples]] http://microformats.org/wiki/index.php?title=listing-examples&diff=64980&oldid=64666&rcid=101357 * Prakashpanchal856 * (+627) /* Examples */
- # [11:07] <KevinMarks> that's better than adding an extra way to pass the base URL in
- # [11:08] <glennjones> Thats an interesting idea, happy to add that to top of tests. Would like to stick to <base href="http://example.com"> if thats OK
- # [11:09] <glennjones> I known my parsers pick up <base> wonder if they all do!
- # [11:09] <KevinMarks> well, it will test them ;)
- # [11:09] <KevinMarks> just make sure the base matches what the json is expecting
- # [11:10] <glennjones> I will try it out on the v1 tests I am changing at the moment
- # [11:21] * Quits: joskar (~joskar@joskar.ros.sgsnet.se) (Ping timeout: 265 seconds)
- # [11:26] * Joins: joskar (~joskar@joskar.ros.sgsnet.se)
- # [11:41] * Joins: chiui (~chiui@h-213.61.228.26.host.de.colt.net)
- # [11:45] * Quits: csarven (~csarven@147.87.228.201) (Ping timeout: 245 seconds)
- # [11:46] <KevinMarks> this whitespace is ugly
- # [12:01] <glennjones> Not collapsing whitespace makes any value taken from a block of HTML unusable in the real world use case. Label in the http://testrunner-47055.onmodulus.net/test/microformats-v2/h-adr/geo/ test is an good example of something I have used in the past and will no longer be of any use to me.
- # [12:12] <KevinMarks> though actually label is supposed to have newlines in , per vcard
- # [12:12] <KevinMarks> "The property can also include a "LABEL" parameter to present a delivery address label for the address. Its value is a plain-text string representing the formatted address. Newlines are encoded as \n, as they are for property values."
- # [12:13] <KevinMarks> https://tools.ietf.org/html/rfc6350#section-6.3.1
- # [12:15] <KevinMarks> I have a pile of changes in a pull request for you, working backwards though my test cases for mf2py
- # [12:18] <glennjones> Great the more input the better the test will be for all us
- # [12:24] * Quits: pfefferle (~pfefferle@213.144.11.130) (Ping timeout: 240 seconds)
- # [12:24] <glennjones> The issue I have with returning whitespace and returns from parsed HTML is that it was added to make the code understandable and was not meant to be used/read outside of that context.
- # [12:28] <KevinMarks> yes, especially in "name"
- # [12:30] * Joins: pfefferle (~pfefferle@213.144.11.130)
- # [12:41] * Joins: csarven (~csarven@147.87.52.137)
- # [13:03] * Quits: csarven (~csarven@147.87.52.137) (Ping timeout: 240 seconds)
- # [13:07] * Quits: @tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com) (Quit: tantek)
- # [13:24] <glennjones> KevinMarks I have merged in the pull request. Got a little complex as I had changed the directory structure. Hopfully its all there now. I will push changes to test server in a minute
- # [13:25] * Joins: dariusdunlap_ (~dariusdun@ip-69-27-182-58.coastside.net)
- # [13:28] * Joins: joskar_ (~joskar@joskar.ros.sgsnet.se)
- # [13:32] <@KevinMarks__> Glenn, have you seen http://johnmacfarlane.net/babelmark2/
- # [13:33] <@KevinMarks__> I think your test harness is close to the same thing for microformats
- # [13:34] * Quits: joskar (~joskar@joskar.ros.sgsnet.se) (Ping timeout: 250 seconds)
- # [13:34] * Quits: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net) (Ping timeout: 250 seconds)
- # [13:34] * dariusdunlap_ is now known as dariusdunlap
- # [14:03] <glennjones> Babelmark looks like a nice tool, interpreting a spec is hard, often comparing implementations helps find outstanding issues and allows you to coalesce around one understanding more quickly. Thats why I built it
- # [14:07] * Quits: pfefferle (~pfefferle@213.144.11.130) (Ping timeout: 265 seconds)
- # [14:10] * Joins: pfefferle (~pfefferle@213.144.11.130)
- # [14:27] <Vendan> I don't think we should just have a <base> on all the tests.
- # [14:28] <Vendan> if a parser doesn't support a baseurl parameter, that's it's fault, not the tests. Most pages that I've seen don't use <base>
- # [14:28] * Joins: benborges (~benborges@2a02:a03f:1658:6c00:8e73:6eff:fe75:52ef)
- # [14:31] * Joins: tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com)
- # [14:31] * ChanServ sets mode: +o tantek
- # [14:35] <glennjones> Maybe adding <base> to all the tests is overkill. We could keep it down just to 3 or 4 tests where relative URL resolving is been tested?
- # [14:49] * Joins: csarven (~csarven@84-73-123-134.dclient.hispeed.ch)
- # [15:03] <aaronpk> there definitely need to be tests without <base> since most real pages don't have it, need to be able to test all code paths
- # [15:15] <Vendan> ^ not testing real life usecases because a parser is messed up isn't the way to go...
- # [15:15] <Loqi> [@souiszak] "WordPressの構造化データ(http://microformats.org hAtom)マークアップ : Root-013" http://website-homepage.com/wordpress/customize/microformats-hatom (http://twtr.io/ztP3o2N_x5)
- # [15:15] <Vendan> that being said, we should test <base> as well, but we need to test without it
- # [15:20] <glennjones> Maybe Kevin can look at providing an API with baseURL
- # [15:21] * Joins: elf-pavlik (~elf-pavli@lorea/elf)
- # [15:29] <Loqi> [@SEO_news2015] WordPressの構造化データ(http://microformats.org hAtom)マークアップ | Root-013 http://website-homepage.com/wordpress/customize/microformats-hatom (http://twtr.io/ztQGoZSyzC)
- # [15:38] <Loqi> [@taaboolove] WordPressの構造化データ(http://microformats.org hAtom)マークアップ | Root-013 http://website-homepage.com/wordpress/customize/microformats-hatom?utm_source=dlvr.it&utm_medium=twitter (http://twtr.io/ztR92ZYKGG)
- # [15:57] * Quits: elf-pavlik (~elf-pavli@lorea/elf) (Ping timeout: 252 seconds)
- # [16:03] <Loqi> [@nandemopr] 【情報】WordPressの構造化データ(http://microformats.org hAtom)マークアップ | Root-013 http://xcontents.x.fc2.com/jump2.html?q=http%3A%2F%2Fwebsite-homepage.com%2Fwordpress%2Fcustomize%2Fmicroformats-hatom (http://twtr.io/ztTLRqdRGp)
- # [16:07] <Loqi> [@bichiko_seo] WordPressの構造化データ(http://microformats.org hAtom)マークアップ | Root-013 http://website-homepage.com/wordpress/customize/microformats-hatom?utm_source=dlvr.it&utm_medium=twitter (http://twtr.io/ztThKA9Bxs)
- # [16:07] <Loqi> [@akio0911_news] WordPressの構造化データ(http://microformats.org hAtom)マークアップ | Root-013 http://website-homepage.com/wordpress/customize/microformats-hatom?utm_source=dlvr.it&utm_medium=twitter (http://twtr.io/ztThjp2AmQ)
- # [16:15] * Quits: pfefferle (~pfefferle@213.144.11.130) (Ping timeout: 256 seconds)
- # [16:17] * Joins: elf-pavlik (~elf-pavli@95.90.238.232)
- # [16:17] * Quits: elf-pavlik (~elf-pavli@95.90.238.232) (Changing host)
- # [16:17] * Joins: elf-pavlik (~elf-pavli@lorea/elf)
- # [16:21] * Joins: pfefferle (~pfefferle@213.144.11.130)
- # [17:02] <kylewm> I'll add baseUrl to my mf2 endpoint
- # [17:14] * Joins: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net)
- # [17:16] <glennjones> kylewm: Thanks a lot that would help us test all the parsers equal baseline
- # [17:18] * Quits: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net) (Quit: dariusdunlap)
- # [17:22] <kylewm> ok I think it should work now via POST params https://kylewm.com/services/mf2
- # [17:22] <kylewm> it was supposed to handle doc+base url before, but I think it was choking when the GET params were too long
- # [17:25] * Joins: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net)
- # [17:35] * Quits: kez (~quassel@inet2.evalesco.com) (Remote host closed the connection)
- # [17:46] * Quits: pfefferle (~pfefferle@213.144.11.130) (Ping timeout: 244 seconds)
- # [17:52] * Joins: pfefferle (~pfefferle@213.144.11.130)
- # [18:02] * Quits: pfefferle (~pfefferle@213.144.11.130) (Quit: pfefferle)
- # [18:03] <glennjones> kylewm: that work fine added two new test just for relative URLs - will look at adding a testrunner mode that does not flag "rel-urls": {}, as an error, so you can get more out of the results
- # [18:04] * Quits: chiui (~chiui@h-213.61.228.26.host.de.colt.net) (Ping timeout: 272 seconds)
- # [18:12] * Quits: KartikPrabhu (~kartik@108-69-72-147.lightspeed.cicril.sbcglobal.net) (Ping timeout: 276 seconds)
- # [18:12] * Joins: gRegorLove (~me@c-73-140-189-21.hsd1.wa.comcast.net)
- # [18:36] <@KevinMarks__> Kylewm did you see the test running I added to my mf2py fork?
- # [18:37] <@KevinMarks__> Could do that, but with the main tests repository as the submodule
- # [18:46] <Loqi> [@4SEO1] WordPressの構造化データ(http://microformats.org hAtom)マークアップ | Root-013: 構造化データ(http://microformats.org hAtom)を… http://4-seo.net/news/story/6902/ (http://twtr.io/ztgyAHavSw)
- # [18:47] <@tantek> well ok then
- # [18:52] * Joins: KartikPrabhu (~kartik@nsit-dhcp-205-208-056-199.uchicago.edu)
- # [18:53] <kylewm> glennjones: i can add a flag to my side to strip rel-urls
- # [18:53] <kylewm> that might be easier?
- # [18:57] <kylewm> KevinMarks__: wow, that's awesome! I would love to merge that into the main branch
- # [19:02] <@KevinMarks__> I fixed a lot of tests, but it is showing things that aren't implemented too
- # [19:02] <@KevinMarks__> See issues
- # [19:05] <@KevinMarks__> Tantek: should we revisit whitespace preservation?
- # [19:05] <@tantek> KevinMarks - it sounds like it - at least for pre/post trimming
- # [19:05] <@tantek> which may be sufficient to fix all issues
- # [19:05] <@tantek> I think that's what we had settled on in the v1 days
- # [19:06] <@tantek> did you add an issue like I asked?
- # [19:06] * @tantek checks http://microformats.org/wiki/microformats2-issues
- # [19:06] <@tantek> hmm
- # [19:07] <glennjones> kylewm: half way through adding some to testrunner, but it would be much clearner if you added flag to your side to strip rel-urls
- # [19:07] <Loqi> [[microformats2-issues]] http://microformats.org/wiki/index.php?title=microformats2-issues&diff=64981&oldid=64840&rcid=101358 * Tantek * (+217) dfnish, sections
- # [19:07] * Joins: KevinMarks_ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [19:08] * ChanServ sets mode: +o KevinMarks_
- # [19:08] * @tantek meant http://microformats.org/wiki/microformats2-parsing-issues
- # [19:08] <Vendan> should we add something like strict=true?
- # [19:09] * Quits: @KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
- # [19:11] <kylewm> glennjones: OK done
- # [19:11] <@KevinMarks_> Adding parameters is not a good idea
- # [19:12] <kylewm> KevinMarks_: adding parameters to the parser or the test suite?
- # [19:13] * Joins: KevinMarks__ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [19:13] * ChanServ sets mode: +o KevinMarks__
- # [19:16] * Quits: @KevinMarks_ (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
- # [19:19] * Quits: Erkan_Yilmaz (~Erkan_Yil@wikimedia/Erkan-Yilmaz) (Ping timeout: 276 seconds)
- # [19:20] * Joins: Erkan_Yilmaz (~Erkan_Yil@dslb-188-098-067-125.188.098.pools.vodafone-ip.de)
- # [19:21] <@KevinMarks__> If you want examples, look at the diffs I put in th tests last ni
- # [19:25] <@tantek> nope that was a separate issue
- # [19:26] <@tantek> KevinMarks,kylewm can you add the whitespace issue to http://microformats.org/wiki/microformats2-parsing-issues ? my suggested fix is going to be to "add trimming from start end" - pretty sure that will fix all current use-cases (and back compat)
- # [19:32] <@tantek> ping me when you've added the issue to the wiki so we can properly propose/discuss/document a resolution there. thanks!
- # [19:39] <glennjones> Kylewm: that’s done your now, I think Vendan: idea of using a “strict” parameter is more flexible and would allow you try out other changes without creating errors.
- # [19:40] <@tantek> I think the "strict" param is a bad idea because it is quickly lost "whose dfn of strict?" "what year?" etc.
- # [19:40] <@tantek> can you please file issues instead of hacking workaround into code / test suites?
- # [19:56] * Quits: Erkan_Yilmaz (~Erkan_Yil@dslb-188-098-067-125.188.098.pools.vodafone-ip.de) (Changing host)
- # [19:56] * Joins: Erkan_Yilmaz (~Erkan_Yil@wikimedia/Erkan-Yilmaz)
- # [20:06] <KevinMarks> the rel-urls thing si that the tests reflect the parsing page, not the updated stuff
- # [20:07] <@tantek> yeah that's on me to update - sorry will do today
- # [20:08] <KevinMarks> so my test harness on mf2py currently deletes the rel-urls object before comparing
- # [20:27] <KevinMarks> wiht glenn's changes too, down to 37 failures in mf2py (from 80 last night)
- # [20:44] <kylewm> hmm, I wish Travis-CI would give us one of those nice charts
- # [20:49] * Joins: glennjones_ (~glennjone@cpc18-brig15-2-0-cust225.3-3.cable.virginm.net)
- # [20:49] * Joins: eschnou (~eschnou@140.164-65-87.adsl-dyn.isp.belgacom.be)
- # [20:52] * Quits: glennjones (~glennjone@cpc18-brig15-2-0-cust225.3-3.cable.virginm.net) (Ping timeout: 256 seconds)
- # [20:52] * glennjones_ is now known as glennjones
- # [20:57] * Joins: chiui (~chiui@2001:470:71:41b:863a:4bff:fe19:60c4)
- # [21:22] <Loqi> [[microformats2-parsing-issues]] http://microformats.org/wiki/index.php?title=microformats2-parsing-issues&diff=64982&oldid=64792&rcid=101359 * Kevin Marks * (+2836) /* whitespace collapsing revisited */
- # [21:22] <KevinMarks> tantek, issue posted
- # [21:29] <@KevinMarks__> Glennjones did I capture your issue too?
- # [21:47] * Quits: chiui (~chiui@2001:470:71:41b:863a:4bff:fe19:60c4) (Ping timeout: 256 seconds)
- # [21:57] * Joins: zappl (0592f9e3@gateway/web/cgi-irc/kiwiirc.com/ip.5.146.249.227)
- # [21:57] <glennjones> KevinMarks: I am going to pick up adding issues and ideas to wiki first thing tomorrow
- # [21:59] <KevinMarks> OK. I'll have another look at what mf2py is doing later on
- # [22:02] * Quits: dariusdunlap (~dariusdun@ip-69-27-182-58.coastside.net) (Quit: Stepping away...)
- # [22:26] * Quits: eschnou (~eschnou@140.164-65-87.adsl-dyn.isp.belgacom.be) (Ping timeout: 272 seconds)
- # [22:31] <@tantek> thanks KevinMarks
- # [22:43] <Loqi> [[microformats2-parsing-issues]] http://microformats.org/wiki/index.php?title=microformats2-parsing-issues&diff=64983&oldid=64982&rcid=101360 * Tantek * (+951) /* whitespace collapsing revisited */ add option to trim leading/trailing, separate choose from vs. orthogonal choices, add -1/0/+1
- # [22:43] <@tantek> added some reponses and more options KevinMarks
- # [22:43] <@tantek> http://microformats.org/wiki/microformats2-parsing-issues#whitespace_collapsing_revisited
- # [22:46] <KevinMarks> leading/trailing isn't the issue I've seen
- # [22:47] <KevinMarks> it's the stuff inbetween spanning properties
- # [22:47] <@tantek> in typical uses those are collapsed at display time
- # [22:47] <KevinMarks> right, so they're invisible metadata
- # [22:48] <Loqi> [[microformats2-parsing-issues]] http://microformats.org/wiki/index.php?title=microformats2-parsing-issues&diff=64984&oldid=64983&rcid=101361 * Tantek * (+304) /* implied properties when an explicit class is provided */ note old consensus, new proposal based on new use-case
- # [22:49] <@tantek> KevinMarks: only sometimes
- # [22:49] <@tantek> that's why you can't depend on anything generic to collapse them
- # [22:50] <KevinMarks> 80:20 they're invisible
- # [22:50] <KevinMarks> you could use <pre>
- # [22:51] <@tantek> except white-space collapsing is a presentational thing
- # [22:51] <@tantek> so we'd have to check white-space property :/
- # [22:51] <@tantek> CSS property
- # [22:53] <@tantek> !tell kylewm FYI: http://microformats.org/wiki/microformats2-parsing-issues#implied_properties_when_an_explicit_class_is_provided
- # [22:53] <Loqi> Ok, I'll tell them that when I see them next
- # [22:54] * Quits: glennjones (~glennjone@cpc18-brig15-2-0-cust225.3-3.cable.virginm.net) (Quit: glennjones)
- # [23:42] * Quits: @tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com) (Quit: tantek)
- # [23:43] * Joins: tantek (~tantek@70-36-139-190.dsl.dynamic.fusionbroadband.com)
- # [23:43] * ChanServ sets mode: +o tantek
- # [23:45] <KartikPrabhu> collapsing whitespace in name is going to completely mess up the classification of notes. I thought name = content.value implied that the post was a note
- # [23:45] <@tantek> KartikPrabhu: the algorithm is a bit more than that
- # [23:46] <@tantek> the reason to preserve whitespace in notes - e.g. p-content is for other reasons: http://indiewebcamp.com/note#Whitespace
- # [23:46] <KartikPrabhu> yeah saw that
- # [23:47] <KartikPrabhu> but if mf parsers remove whitespace from the name property then this https://indiewebcamp.com/notes#Note_Type_Algorithm will get a whole lot messier
- # [23:47] <KevinMarks> add comments to the wiki, KartikPrabhu
- # [23:47] <@tantek> not necessarily - look at the specific options being proposed / discussed
- # [23:48] <@tantek> there is "remove all whitespace" proposal
- # [23:48] <KevinMarks> value also seems to accrete whitespace
- # [23:48] <@tantek> s/there is/there is no
- # [23:48] <Loqi> tantek meant to say: there is no "remove all whitespace" proposal
- # [23:48] <@tantek> KevinMarks no you're confused - value is no different
- # [23:48] <@tantek> than plain string values
- # [23:48] <KevinMarks> I proposed removing it from value and name
- # [23:48] <KevinMarks> at least I thought I did
- # [23:48] <@tantek> KevinMarks - as you said - see wiki for follow-ups on that
- # [23:48] <@tantek> removing from "value" makes no sense
- # [23:49] <@tantek> because "value" is just another expression of what is already in property string values
- # [23:49] <KevinMarks> looking at the places where the tests differed from the process
- # [23:51] <KevinMarks> https://github.com/microformats/tests/commit/4c9690b53b0a2f40440abac8e609c51ac7dd6d56
- # Session Close: Thu May 28 00:00:00 2015
Previous day, Next day
Think these logs are useful? Then please donate to show your gratitude (and keep them up, of course). Thanks! — Krijn