#dev 2021-08-18

2021-08-18 UTC
#
@Lohn
I'm trying to indiewebify my entire site. Still a work in progress, but now I have full support to webmentions and, I hope to send whostyles. I think I made everything all right. Next step is to support receiving whostyles too. Kicks Condor and… https://lohn.in/notes/2021/08/1629245218/
(twitter.com/_/status/1427787772392321025)
#
@Lohn
I’m trying to indiewebify my entire site. Still a work in progress, but now I have full support to webmentions and, I hope to send whostyles. I think I made everything all right. Next step is to support receiving whostyles too. Kicks Condor and Sphigmus… https://lohn.in/replies/2021/08/1629246956/
(twitter.com/_/status/1427791834852515841)
jacky joined the channel
#
GWG
Not sure why I decided to brainstorm on this right now, but https://github.com/indieweb/indieauth/issues/88
#
Loqi
[dshanske] #88 Extension to Allow Clients to Get Tokens Secured by Ticket
jacky and justache joined the channel
#
capjamesg[d]
Is there a non-manual way to request Brid.gy resend all webmentions?
hendursa1 joined the channel
tss and [Gabriele_Girel] joined the channel
#
[Gabriele_Girel]
Hello IndieWeb! I was wondering, is there a way to unsend a webmention?
#
sknebel
what do you mean by that?
#
capjamesg[d]
I think you can delete one.
#
capjamesg[d]
Oh, never mind. I was confused.
#
capjamesg[d]
If you delete a post, you should send a 410 Gone status code and resend webmentions.
#
capjamesg[d]
I don't know if you can send one and then unsend one.
#
capjamesg[d]
I don't think so.
#
[Gabriele_Girel]
I was wandering because if there was something wrong with a webmention (e.g., title or content), I was thinking it would be nice to unsend it, fixed the content, and resend it. Because from what I understood (at least for webmention.io) when deleting a webmention, the source URL gets blocked. Right? 😕
#
sknebel
just resend it when fixed
#
[Gabriele_Girel]
Would that overwrite the previous one automagically?
#
sknebel
yes, thats how its supposed to work
#
[Gabriele_Girel]
Awesome! Thanks sknebel++ abd capjamesg[d]++ for the clarification ❤
#
capjamesg[d]
You can edit a webmention and resend it. The receiver should update the data they have on your webmention.
#
capjamesg[d]
(This is not yet something my receiver supports but I will. It's part of the spec.)
tetov-irc and epilys joined the channel
#
epilys
Hallo, I'm implementing webmentions and I was wondering if anyone has written any local testing tools for it (I already know of webmention.rocks)
#
Zegnat
Are you testing a webmention sender or receiver? For receiver I think https://github.com/voxpelli/node-webmention-testpinger can be run completely locally to send it a bunch of mentions and see if you can parse it correctly. But is the only one I know off on the spot
#
Loqi
[voxpelli] node-webmention-testpinger: A tool to ping your site with a variety of real world WebMentions
#
epilys
Zegnat, I don't really want to install npm and run node 🤔
#
epilys
I am writing a python script with the standard library http.server
#
epilys
to host a dummy webmention endpoint
#
epilys
if I upload it with a license on gists.github.com someone could add it to indieweb wiki if they want to?
#
epilys
so that others can use it
#
[Gabriele_Girel]
Would love that! 👍
#
epilys
btw, to answer your question, I'm writing a sender/receiver. I've written a link aggregator/discussion forum and I want to send webmentions for posted links and also receive
KartikPrabhu joined the channel
#
Loqi
[epilys] sic: link aggregator community organised by tags (with no javascript)
#
Zegnat
I feel like I have seen a PHP cli thing too for sending webmentions. But I am unsure about Python as I do not use that language myself. Might be some tools floating around though, we have a few Python people in here too
nertzy joined the channel
#
epilys
well I already wrote a server that accepts any target: https://pastebin.ubuntu.com/p/Q3Fw6QHNwx/
#
epilys
It's very fast to prototype stuff with python
#
[KevinMarks]
I have a python one here https://github.com/kevinmarks/mentiontech but it does depend on appengine utilities
#
Loqi
[kevinmarks] mentiontech: webmention experiment
#
epilys
nice!
#
epilys
I want something more minimal but that's cool :) You should write a README!
#
capjamesg[d]
epilys I agree. Python is super easy to use when you are building prototypes.
#
capjamesg[d]
By the way, anyone can contribute to the wiki!
#
capjamesg[d]
If you want to add a link to your Gist but don't have an account on the wiki, you can do so from here 🙂
#
capjamesg[d]
See the "[[Foo]] (or X" example. I didn't quote it all so that Loqi would not pick up on it 🙂
#
capjamesg[d]
I have a webmention endpoint written with Flask.
#
Loqi
[capjamesg] webmention-receiver: A webmention receiver written in Python Flask with sqlite3.
#
capjamesg[d]
But the README is sort of outdated 🙂
#
epilys
ah that's marvelous, I will put it myself then
#
epilys
thank you capjamesg[d] :)
#
capjamesg[d]
What is a webmention receiver?
#
Loqi
It looks like we don't have a page for "webmention receiver" yet. Would you like to create it? (Or just say "webmention receiver is ____", a sentence describing the term)
#
capjamesg[d]
A webmention receiver is an application capable of accepting and processing Webmentions. webmention.io is an example of a webmention receiver.
#
Zegnat
What is webmention endpoint?
#
Loqi
It looks like we don't have a page for "webmention endpoint" yet. Would you like to create it? (Or just say "webmention endpoint is ____", a sentence describing the term)
#
Zegnat
Hmm, I thought we had that page
#
sknebel
not sure that needs pages outside maybe some redirects
#
GWG
Zegnat, sknebel Would you have any thoughts on https://github.com/indieweb/indieauth/issues/88
#
Loqi
[dshanske] #88 Extension to Allow Clients to Get Tokens Secured by Ticket
#
GWG
Shouldn't brainstorm just before bed, but...
#
Zegnat
Quick thought, though I am at work and can’t really give it any depth, but I feel like using grant_type is wrong in this case. You are not asking the OAuth endpoint to grant you a token at all. I see it more as querying for information you expect the token endpoint to already have. Which would be closer to something like token introspection
#
GWG
Interesting thought...which the IndieAuth token endpoint doesn't really do
#
GWG
Unless you count action=token
#
capjamesg[d]
sknebel A redirect might be wise. I couldn't find anything detailed on webmention receiver though
#
Zegnat
GWG: yeah, not sure what the best way to fit it in is. Or if you might just want to go and request it from the ticket endpoint, and sidestep the entire auth endpoint. I think I have just grown a little wary of overloading OAuth concepts
#
GWG
I was debating if the ticket endpoint should handle it
#
Zegnat
I feel there is a lot to be gained the easier it is for IndieAuth to stay on its own as an extension for OAuth that makes it easy for public clients to find public identities.
#
Zegnat
It also seems natural to be able to say the ticket endpoint is for receiving tickets (sent by others who want to grant you some form of access) as well as for apps to retrieve tickets from (that were previously sent to it already).
#
Zegnat
As with other APIs, the retrieval API could define that is expects authorisation for retrieval through an OAuth bearer token, and that way you will have brought it full circle
#
Zegnat
Alright, back to work, Zegnat out xD
#
epilys
Here it is
#
[Gabriele_Girel]
@epilys++
#
Loqi
@epilys has 1 karma over the last year
#
[Gabriele_Girel]
Thanks!
#
epilys
:) Love to share stuff I create
#
epilys
(Btw if anyone is interested in https://sic.pm I can give invites)
#
Loqi
epilys has 2 karma over the last year
#
capjamesg[d]
epilys That looks great!
#
capjamesg[d]
If you want to go a step further, you can run the discovery tests on webmention.rocks.
#
capjamesg[d]
But I can see this being a useful tool for the community. Definitely add it to the wiki!
#
epilys
To be honest I don't want to make an account just for this. The gist will stay public of course, if anyone with a wiki account would like to put it there I'd appreciate it deeply
#
capjamesg[d]
I will 🙂
#
epilys
yay :D
#
epilys
thank you
#
aaronpk
There isn't really a "make an account" step to use the wiki
#
epilys
oh then forgive my ignorance, I just assumed there was
#
aaronpk
You do have to log in, but it uses IndieAuth so you're using your own account
#
epilys
hmmm gotta implement IndieAuth for sic.pm next
#
[Gabriele_Girel]
Random question on IndieAuth. How are third level domains handled? Are foo.github.io and bar.github.io handleded differently?
#
GWG
No, subdomains of any level are handled the same
#
[Gabriele_Girel]
👍 thanks GWG!
#
GWG
I use a subdomain for my site.
hendursaga, jacky, KartikPrabhu, angelo and shoesNsocks joined the channel
#
[Gabriele_Girel]
Hello, telegraph.p3k.io just stopped working for me saying it doesn't see any links in any of my website pages and saying to check if I have an `h-entry` class (which I do). I double-checked with webmention.app and things seem to run correctly. Any idea what might be going on?
chatter, hendursaga, jacky, maxwell_joslyn[d, tetov-irc and wackycity[d] joined the channel