#dev 2023-06-26

2023-06-26 UTC
[jacky] and unixl0rd joined the channel; unixl0rd left the channel
#
Soni
is there a desearch wg somewhere
#
Soni
how would we find and join the desearch wg
Soni, IWSlackGateway and [KevinMarks] joined the channel
[tantek], btrem and IWSlackGateway joined the channel
#
vladimyr
What a strange article, some valuable info and insightful thoughts mixed together with nonsense and incoherent rant
#
vladimyr
I find the part about xml extremely amusing. Like they declare open document xml format xml's biggest success while completely ignoring the whole thriving world of podcasting
#
vladimyr
Without entering the merits of fat stdlib vs micro dependencies debate this is becoming tiring to hear over and over again:
#
vladimyr
> That, and a left-pad way of life you couldn’t debug because the map files were generated wrong.
#
vladimyr
And that second part with inability to debug due to wrong sourcemaps is flat out wrong and making things up. Sure it is messier to debug generated JavaScript when sourcemaps are wrong but it is not like you have to go down to the assembly level because your debug symbols are off
voxpelli, holiday_medley, IWSlackGateway, tei_, petermolnar, vikanezrimaya, btrem, tei_1, gRegor and [schmarty] joined the channel
#
[schmarty]
hmm. so my site supports Micropub but builds asynchronously. i currently follow the spec by returning a `Location` header for the URL where the post will eventually be: https://micropub.spec.indieweb.org/#response-p-1
#
[schmarty]
but i'm thinking about instead returning a URL for a status page as the site builds 🤔 anyone doing something like this?
[tantek] joined the channel
#
[tantek]
what do clients do with the URL that is returned? like does a Social Reader expect to be able to retrieve the URL immediately to display to you in-stream with your other posts, or in-stream with other people's posts?
#
[schmarty]
most micropub clients i've used (quill, my own at bayside.pub) redirect you to the returned `Location` right away. iirc http://micropublish.net attempts to actually check for the page to return a 200 before doing a redirect. social reader Monocle simply shows a ✅ with the URL for the new post. so you can click it but no content is pulled in.
#
aaronpk
some of my one-off micropub clients that are more like import scripts will log the returned URL and use it to know whether something has been imported already. and on the other side, when my site is a micropub client to silopub, my site shows the returned URL as a syndication URL of the post
#
[schmarty]
aaronpk: good use-cases! thanks!
#
[schmarty]
i'm realizing i can do this with some 404 handling. possibly on server side and more easily with some JS. instead of a static "404 this really doesn't exist" the 404 page content could indicate when a build is happening and show status.
[snarfed] joined the channel
#
[snarfed]
that spec link seems pretty clear that that the returned `Location` has to be where the post will be eventually, at least for an async 202, and not anything else like a status page
#
[schmarty]
snarfed: right. that was a strong signal and the reason i came in here looking for Rule Breakers 😈
#
[snarfed]
ah, sure!
tei_1 and [KevinMarks] joined the channel
#
[KevinMarks]
There are things you can try - if you know what your build time is likely to be, serve a progress bar animation and a setTimeout reload after that time.
#
gRegor
My experience with micropublish.net is it checks the final url and shows a warning + the link if it's not 200, won't redirect to it
#
b​enpate
[timothy_chambe]: This is the best news. Thank you!
btrem joined the channel
#
[tantek]
I like the suggestion from [kevinmarks]++
#
Loqi
[kevinmarks] has 15 karma in this channel over the last year (47 in all channels)
#
[tantek]
That's worth documenting as a brainstorming how to suggestion for Micropub servers for static sites
#
[snarfed]
I"m not sure I get it. I figured Micropub clients generally have their own UIs, and don't blindly inject the HTML body from a Micropub response into their own UI
#
[snarfed]
are there Micropub clients that do that?
#
[snarfed]
even stronger, the spec says responses SHOULD be JSON, not HTML. https://micropub.spec.indieweb.org/#overview
#
aaronpk
no the idea is to redirect
#
aaronpk
the client redirects to the post's location, but the 404 page for the SSG shows a progress bar and then reloads the page
#
aaronpk
the SSG 404 page could recognize the URL as a post permalink so that it doesn't show the progress bar on other random URLs too
#
[snarfed]
ohhh sure ok
#
[snarfed]
works for web-based Micropub clients I guess
#
[snarfed]
do they really redirect you out of their UI entirely like that every time you post something?
#
aaronpk
quill does, monocle shows the URL that you can click on
#
gRegor
indiebookclub redirects if a `Location` header is returned
gxt__, tei_1, [aciccarello], tei_ and jeremycherfas joined the channel
#
capjamesg
[tantek] Is there an official rel=me spec?
#
[tantek]
That's the closest right now yes
#
[tantek]
We have the semantic spec at http://gmpg.org/xfn/11#me however these days specs need more implementation details and tests for interop
#
capjamesg
I recall you saying something about making the spec more robust [tantek]?
#
capjamesg
What are your plans there?
tei_ joined the channel
#
[tantek]
hmm, not sure what I said previously
tei_1 joined the channel
#
[tantek]
here in chat, not sure if in #indieweb-dev or #microformats
#
[tantek]
do you have a specific request?
UKn0Me joined the channel
#
capjamesg
I think you said something about the spec after it was shown that you could display an arbitrary URL on Mastodon.
#
capjamesg
I don't have a specific request, I was just curious!
#
[tantek]
I think I said something when Wikipedia announced announced their support, and also when previously GitHub announced their multi-rel-me support
JaeItIts[m], tei_1 and hmcq6 joined the channel