#dev 2023-01-21

2023-01-21 UTC
to2ds joined the channel
#
[tantek]
I tried adding the fediverse follow form from https://indieweb.org/Bridgy_Fed#How_to_add_a_follow_form and broke my homepage (reverted) so now I have to track down what exactly breaks.
to2ds joined the channel
#
[aciccarello]
Oh no... What did it do?
bterry joined the channel
#
@GrembloProjects
https://www.danillouz.dev/posts/mastodon-alias I'm looking through github for ideas on how to implement Webmentions and your site does it just the way I wanted it to work! I'll be staring at your code for the next day now
(twitter.com/_/status/1616598136872476674)
to2ds and Gremblo joined the channel
#
Gremblo
what the heck
#
Gremblo
that's my mention
#
Gremblo
is the thing working???
#
Gremblo
I'm going to have to do a deep dive on indieWeb, I'm going to make this work on a Vercel site if it kills me
#
[aciccarello]
😉 That showed up because Loqi watches twitter for references to Webmentions.
#
[aciccarello]
What are your constraints for webmentions?
#
IWDiscordRelay
<G​remblo#6137> copy pasting from other channel (WHOOPS)
#
IWDiscordRelay
<G​remblo#6137> 'm currently implementing webmentions and microformats to my site (I've spent the last 2 years just telling people to trust me when it comes to work I've done) and I was wondering how the like system works. How do you even like a webmention? Is it based on someone's tweet or facebook post and it just gets the data from there
#
IWDiscordRelay
<G​remblo#6137> I'm a young baby boy when it comes to pingbacks and RSS feeds, IRC and all that other cool stuff so if I really do sound like a dummy that's probably why
#
IWDiscordRelay
<G​remblo#6137> ----
#
IWDiscordRelay
<G​remblo#6137> To answer you question, I've seen websites that have blog posts with 100 likes and there's a little section with everyone's face and it's really neat and cute. That thought was 2 years ago... I've only now decided to create a personal site for myself when I stumbled upon webmentions. The concept and the idea of ownership over content was very interesting to me, as well as the fact that the interactions are not constrained
#
IWDiscordRelay
<G​remblo#6137> So I'm jumping down the rabbit hole and getting all the stuff setup and at some point I'll hopefully understand what's going on
gRegor, gRegorLove_, geoffo, starrwulfe and gxt joined the channel
#
[aciccarello]
There's lots of options for displaying webmentions. I use a couple community tools to render webmentions client side but there are lots of other options too. Feel free to ask any question. The wiki has lots of examples too.
angelo joined the channel
#
[tantek]
aciccarello ah I think it needed required="required"
#
[tantek]
that was it
#
gRegor
That shouldn't break your homepage though?
#
[tantek]
aciccarello, form on my home page now!
#
[tantek]
depends if you're parsing your homepage HTML template as XHTML 😂
#
[tantek]
that's cool!
#
[tantek]
I'm still logged into xoxo.zone so I tried submitting an address on there and it redirected me to https://xoxo.zone/authorize_interaction?uri=@tantek.com@tantek.com
#
gRegor
added a regex pattern, too
#
@t
When you setup your site with Bridgy Fed^1, it creates a dashboard with a form for others to follow you site. E.g. mine: https://fed.brid.gy/user/tantek.com Copying that Follow form to your site sets up cross-instance following directly from your #IndieWeb site! ... https://tantek.com/t5Nx2
(twitter.com/_/status/1616725288746119168)
aynish joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> Has anyone set up ad blocking with Tailscale and a Pi Hole?
IWSlackGateway, kloenk, [pfefferle] and [KevinMarks] joined the channel
[pfefferle]1 and [KevinMarks]1 joined the channel
#
IWDiscordRelay
<G​remblo#6137> how do likes work with webmentions? I don't see a like button on any of the websites yet the articles are being liked
#
IWDiscordRelay
<G​remblo#6137> are they being collected from the social media posts?
#
IWDiscordRelay
<G​remblo#6137> also twitter on the IndieWeb website says that it's not linking back, but I'm sure it is
[TMichelleMoore] joined the channel
#
[TMichelleMoore]
[gRegorLove] [Gregor] (Not sure which handle…) I like that follow page. Nice picture!
#
[TMichelleMoore]
[aciccarello] Like your page also. Can I imitate some of the content?
dtw joined the channel
#
[TMichelleMoore]
[aaronpk] Would you be able to help me diagnose this error? I tried to use Quill and got an error and then found micropub.rocks to try to diagnose what is happening. I manually setup a token because the authorization isn’t working. I am not exactly sure what on my server or site is possibly blocking something. `Response`
#
[TMichelleMoore]
```HTTP/1.1 400 Bad Request
#
[TMichelleMoore]
keep-alive: timeout=5, max=100
#
[TMichelleMoore]
x-robots-tag: noindex
#
[TMichelleMoore]
content-type: application/json; charset=UTF-8
#
[TMichelleMoore]
x-content-type-options: nosniff
#
[TMichelleMoore]
access-control-expose-headers: X-WP-Total, X-WP-TotalPages, Link
#
[TMichelleMoore]
access-control-allow-headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type
#
[TMichelleMoore]
expires: Wed, 11 Jan 1984 05:00:00 GMT
#
[TMichelleMoore]
cache-control: no-cache, must-revalidate, max-age=0
#
[TMichelleMoore]
x-litespeed-tag: c3c1_tag_priv,public:c3c1_HTTP.400
#
[TMichelleMoore]
allow: GET, POST
#
[TMichelleMoore]
content-length: 82
#
[TMichelleMoore]
x-litespeed-cache-control: no-cache
#
[TMichelleMoore]
date: Sat, 21 Jan 2023 14:57:35 GMT
#
[TMichelleMoore]
server: LiteSpeed
#
[TMichelleMoore]
referrer-policy: no-referrer-when-downgrade
#
[TMichelleMoore]
x-turbo-charged-by: LiteSpeed
#
[TMichelleMoore]
"error": "parameter_absent",
#
[TMichelleMoore]
"error_description": "Missing Parameter: redirect_uri"
geoffo joined the channel
#
aaronpk
Hmm that's what you see logging in to micropub.rocks?
to2ds and [jeremycherfas] joined the channel
#
[TMichelleMoore]
[aaronpk] That’s what I see when I run a test. On Quill I get the invalid authorization message when I tried to publish a bookmark.
#
[TMichelleMoore]
[aaronpk] I use WordPress, I have the Micropub plugin installed and the InideWeb and IndieAuth plugin installed.
#
aaronpk
hm ok weird, I wouldn't expect a "redirect_uri" error when posting, only when logging in. This might be a question for GWG then
#
GWG
Someone got that missing parameter error due mod_security once
#
aaronpk
well that's weird
#
Loqi
[preview] [kimberlyhirsh] #53 Getting error Missing Parameter: redirect_uri even when a redirect URI is present
#
[TMichelleMoore]
@gwg and [aaronpk] I will try the fix in the Github issue. I will let you know the outcome. Thank you!!
geoffo, starrwulfe and [aciccarello] joined the channel
#
[aciccarello]
[TMichelleMoore] Sure! Feel free to copy some of the wording from my /subscribe page.
#
[TMichelleMoore]
It’s a very nice page [aciccarello] and I like that table that you built!
#
[aciccarello]
Haha, I thought you meant html table at first 😆
geoffo and gRegor joined the channel
#
gRegor
dtw, re: Bridgy Fed redirects, it sounds like you're using WordPress, correct? I would double check that the redirects in .htaccess appear before the default WP redirects, usually the block that starts with "#BEGIN WordPress". That block also includes "RewriteRule ^index\.php$ - [L]"
#
gRegor
That WordPress block should usually be at the end of the .htaccess file. It's basically routing all requests for files that don't exist through the WP index.php to handle URL routing
#
gRegor
So the Bridgy Fed redirects need to appear before that, since it's a special case of redirecting non-existent files.
floatingghost and [tantek] joined the channel
#
[tantek]
wondering if I should make a Bridgy Fed remote follow form generator
#
[tantek]
enter your domain, get some <form> markup to copy/paste
[snarfed] joined the channel
#
[snarfed]
I guess eventually this should go into the BF docs
#
@_yomli
↩️ Je l'ai déjà dit il y a plusieurs années : il ne manque à Mastodon que deux choses pour en faire un réseau social digne de ce nom à mes yeux : la prise en charge des webmentions et l'abonnement à des flux RSS.
(twitter.com/_/status/1616913056772014081)
#
@_yomli
↩️ De la même manière, il n'y a besoin que de deux choses pour créer un réseau social décentralisé : RSS et les webmentions.
(twitter.com/_/status/1616914553253535744)
#
[tantek]
[snarfed] ooh maybe the markup snippet could be auto-generated into "copy this form for your site" (or something) feature on the dashboard. Might have to see if I can hack enough python to submit a PR
#
Loqi
[preview] [Simon Willison] Is anyone up for convincing me that the HTTP accept header is a good idea?I understand the theory: every resource should have the same URI, and should be able to deliver to clients in the format that they indicate they can best handle - eg an image s...
#
[tantek]
worse than lack of discoverability, it often breaks fundamental assumptions about a URL always representing the "same thing"
#
[snarfed]
Right!!!
#
[snarfed]
[tantek] I expect that follow form generator could be entirely JS
starrwulfe joined the channel
#
[tantek]
I mean yes but you know my feelings about progressive enhancement
#
[snarfed]
hah true. I guess I'd vote for it to go on the docs page, instead of user dashboard, to avoid UI clutter, but I'm ok with either backend or frontend
#
[tantek]
Yeah both would be better discoverability. And docs is easier to start with
#
[tantek]
And I sympathize with UI clutter so I'd figure out some way to make it subtle / out of the way
#
[tantek]
^ am doing my best here to market Bridgy Fed 😄
#
[snarfed]
hah yes thank you!
#
Loqi
[preview] [torresburriel] Leo a @tantek.com comentar un recurso muy útil para conectar un sitio web con el #fediverso. https://tantek.com/2023/020/t2/bridgy-fed-follow-form
#
[tantek]
[snarfed] would you host translations of docs?
#
[tantek]
Bridgy Fed, “un recurso muy útil para conectar un sitio web con el #fediverso”
#
[snarfed]
hmm I'd need the translators to commit to maintaining them
#
[snarfed]
which is...unlikely
#
[aciccarello]
[snarfed] could you do a details element that hides a pre/code block on the profile page?
#
[snarfed]
[aciccarello] for the form generator? sure but it's not really something people are going to use regularly, probably just once, hence fitting better in docs
geoffo and herbi joined the channel