#dev 2021-03-06

2021-03-06 UTC
#
@lcptuk
Webmention W3C protocol for notifying a URL when a website links to it https://en.wikipedia.org/wiki/Webmention
(twitter.com/_/status/1368016030535196672)
#
aaronpk
quill caches stuff so try logging out and back in again
#
aaronpk
on https://quill.p3k.io/settings it should tell you what it recognizes
#
Loqi
Quill
#
aaronpk
ah looking at your site i see you have rel=media-endpoint but it should be an underscore
[tantek] joined the channel
#
[tantek]
that might be a good validator addition to indiewebify.me
#
Loqi
[thunderrabbit] micropub: a minimal PHP micropub endpoint, with media support
[KevinMarks] joined the channel
#
@NGKabra
OMG. A person whose last name is "True" has been locked out of iCloud for 6 months because the code got confused between the last name and the boolean value! https://twitter.com/RachelTrue/status/1365461618977476610
(twitter.com/_/status/1368069088124149760)
[mapkyca], [fluffy] and [schmarty] joined the channel
#
[schmarty]
Ooh wait when did quill start supporting media endpoint discovery via rel= ??
#
[schmarty]
My understanding is that Micropub requires the media endpoint to be specified in the response to a ?q=config request to the main micropub endpoint.
#
[schmarty]
I proposed the extra rel discovery long ago and I recall it being dismissed at a particular IWC Popup around Micropub when I wasn't around to explain. 😂
#
[schmarty]
(Leading to me huffing and puffing about it here in the chat 😂)
#
aaronpk
you are right
[Rose] and KartikPrabhu joined the channel
#
@pressedconf
It's saturay, so how about some indieweb inspiration for #pressEdConf21 with @ChrisAldrich" and his talk #PressEdConf19 Webmention Badges" https://twitter.com/i/events/1119314254845370378
(twitter.com/_/status/1368271766372691969)
Yakim joined the channel
#
sknebel
anyone any pointers for a quick and simple "share updates between everyone who has a page open" setup with websockets or SSE? I know aaronpk used that one nginx module, but I don't quite feel like messing with a custom nginx build right now if I can avoid it for the moment
#
aaronpk
if you don't mind relying on a service for it, https://pusher.com makes it real easy
#
sknebel
I do mind in principle, but might be ok "temporarily" (i.e. probably forever due to lazyness :D)
#
jacky
more on the client side though
#
aaronpk
yea you need something on the server to manage connections
#
vilhalmer
when I first heard about SSE I was really hoping it could be used without JS somehow
#
vilhalmer
like "here is a part of the page to replace"
[snarfed] joined the channel
#
[snarfed]
could WebRTC’s data transport get around that?
#
jacky
that would be cool
#
[snarfed]
i don’t know it very well, but sounds like it can at least try to do all the STUN/TURN/ICE peer to peer hole punching?
#
[snarfed]
may be painfully bleeding edge though
#
vilhalmer
you could implement webmention display in an otherwise static site without js if that were possible!
#
[snarfed]
oh sorry disregard re WebRTC, i misread the context
#
[snarfed]
although it may still apply to sknebel’s initial use case
[Rob_Nugen] joined the channel
#
[Rob_Nugen]
↩️ How does the client (e.g. Quill) know what media endpoint to send via q=config ?
#
[Rob_Nugen]
sorry I missed the convo last night my time.
#
sknebel
q config is provided by the server
#
sknebel
the client asks the server for more details about the server through it
#
[Rob_Nugen]
thank you sknebel
#
sknebel
oh, the successor of the nginx module is available as a debian package. well, that makes it easier for my setup :D
[Rob_Nugen] joined the channel
#
[Rob_Nugen]
Reading here about the media endpoint, https://www.w3.org/TR/micropub/#media-endpoint my mind melts...
#
[Rob_Nugen]
Who has code samples I can look at?
#
[Rob_Nugen]
Can I pay someone to have a look at my setup?
#
[Rob_Nugen]
My setup is on Dreamhost shared hosting so I cannot do the Node.js versions.
#
[Rob_Nugen]
I am hoping to use a PHP script that can accept images from my phone (via Quill ?) and save them to my image server.
jamietanna joined the channel
#
jamietanna
[Rob_Nugen] I've got a Java media-endpoint as part of my Micropub server, and that writes to https://gitlab.com/jamietanna/media.jvt.me which then gets deployed by netlify to media.jvt.me if that helps :)
#
jamietanna
I know we'll have a fair few people using PHP, I'm sure a few folks who have it on shared hosting, too
#
[Rob_Nugen]
Thank you Jamie!
#
jamietanna
Have you seen if there are any links to source code on https://indieweb.org/Micropub/Servers ?
#
[Rob_Nugen]
I looked at them some months ago
#
[Rob_Nugen]
I will look again now.
#
[Rob_Nugen]
I am moving more toward throw money at the problem because I want it done before April so I can easily document my hike across Japan