#tantek__willnorris: since you rediscovered the include-pattern, could you file an issue on the mf2 parser for us to track this discussion? since it isn't actually referenced by the parsing spec anywhere currently, we need to consider it an addition, and can track all the use-cases etc. there
#ben_thatmustbemewillnorris: tried to update with go get -u and getting a git submodule error
#ben_thatmustbemeFetched in submodule path 'testdata', but it did not contain d8f0ae59a0477356c83028db7d8c3375eaf3c36e. Direct fetching of that commit failed.
[eddie], tantek, tantek__ and aaronpk joined the channel
#willnorrisben_thatmustbeme: oops, must have checked in at a commit that was part of a pull request. I'll fix now.
#Loqi[Zegnat] #39 Include sizes attribute when parsing rel microformats.
#Zegnatwillnorris, awesome test implementation on that URL expanding proposal! Did the different HTML attributes give you any issues? That’s the one thing I find a little annoying about the proposal but didn’t see a better solution for
#timswast_I just got all my posts converted over to microformats2 and am now using a those formats to generate the index page at https://www.timswast.com/blog/
#timswast_But one problem I had is with the pixel art.
#timswast_I want to render pixel art with the proper CSS so that it scales nice and blocky
#timswast_I had been using class=“pixel-art” but that doesn’t fit in with microformats2
#timswast_Should I be adding u-x-pixel-art to the images? Would most mf2 parsers pick that up?
#ZegnatThey would pick it up, yes, but it is unlikely any consumer will know what to do with that property
#ZegnatIf you want to be really fancy, you could use h-timswast-pixel-art. Depends on the exact use case. You can then have <img class="u-photo h-timswast-pixel-art">, meaning non-supporting consumers see it as the photo of your post, while you can add an extra check to see if the photo is also a pixelart type
#timswast_Ideally I want to get the indieweb markup so that other pixel artist could use it. Yeah, I’ll definitely add u-photo too.
#timswast_I think if it seems the right way to do it, I’ll mark it up like <img class="u-photo h-x-pixel-art"> and send some PRs to indiereaders.
#aaronpksounds like a potential new type of media associated with h-entry, like how we have photo, video, and audio
#timswast_Could be. Though I’d prefer to treat it as a photo for readers that don’t understand pixel-art
#aaronpkright, that's a question of fallback behavior
#willnorrisSounds pretty niche though. Would you extend the entry vocab, or just specify a more specific photo like Zegnat suggested?
#aaronpkfor example, with video, there is usually also a photo which is a still frame from the video. for consumers that don't understand video, they see a photo, and for consumers that do understand video, they use the photo as the still frame
#aaronpkyou can have two classes on an element like <img src="pixel.gif" class="u-pixel-art u-photo">
#ZegnatDo we define that fallback somewhere, aaronpk? Or is it just consumers assuming that a u-photo can be ignored if there is a u-video?
#aaronpkso consumers that don't recognize the "pixel-art" property would still see "photo", and consumers that do recognize "pixel-art" would know that they can disregard the "photo" property
#timswast_Cool, I didn’t realize that kind of logic was possible.
#ZegnatPost type discovery doesn’t do fallbacks, just identifies post type. This actually made me realise that people with mixed-albums might run into issues with readers. If I have a number of u-video and u-photo attached to my post, PTD is just going to call it a video post
#aaronpkZegnat: that's because mixed-albums aren't a supported post type in PTD
#ZegnatI should maybe write that up somewhere. Though I don’t know if anyone is posting those.
#timswast_Cool. I’ll start with my site and see if any of my pixel art buddies can follow suit.
#aaronpkeven just examples of the sites without mf2 markup is useful!
#ZegnatEven if they aren’t copying your mf2 markup, just documenting examples of people posting pixel art to their blogs is a great start. As it shows the need for the mf2 property to exist