#[jgmac1106]no save though gRegorLove...my porr kids hav't finished Carmen San Diego as somehow we lose internet....though that game is much longer than OT
#[Rose]I would be for passing both, the name is naturally friendlier.
#[Rose]But the name could also change, so it's up to the micropub endpoint to have a graceful way of failing (graceful being from the point of the poster)
#GWGI think having Microsub clients using Micropub passing the property of the channel is the best move.
#[Rose]So you would configure your endpoint to do something with it if you want to, and otherwise just ignore - like we do with other micropub properties we don't like 😛
#[Rose]I bet I'll have a solution by the end of one of my IWCs 😛
#GWGI am still hoping some of my other properties catches on
#GWGI haven't done much with Microsub proposals, but I'm all over the Micropub charts
[grantcodes] joined the channel
#Zegnatswentel: why do you need them to be a thing in form encoded? I think the idea is to use form encoded as little as possible (at least it feels that way to me)
#[grantcodes]I don't know if microsub channel in micropub is really the best way to go about it to be honest. It's a bit limited to have it only for microsub, and so far it the use case just seems to be to add categories / tags automatically more or less - which could be done in a UI, without the need for a new property
#[grantcodes]It also seems more closely related to how people used the "posted from / via", which is gathered from the token usually.
#swentelZegnat, indigenous for android does urlencoded or form-data only, no json (and not planning that for now)
#GWGBut I thought this was a proposal worth discussing
#ZegnatFor form encoded, note that micropub extends it to cover arrays. Theoretically, if people have good cases for wanting it, it could also be extended with nesting.
#ZegnatI am just not sure it is worth writing such an extension when JSON is available in most programming languages by default
#Zegnat[Rose]: for sure. I am just going to call not-it on inventing an extension to an established RFC
#sknebelfor the specific post routing issue, mp-destination IMHO fits reasonably well
#ZegnatI guess an alternative would be to nest JSON in form-data? You JSON serialise all the post properties, and then use form-data to send files in the same request? (Would that work, swentel?)
#ZegnatSo what standard would Guzzle be using to serialize those arrays? That is where the problem is.
#ZegnatNeither form-data (RFC 7578) nor urlencoded (WHATWG URL spec) support anything but flat name-value pairs
#swentelit doesn't do anything fancy as far as I know
#sknebelZegnat: " nest JSON in form-data" - uäghs!
#swentelyeah json in form-data, wouldn't go for that either :)
#sknebelswentel: same with the multiple properties: nothing did anything "fancy", they just did 3 incompatible different things
iasai joined the channel
#ZegnatPHP will automatically parse ?a[]=b&a[]=c as an array, and this is what micropub defines as encoded arrays. But there is nothing saying ?a=b&a=c without the brackets isn’t equally valid.
#ZegnatThat’s also why micropub specifically documents it, because it isn’t documented anywhere else.
#ZegnatOn the record, my first reaction to JSON in form-data was not a good one either. But at least it wouldn’t have us defining custom data serialisation things ;)
#sknebelwe could also just convince swentel that JSON is the future(TM)
#ZegnatIt would be interesting to know whether it is actually easier for Android (and other platforms) to be able to keep things within a single request.
#ZegnatTo know whether that is something worth adressing
#ZegnatStill a little afraid that JSON-in-form-data may be the path of least resistance on that front, haha
#swentelit's just a bit more work on the client side
#swentellazyness is part of the problem here too ;)
#swentelI was like: ok, I can upload an image and text, great
#swentelwhy bother refactoring that part now to make it two requests
#swentelso, don't worry too much about all this :)
[manton] joined the channel
#[manton]To throw in my 2 cents... 🙂 Using the media endpoint simplifies things later as requests get more complicated. I'd go as far as saying the spec (or companion guide) should strongly recommend always using the media endpoint.
#[manton]JSON or multiple photos. I think it's just simpler if there's a single best way to do an upload. Your milage may vary, of course.
#swentelHmm, haven't had any troubles so far with multiple photos
#[manton]To put it another way: if we were starting over and there could only be one way to upload photos, it would have to be the media endpoint.
[schmarty] joined the channel
#[schmarty]re: the discussion above w/ experimental micropub/microsub properties - i don't think there's a need to document the proposed property, except as brainstorming, until at least one person is using it for their site.
#swentelI've had bug reports on indigenous something didn't work, but they were only listening for json for instance on there micropub endpoint
#[Rose]I also coded my different pages as destinations though, so this wasn't a consideration back then.
#[schmarty]haha in this case forking monocle and then tom sawyering gwg to add support to WP Micropub seems like the fastest approach to trying it out. ;}
#[manton]For [aaronpk] or anyone who supports video from Micropub... Micro.blog now hosts video and I'm a little confused about how to handle OwnYourGram requests, which for video also sends a photo of the video. The spec seems a little vague on mixing photos and videos together. (Micro.blog generates it's own video poster frame, so I'm considering discarding the photo parameter from OwnYourGram.)
#aaronpkYeah there's been some discussion of this, but right now OYG sends the photo parameter both as a fallback but also intending to be the poster frame. So you can definitely discard it.
#aaronpkthe situation this doesn't work in is if you want to make a post with both photos and videos, but also that has the problem of not knowing which order they should go in since the parameters are different. This is a limitation of the mf2 vocab really.
#[manton]Thanks, I'll work on ignoring the photo from OYG then. I get why you did it that way, but it also seems like the server should be responsible for the poster frame, or it should be included in a special parameter that is separate from "photo".
#[manton]The order is a good point too, although I'm less worried about that since it isn't likely to matter too much.
#aaronpkThe reason it's that way is because of the publishing case from microformats
#aaronpkif you want to publish a video, and also show something to consumers that don't understand videos, you can include a poster frame as the photo property
#sknebelaaronpk: did we have a page to track ideas about this problem?
#aaronpkit's also convenient in micropub so that servers don't have to generate their own poster frame
#[manton]I think it's simpler if poster frames are never treated like photos. They really aren't photo posts. They are just extra information about the video.
#aaronpki agree. the other trick though is providing fallback content for consumers of the mf2 that don't know how to show videos.
#[manton]Yeah. I wonder if a fallback is less necessary now, though, as videos are more commonly supported in browsers.
#aaronpkthere are also plenty of publishing and consuming examples of videos now, and issues in mf2 h-entry to move both photo and video to core h-entry properties, which also means it may be less important to have fallback behavior
#ZegnatProbably not really part of the discussion, but video in jf2 is already an object that contain more information
#ZegnatWondering if jf2 defined something for the post frame
#ZegnatTo answer my own question, no, doesn’t look like jf2 encodes poster images either :(
ingoogni and [kevinmarks] joined the channel
#[kevinmarks]poster frames are still good as you don't always want to autoplay video, and letting the author choose one rather than picking the start or middle is also good
#aaronpkyes that's another reason to let "the client" choose the poster frame
#[kevinmarks]I vaguely remember a tool to insert flash frames in the middle of a video to change the poster frame on youtube
#aaronpk[kevinmarks]: that was before youtube let you upload custom poster frames ;-)
#ZegnatHuh, does jf2 not support multi-photo / multi-video posts?
#[kevinmarks](we got sued for using a still image to represent a video sequence in an editor under that patent in 1991)
iasai joined the channel
#Zegnatgot to the train and continued reading about video in jf2
#ZegnatLooks like microsub post jf2 objects do not match jf2 specs post objects when it comes to photos and video. Hmm.
#Zegnathttps://www.w3.org/TR/jf2/#multiple-urls seems to suggest that an array of multiple values for video means multiple URLs for the same resource. I think mf2/microsub assumes multiple URLs to all be a unique resource (e.g. multi video/photo post)
#aaronpkthe jf2 spec kind of ran away with a few things there, and I was more conservative in my implementation of it
#[manton][aaronpk] You can already customize the poster frame on Micro.blog if you want to upload a PNG separately and edit the post. We'll see if people want more control from the web or client apps, though!
#ZegnatThe differences just always catch me of guard, aaronpk. Because microsub simultaneously decided to use jf2 and not mf2, but also not really jf2 because differences
#aaronpkwell jf2 is still a draft so nothing about it should be considered final or set in stone
#GWGTo align Webmentions with his ActivityPub work
#GWGI think that is how he figured out a way forward
[schmarty], [jgmac1106], [grantcodes], jjuran, snarfed, [cleverdevil] and chrisaldrich joined the channel
#[jgmac1106]@grnatcodes moving here from microformats, I dunno I look at something like micro.blog nobody needs to touch the themes but they could.but if pages were static and not compiled don't see why a user shoudl;n't be able to edit them
#[jgmac1106]...but you know I have always said the CMS I want is just a blank box where I can put HTML but with all the plumbing working, type->hit publish->save html\
#[jgmac1106]I just don't see why it has to be this hard for someone to add "u-in-reply-to" ...one day I will figure out how your site works and just steal all your plumbing as I think you already built what I want
#[grantcodes]Sounds more like a static site generator type idea, I'm not disagreeing with what you want but that sounds like you want to take the M out of CMS 😛
#[jgmac1106]kinda feel like micro.blog provides a good halfway point
#[jgmac1106]you can play with your hugo theme but don't have to worry about all the database and storage
#[grantcodes]But I think there are actually quite a lot of options that could work almost exactly like you explain (mostly the idea of flexible content types and HTML) but I doubt any of them have any out of the box indieweb plumbing and you'd have to write your own theme. WP actually would provide everything with the plugins, just need to write a theme that works with the indieweb plugins
#[jgmac1106]i debated hard when I was leaving WP whether to try Perch or back top Known...only had between semesters so fell back on Known.
#[jgmac1106]had I had three months of summer I might have given Perch a gosince there are native webmentions plugins
#[jgmac1106]honestly Glitch is pretty close for me as a CMS, I just don't have the skills yet to store and display webmentions
#[jgmac1106]especially with the Disqus change now somebody could be offering a $5 month service, sure some folks would buy
#[grantcodes]Not sure writing a WordPress theme is much more effort than building your other options. You'd still need to write your own templates for all those options too.
#[grantcodes]But of course there is a definite learning curve involved
#[jgmac1106]I could write the templates, I can almost style stuff the way I want that is slightly broken but useable..having fun we will see where it takes....still like remixing html pages, should play with Beaker more
#[jgmac1106]always dreamed of broswers that were both read and write. want a new blog post go up to Firefox menu bar>file>new>post
#[jgmac1106]really I will just keep writing grants and hopefully win one so I can get you fine folks to build whatever we want
#[jgmac1106]think timing is right for new emergent cooperative or artisinal business models, especially in education space, especially outside of USA
dougbeal|mb1 joined the channel
#[jgmac1106][cleverdevil] what you really need is the Slack App where threads under each slide would correspond with that slides url and display as webmentions