#willnorrisI can't imagine the parsing rules dictating something like closing tags. The encoding thing is super annoying bc it changes the author's original markup, which we shouldn't be doing
#tantek__that was the hope willnorris, that we simplified backcompat *enough* make it "pretty straightforward" for a proper mf2 parser
tantek, strugee, loppy2, bradenslen, KartikPrabhu, Skunky9, tantek__, Razesdark and tasse9 joined the channel
#ben_thatmustbemewow, i guess the mf2-tester has definitely been useful then :)
myth0d25, Gizmokid200523, [eddie], barpthewire, n-st10, [pfefferle], Guest81764 and Platonides15 joined the channel
#ZegnatThat output normalisation issue opened by willnorris is interesting. The addition of / on self closing (ie. void) elements for instance is actually a bug: according to the HTML fragment serialization algorithm linked to by the parsing spec those shouldn't be there.
#willnorrisZegnat: you're absolutely right, I hadn't read the fragment serialization algorithm closely enough to catch that. That actually simplifies matters, since it's now clear what the canonical form should be
#ZegnatIt simplifies some things, at least. While we have a strict canonical form, I think people have previously said it isn't always workable simply because the html libs they depend on don't support it.
#[jgarber]Zegnat: Thanks for the link! Will take a look at that.
#ZegnatHi adactio! Tip: you may want to deop yourself (-o) for the time being! Loqi is doing a good job of keeping spam away, but channel operators may still see the first lines of spam before spam bots get kicked.
#[jgarber]Re: microformats/tests #96, I’ve got the “type” arrays sorted properly. Not sure if it’s too early / pre-coffee, but I’m having trouble wrapping my head around the “rel” component of the updated spec.
#[jgarber]The examples on micfroformats-2-parsing contain markup that’s properly alphabetized which doesn’t reflect how/what a parser should alpha-sort in the output.
#Zegnat[jgarber], in rel-urls there will be an object for every link on the page. Those objects contain "rels" properties. Those properties contain an array.
#ZegnatThose arrays should be alphabetically sorted.
#ZegnatBackground: the change in the spec was only because JSON doesn’t have a concept of “unordered list”. So we choose to make every unordered list specifically alphabetically ordered. That way all parsers should result in the same thing.
#ZegnatSo top objects are left untouched, just the nested rels arrays get ordered (because they are supposed to be unordered)
#[jgarber]I’ll check again, but if I’m looking at the right things, most everything was single value.
#[jgarber]Double-checked in “microformats-mixed” and “microformats-2" and all looks good to me.
#ZegnatAh. We might just need extra tests then. Which very well can be the case
KartikPrabhu, [manton], [aaronpk], [tantek], [eddie], [pfefferle], [kevinmarks] and [jgmac1106] joined the channel
#ben_thatmustbemejust looking back at this... must be sorted alphabetically?!
#ben_thatmustbemethat seems odd since depending on the library you use to write out, this can be a really annoying requirement that I don't really see any gain to
#ZegnatIn JSON, all arrays are always ordered lists. For most arrays the spec already specified order (order must follow document order the values are discovered in). But there were a few arrays, some based on unordered lists from the HTML spec, that did not specify any expected order.
#[jgarber]I posted a bunch of comments on that PR and can pitch in on any of the change recommendations if you’d like the assistance.
#@qubyte↩️ And if you're a web dev like me, it's extremely satisfying to roll a little static site generator and play with things like microformats and webmentions. (twitter.com/_/status/1031553113583493122)
#@shadowcat_mst↩️ With the new microformats stuff for pingbacks that @jmacdotorg has been playing with, I think the idea would be that you'd just post to your own site and then a sufficiently sane client could weave threads together from the feeds. (twitter.com/_/status/1031562305333538822)
tantek, tantek__, jackjamieson, [asuh], KartikPrabhu, [cleverdevil], [deeden], [jgmac1106], [eddie], [Khurt], [manton], [pfefferle], barpthewire, [iambismark], gRegorLove, vivus, [grantcodes], vivus_ and globbot joined the channel
#ben_thatmustbemeneed to start looking at the whitespace in test results
#Loqi@willnorris has 3 karma in this channel over the last year (4 in all channels)
[chrisaldrich] joined the channel
#[shaners]If anyone who knows their way around Node wants to work with me on getting node.microformants.io up and working, I’ll happily do the Heroku / Github setup and auto-deploy part. But I need someone else to do the Node part. I know next to nothing about Node Land.
#[jgarber]If it’s at all helpful, Express is _supposed_ to be akin to Sinatra on the Ruby side and Flask on the Python side… https://expressjs.com
#[shaners]I know that much. But like, I have zero mental bandwidth for spelunking into another language / framework right now. I’m sure someone who already knows their way around Node could get this up and running much much faster than I could.
#ZegnatI am going to do some nodejs stuff (including express) tomorrow. If that turns out well, maybe I can take some time the day after to check out a node site
#gRegorLoveis going through microformats/tests PRs
#Loqi[gRegorLove] I believe the backcompat for `review hreview-aggregate` should be `p-review h-review h-review-aggregate`.
What's the expected `h-review-aggregate.value`?
#[shaners]@zegnat Cool. 👍 But to be clear, I’m not suggesting that someone need to make a node site from scratch (if that’s what you meant). I’m suggesting that someone get @glennjones’ existing Node + MF site working (again). And i’ll help Heroku-ize it.
#tantekgRegorLove: point is, neither h-review nor h-review-aggregate (nor most others) are implemented enough to require that level of change control
#tantekwe really want to be more quickly / easily move / drop properties until we see some actual publisher / consuming code uptake *for each property*
#gRegorLoveI'm still not super clear on the change control process from our last discussion about experimental `read-of` and `read-status` on h-entry a while back.
KevinMarks joined the channel
#tantekgood reason to limit that change control process to h-entry
#tantekthe problem with read-of and read-status was not one of change control per se, but more a risk of premature standardization when something hasn't been incubated / reviewed enough
#tantekand that's a general standardization concern, not specific to our change control process
#tantekour change control helps us make more well thought out changes, that doesn't mean it is the end all be all of common sense or thinking through larger challenges (vocabulary proliferation)
#gRegorLoveI meant the discussion of those properties led me to review /process and raised some questions. I'll have to go back to the logs; don't remember exactly.
jackjamieson joined the channel
#gregorloveedited /h-review-aggregate (+1203) "/* Properties */ proposed properties from hReview-aggregate awaiting citations of publishing and consuming examples" (view diff)