#dev 2018-11-13

2018-11-13 UTC
[tantek] joined the channel
#
snarfed
hey aaronpk, how long do webmention.io status pages live for?
#
snarfed
i'm getting a 404 for one that's 6d old. just checking that that's expected. i didn't find anything about expiration time on wm.io or the github readme
[cleverdevil], [eddie] and chrisaldrich joined the channel
#
GWG
snarfed: I pushed an update.
#
snarfed
GWG: thanks!
[chrisaldrich], [tantek], [cleverdevil] and [dave] joined the channel
#
aaronpk
snarfed: looks like 3 days
#
mblaney
should the micropub spec mention the same rule about unrecognised properties that was discussed at the summit?
#
mblaney
at the moment, section 3.3.5 says ignore what you don't recognise, but the updated version would be if there's anything you don't recognise, fall back to the summary.
cweiske, jjuran, snarfed, [pfefferle] and swentel joined the channel
#
Zegnat
I don’t think it should be to fallback as soon as there is a single property you do not recognise, right? More like: if no content is defined and no other display can be generated from other properties fallback to summary if available
[jgmac1106], petermolnar and [frank] joined the channel
#
@rubenmstb
En Psicolingüística no formulario ademais do idioma materno hai que cubrir a variedade. Cun 'Western Galician' supoño que chegará, que non penso que microsubárea Tambre-Barbanza lle diga moito.
(twitter.com/_/status/1062308005390307328)
[jgmac1106], [schmarty], swentel, snarfed and jjuran joined the channel
#
petermolnar
fyi for those who want to upgrade to PHP 7.3 soon: https://bugs.php.net/bug.php?id=76975
#
@nhoizey
↩️ @vincentlistens Does it mean you have support for Webmentions with @eleven_ty?
(twitter.com/_/status/1062371462273753088)
jjuran joined the channel
#
sknebel
webkit had scrollbar CSS (vendor prefixed) for a while too I think
[dave] and [jgmac1106] joined the channel
#
[dave]
Anyone else trying web.dev as recommended in the main indieweb channel?
KartikPrabhu joined the channel
#
petermolnar
sknebel: I had coloured scrollbar in 99, but only for IE
[frank] joined the channel
#
sknebel
petermolnar: I know they had that. you still can get it in many browsers today
#
sknebel
was my point
#
petermolnar
(btw since then I realized it's not worth it: don't mess with things like scrollbars and omnibars)
#
[dave]
@petermolnar re: 200 while offline: I think the general feeling among proponents of service workers are that they're simply enhancing the existing caching mechanism available in the browser, but it's a fair question to ask and I'm interested in hearing from detractors.
jjuran, [kevinmarks] and [eddie] joined the channel
#
[jgmac1106]
[eddie] yeah a reply field to drop in any particular url, be nice, I didn't know about following people...I need to go and refollow everyone I followed on Mastodon
#
[eddie]
[manton] In a different channel some of us were just talking about how to reply to a random Mastodon post from Micro.blog. Obviously, right now the only way is through the Micro.blog interface and likely by following someone (unless their post is imported into Micro.blog because of an existing conversation)
#
[eddie]
but one thing that came up is I'm thinking a "next step" for Micro.blog might be supporting Reply posts in the Micropub endpoint. I know that probably comes with some complexities
#
[eddie]
but it seems like it might be useful even if it was just a shortcut for the existing JSON API
#
[jgmac1106]
and I actually thought all my post I syndicated through RSS were actually being published natively...your idea of a microblog micropub client would be awesome...be some time before I have skills to hack on that
#
[eddie]
jgmac1106 all your posts should be published but RSS doesn't have the capability to communicate replies and the like
#
[eddie]
so I believe they would just turn into regular posts
#
[eddie]
but regarding the Micropub endpoint accepting replies, if the target url contained mf2, it could import that mf2 as a native post to create the conversation within Micro.blog, then it could send either a Webmention or ActivityPub ping based on what is available on the url
#
[jgmac1106]
yeah I was trying to figure out why they showed on timeline but not my microblog site, you helped me with that already...the reply to Mastodon won't be too bad for people I follow...but you cant start with reply....and I can't reply to other sites from micro.blog using the JSON API seems reasonable
#
aaronpk
[eddie]: yep that basically describes how my micropub endpoint works
#
[eddie]
For urls that you reply to without mf2 might be a bit more complicated. It could just take the title of the page and put the domain after like standard article posts in Micro.blog
#
aaronpk
I just show the URL if I can't parse anything from the page
#
aaronpk
that's the easy version
#
[eddie]
Yeah that's for a website that shows reply contexts
#
[eddie]
but in the conversation page of Micro.blog I think you'd need more than a url
#
aaronpk
ah right, that is a different kind of display
#
[eddie]
but since the article view of Micro.blog is already well know as a name following by a hyperlinked domain name, I think it would be fitting
#
[eddie]
to just grab the page title
#
aaronpk
good point!
#
[eddie]
It would look native even if it wasn't
#
[eddie]
And while if it doesn't receive webmentions or ActivityPub the author might not actually receive a reply, it could build up interesting commentary threads within Micro.blog
sebsel joined the channel
#
[eddie]
aaronpk I was looking at the audience property today and I saw your post that you syndicated to IRC back awhile ago, and that reminded me that i had thought about doing that for awhile
#
[eddie]
but i keep coming back to I don't know if it's worth syndicating to IRC if there's no clear easy to way to follow it
#
[eddie]
My thought though, is start on the IndieWeb chat page
#
[eddie]
reply to a comment there, any replies targeted at that page could figure out which IRC channel to map those replies to
#
[eddie]
I could then do a reply with reply-context on my site
#
[eddie]
and the post would just be appended to the end of IRC
#
[eddie]
The other thing that would be helpful is that (when it's running and not broken) currently I have a script that sends posts from the chat logs to my notifications channels if I or indigenous are mentioned
#
[eddie]
So then I could reply to those from my reader
#
[eddie]
which would be nifty if I didn't want to go through all the logs but I wanted to reply to someone in particular
#
[eddie]
but *shrug* I keep switching back and forth when I think about it. It's actually possible now that I'm off of Jekyll though
#
[eddie]
is there a specific reason you didn't continue to syndicate posts?
#
aaronpk
probably like you said, no way to follow it
#
aaronpk
I do keep thinking about it now and then
#
aaronpk
mostly when I have something I want to share here, not as part of normal chatter
#
[eddie]
ahh makes sense
#
aaronpk
I think also when I want to share something here, I often don't want it on my home page or sent to my micro.blog or mastodon followers
#
aaronpk
and I dont have a good UI for making that not get blasted out everwhere
#
sknebel
and if it is a proper announcement of something on topic, there'S indienews which ends up here
#
[eddie]
ahh gotcha. Yeah, for replies that wouldn't have to be the case
#
[eddie]
but original posts that's difficult
#
sknebel
I feel like if I wanted interaction with IRC it'd be bookmarks
#
aaronpk
I do still favorite things from the chat logs now and then
#
[eddie]
I could see that being an unlisted post that's syndicated for me
#
[eddie]
unlisted for me won't show up in any feeds or on any pages but the permalink
#
[eddie]
although I guess if you tag it with a tag...
#
[jgmac1106]
[eddie] I have done reply post to the url of a specific chat
#
[eddie]
yeah jgmac1106? Did you manually copy it into the chat
#
[jgmac1106]
not to POSSE IRC but simply not to spam it
#
[eddie]
or was it just to discuss what was in the chat?
#
[jgmac1106]
no, I go find the url on chat.indieweb.org and write a reply or usually bookmark
#
[eddie]
I'm not sure which should win out on an unlisted post with a tag... I'm guessing unlisted, but it would be helpful to have unlisted posts in certain areas like the tag pages since those are manually added
#
[jgmac1106]
yeah more breakout discussion, then syndicating...
#
[eddie]
Ahh gotcha
#
[eddie]
that makes sense
#
[eddie]
I've linked to the chat logs from posts before
#
[eddie]
but not done replies
#
Loqi
[mapkyca] KnownIRC: IRC Syndication plugin for Known
snarfed and [manton] joined the channel
#
[manton]
[eddie] Replying to a Mastodon post that isn't already in the timeline is something I want to solve. Usually you can click on the user's Mastodon name in Micro.blog and it will show whatever they've posted, so you can reply there.
#
[eddie]
Ahh that makes sense. So either in your feed or on their profile page. That makes sense 🙂
#
[manton]
There should probably be a way to "load" an arbitrary Mastodon post in Micro.blog, though. Just not sure where that would be hooked in.
#
[eddie]
Yeah, I feel like that's where a Micropub Reply would come in handy. But I having some kind of a textbox where you could put the url would be a simple first step probably
snarfed joined the channel
#
[manton]
So, to support that, I really just need to accept `in-reply-to` in Micropub, right? I wonder why I don't already support that.
#
aaronpk
quill does something like this already. when you paste a URL in the "reply" field, it goes and fetches the URL and shows a little preview
#
[eddie]
I think you haven't done it yet because it suggests a possible complexity on where the reply posts go: the blog or the timeline
#
[eddie]
But I think because people on Micro.blog are trained, you can just send it straight to the timeline for now
#
[eddie]
Although, it could allow you to collect replies in storage (like you did for webmentions before rolling out any UI)
#
[eddie]
But yes, in-reply-to with the url of the page the person is replying to is all you need
#
[manton]
Cool. Yeah, the Micropub endpoint can actually already be used to create @-mentions. Anything starting with an "@" is routed to the timeline as a reply.
#
[manton]
But in-reply-to is missing.
#
[eddie]
ohhh interesting!
#
[eddie]
Yeah that seems like a pretty easy add-on then, routing in-reply-to through as well
#
[manton]
Yes. I think it's time to add that and deprecate my extra M.b-specific reply endpoint.
#
[eddie]
Yeah, that would awesome. It would definitely help simplify the API
#
[eddie]
not that it's complex or anything lol
#
[manton]
Yeah, the Micropub endpoint is a monster... Posts, replies, favoriting, Indiepaper... It's a mess.
#
[manton]
Also, to [aaronpk]'s question from #chat, that Mastodon thread is brought into M.b via ActivityPub replies.
[zoellner] joined the channel
#
[eddie]
Haha yeah Micropub endpoints can be a beast
#
[eddie]
mine is in a monolithic crazy file. I need to break it down a bit more into seperation concerns
#
[eddie]
actually now that I'm free of Jekyll, I have a Post class that is essentially a fancy mf2 object with functions, so I can probably start offloading a lot of my "Micropub endpoint" logic into the actual Post class itself
[tantek] and snarfed joined the channel
#
Loqi
Gargron@mastodon.social
#
[tantek]
manton++
#
Loqi
manton has 23 karma in this channel over the last year (68 in all channels)
#
aaronpk
i just got a webmention from gargron's profile page on micro.blog https://micro.blog/Gargron@mastodon.social
#
[manton]
Hmm. That seems... wrong?
[jgmac1106] joined the channel
#
[manton]
[tantek] It's great to see Mastodon adopt some IndieWeb building blocks.
#
[manton]
[aaronpk] I assume the source/target was that profile page and your recent reply to me?
#
[manton]
(Also, I just finally fixed the issue of "update" Webmentions creating duplicates on M.b. Will be deploying the fix this afternoon.)
#
[eddie]
🙌🙌🙌
#
[tantek]
ooh that's a pretty major fix
#
[eddie]
manton++
#
Loqi
manton has 24 karma in this channel over the last year (69 in all channels)
#
[tantek]
manton indeed! It does seem like adding IndieAuth provider support to Mastodon's existing OAuth2 + profile URLs would be very straightforward
#
[manton]
I hope so too. It'll be a really nice addition to Mastodon.
#
snarfed
on a related mastodon/AP note, now that bridgy fed supports following (both directions), it's fun to see my followers on mastodon start to accumulate as indie follow webmentions and render nicely: https://snarfed.org/about#comment-2615238
#
snarfed
even shows off GWG's code that lets wordpress users delegate homepage webmentions to another page (eg /about for me)
#
[eddie]
awesome job, snarfed!
#
[eddie]
snarfed++
#
Loqi
snarfed has 66 karma in this channel over the last year (109 in all channels)
#
[eddie]
I'm getting excited to try out Bridgy Fed now that it seems like some more things are ironed out a bit 😄
#
snarfed
yes! even original post (ie Create) delivery is getting close. https://github.com/snarfed/bridgy-fed/issues/33
#
Loqi
[swentel] #33 Allow creating posts
#
[eddie]
great! Now I just have to figure out how to get webmention.io (aka xray) to support follow posts haha or I'll need to add another layer of webmention parsing in
#
aaronpk
urgh i think that's on my todo list
#
[eddie]
I can always try to hop in there and send a PR when I get around to Bridgy Fed if you haven't gotten there yet
#
snarfed
does wm.io have to do something special per post type? kinda surprising
#
snarfed
doesn't actually know much about wm.io
#
[eddie]
wm.io uses xray
#
[eddie]
xray's jf2 objects
#
[eddie]
so it doesn't just hand you the raw mf2
#
[eddie]
which is nice for dealing with as long as you're not trying cutting edge features haha
#
snarfed
ah heh
[zoellner] joined the channel
#
[tantek]
snarfed the comment on your about page from "Egyptian Athletic Champions Association" 😂😂
#
snarfed
oh god yes, one for the ages
tantek__ joined the channel
#
[tantek]
manton, re: de-duping, is that why aaronpk's reply shows up twice at the bottom of this page? https://micro.blog/manton/1040840
#
Loqi
Gargron@mastodon.social
#
[manton]
[tantek] Yes. I removed the duplicate, but shouldn't happen again after I finish deploying this fix.
eli_oat, snarfed, [eddie] and [cleverdevil] joined the channel
#
[eddie]
!tell snarfed If I'm using this for my Bridgy Fed Atom Feed, is this whole url what I need to send to the WebSub Hub? https://granary.io/url?url=https://eddiehinkle.com/timeline/&input=html&output=atom&hub=https://switchboard.p3k.io/
#
Loqi
Ok, I'll tell them that when I see them next
#
[eddie]
I'm guessing so because it looks like the feed presents the entire url including the "hub=" portion as link rel=self
#
sknebel
[eddie]: yes, has to to work
#
[eddie]
gotcha :thumbsup:
#
[eddie]
:crossed_fingers:
[schmarty] joined the channel
#
[eddie]
whoa! did aaronpk just add follow support to xray already today?
#
[eddie]
Also, yay, snarfed! Seems to work! Now to find someone to reply to!
#
Loqi
giggles
#
sebsel
nice, because of async webmention verification, I was able to fix a spelling mistake before it showed up elsewhere :P
#
Loqi
sebsel: [eddie] left you a message 4 days, 23 hours ago: Please bug me about adding subscribing to Indigenous. That was supposed to be in before it went public and I still just haven't gotten around to it
#
Loqi
sebsel: swentel left you a message 1 day, 2 hours ago: no not all api actions are implemented yet, will happen in https://github.com/swentel/indieweb/issues/250
#
[eddie]
Ha! That's awesome sebsel
#
sebsel
haha, and I will bug you, sure :)
[manton] joined the channel
#
[manton]
[eddie] Just noticed this post from you: https://eddiehinkle.com/2018/11/13/20/reply/
#
Loqi
[Eddie Hinkle] There are a bunch of great Micropub apps for the Web, iOS and Android so I definitely think it would be helpful to add Micropub support.
swentel joined the channel
#
[manton]
It's an interesting problem of what to do with that. Currently, M.b accepts the Webmention and threads it into the conversation. However, it can't notify Eugen's Mastodon instance because your account isn't using ActivityPub.
#
[manton]
So he'll never see the reply unless he happens to check the conversation in Micro.blog. I realized about halfway through implementing all of this that there would be some confusing situations like that, but not sure it is really solvable except to prevent M.b users from replying at all in that case.
[jgmac1106] joined the channel
#
[manton]
Lemme know if that makes sense or if anyone has brilliant ideas for solving it. 🙂
#
tantek__
manton - I saw Eddie's response on Mastodon - scroll to the bottom here: https://mastodon.social/@Gargron/101059395256808997
#
Loqi
[Eugen 🎄] Reading the #micropub spec. Seems simple enough, would anyone benefit from us adding that? Is anyone using that?
#
tantek__
so presumably he's seen the reply!
#
tantek__
eddie++
#
Loqi
eddie has 45 karma in this channel over the last year (72 in all channels)
#
[eddie]
manton I used Bridgy Fed for that
#
[eddie]
[manton] however it’s a great question. What to do about M.b users that do something similar without understanding Activity Pub integration
[kevinmarks] joined the channel
#
[kevinmarks]
My reply to Manton on micro.blog doesn't show up on the mastodon version 9f the thread but I don't know what would have to change for that to work. https://mastodon.social/@Gargron/101059395256808997
#
Loqi
[Eugen 🎄] Reading the #micropub spec. Seems simple enough, would anyone benefit from us adding that? Is anyone using that?
#
[eddie]
Yeah that’s tricky KevinMarks because you sent a webmention to essentially an IndieWeb website (manton’s) but his was in reply to an ActivityPub instance
#
[eddie]
It’s a whole new world with Micro.blog and Bridgy Fed ActivityPub integration but now we have a whole new set of issues! Haha
#
swentel
SaltivityPub :)
snarfed joined the channel
#
[manton]
[kevinmarks] Currently the only way it could work is if you enabled ActivityPub support in your account on Micro.blog, and then when replying also @-mention a Mastodon user in the thread to force it to notify Mastodon. Possibly I could code around that second part later by automatically sending it to Mastodon when it's part of an existing thread.
#
[manton]
But without a user to mention, I'm not sure that would work.
[tantek] joined the channel
#
snarfed
glad you're enjoying it [eddie]!
#
Loqi
snarfed: [eddie] left you a message 48 minutes ago: If I'm using this for my Bridgy Fed Atom Feed, is this whole url what I need to send to the WebSub Hub? https://granary.io/url?url=https://eddiehinkle.com/timeline/&input=html&output=atom&hub=https://switchboard.p3k.io/
#
snarfed
heads off to follow [eddie] from mastodon
#
[tantek]
what is WriteFreely?
#
Loqi
It looks like we don't have a page for "WriteFreely" yet. Would you like to create it? (Or just say "WriteFreely is ____", a sentence describing the term)
#
Loqi
[matt] @Gargron I'm planning on implementing it in WriteFreely, personally. It'd be awesome if Mastodon supported it too!
#
sknebel
[tantek]: writefreely is a blogging platform, so it's probably not gonna be a client?
#
[kevinmarks]
It may be - the model of splitting the front end and the back end using micropub as the api is a good one
#
snarfed
[eddie]: just fyi bridgy fed sent you a follow from my mastodon user just now, https://mastodon.technology/@snarfed
#
Loqi
Ryan Barrett
KartikPrabhu and [kiai] joined the channel
#
[eddie]
Awesome, I see it snarfed!
[cleverdevil], [tmiller] and kisik21 joined the channel
#
[tantek]
sknebel - ah wasn't clear about that about WriteFreely - please fix - I couldn't find a source other than that Masto link
#
[tantek]
or maybe worth replying to that link asking the author if they're implementing client, server, or both
#
kisik21
aaronpk: does telegraph.p3k.io expose an API for batch-sending webmentions to all links in the page like the web ui for /dashboard/send?
#
[kevinmarks]
I made one for mention.tech
[Vincent] joined the channel
#
[Vincent]
@kisik21 from the telegraph API docs “If you pass target_domain instead of target, Telegraph will find and enqueue webmentions for all links to that domain” So I believe yes, if you use target_domain instead of target.
#
kisik21
[Vincent]: too much parsing on my side, need this to be quick because this is gonna be from CI script in bash. I'm not gonna implement HTML parsing in bash...
#
kisik21
[kevinmarks]: /mentionall?url=$url, am I right?
#
@nhoizey
↩️ Ok, that’s awesome! I’m currently using @jekyllrb and @AaronGustafson’s plugin for Webmentions, but I’m trying @eleven_ty for another site.
(twitter.com/_/status/1062490211698008064)
#
@manton2
Rolled out several fixes today for receiving Webmentions, parsing different kinds of usernames, and notifying Mastodon instances. Hopefully all these cross-site interactions will be a little bit more seamless now.
(twitter.com/_/status/1062492060748599296)
[schmarty] joined the channel
#
GWG
Evening
[eddie] joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[matt] @eddiehinkle.com I would definitely like to support it working as a client -- probably in the web editor, but definitely in our native desktop apps.
#
Loqi
ok, I added "https://writing.exchange/@matt/101066523112656548" to a brand new "See Also" section of /WriteFreely https://indieweb.org/wiki/index.php?diff=53869&oldid=53857
#
Loqi
[matt] @eddiehinkle.com I would definitely like to support it working as a client -- probably in the web editor, but definitely in our native desktop apps.
#
aaronpk
kisik21: I don't remember actually, but it would be documented on either the telegraph website or in its github readme
#
[eddie]
Good evening, GWG
#
GWG
[eddie]: What are you up to?
#
[eddie]
Working on cleaning up my Bridgy Fed integration. I need to set up automated webmentions for it and also my posts are ending up with content warnings equal to my content, which is strange... I think it’s my p-summary that was messing it up
#
[eddie]
What about you?