#dev 2023-04-22

2023-04-22 UTC
[Tim_Nolte] joined the channel
#
[snarfed]
Understood! Hopefully the two recent issues capture much of that, apart from the hashtag updates
#
[tantek]
[snarfed] wanted to clarify that it was not originally intended as a note->reply use-case, but rather that was an attempt at *restoring* the reply-ness of my original post the first time I pinged BF about it
#
[tantek]
since your issue was about that as a use-case (which I agree is a bit odd, though could happen like repairing any other error with an edit)
a joined the channel
#
[snarfed]
Understood! Maybe we close that issue then
gRegorLove_, [jeremycherfas]1, Loqi__, geoffo and [pfefferle] joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> I’m working on something new.
#
Loqi
[preview] [capjamesg] markdown-revision-extension: A proposed extension to markdown used for making inline revisions to text.
#
@_mql
↩️ You can check out the source code at: https://github.com/homenotalone/homenotalone And here's a super interesting discussion on how this compares to Webmention / ActivityPub, etc.: https://github.com/homenotalone/homenotalone/issues/12
(twitter.com/_/status/1649708461628727296)
Loqi__ and IWSlackGateway joined the channel
#
[tantek]
huh, screenshots of discord as a GH issues are not the easiest to read/follow. Would have preferred copy/paste of the text (and perhaps the screenshot as an attachment only as a way for folks to verify the content)
IWSlackGateway, ShoesNSocks, [marksuth], geoffo, [schmarty], [snarfed], [TMichelleMoore], [pfefferle] and ClmentVILLISEK[m joined the channel
#
ClmentVILLISEK[m
Hello
[KevinMarks] joined the channel
#
ClmentVILLISEK[m
I discovered the Bridgy Fed project and all the ecosystem behind it thanks to a post on the Fediverse this week, and I was thinking about using it on my website, as I'm re-making it from the ground up. And I had two questions which I couldn't find an answer to. I suppose this is the right channel to ask (I read the "Discuss" wiki page), but I'm not 100% sure.
#
ClmentVILLISEK[m
I was wondering:
#
ClmentVILLISEK[m
1) Is it possible to separate the Microformats declaration to a sub-page of the website? To me it seems like the articles must be on the homepage, which isn't what I was expecting to do (I was thinking about putting the articles/notes/entries in a "Blog" section)
#
ClmentVILLISEK[m
2) Is it possible to have multiple Fediverse accounts, like, one per language? I plan to provide my website in at least two languages (French and English), and I was wondering if I could have, for example, a "english@mywebsite.net" with only the English posts, and a "french@mywebsite.net" account which would only have the entries in French?
gRegor joined the channel
#
[snarfed]
hi ClmentVILLISEK! Bridgy Fed doesn't care where on your web site your individual posts (with microformats) are. they don't have to be in a feed on your front page
#
[snarfed]
and sadly no, it doesn't currently support multiple accounts per web site. feel free to file an issue requesting that though!
[jacky] and jonnybarnes joined the channel
#
ClmentVILLISEK[m
<[snarfed]> "hi ClmentVILLISEK! Bridgy Fed..." <- Thank you for your answer!
#
ClmentVILLISEK[m
Okay. So does it scan the whole website, seeking for micro-data? Or is there a tag I have to put somewhere to tell it to read that particular page?
#
ClmentVILLISEK[m
<[snarfed]> "and sadly no, it doesn't..." <- I'll stick with the English version then 😄
#
[snarfed]
it only posts individual pages on your site, on demand. you trigger that with a webmention. https://fed.brid.gy/docs#how-post
#
ClmentVILLISEK[m
Ah okay, I didn't understand at first what "webmentions" were. I'll look deeper into that 😄. Thank you!
#
ClmentVILLISEK[m
I'm very new to all of this so I don't have the skills to contribute to the project, but I'll definitely keep an eye on it. I'm going to open the issue about the multiple profiles.
#
ClmentVILLISEK[m
✅ issue opened: https://github.com/snarfed/bridgy-fed/issues/491
#
Loqi
[preview] [villisek] #491 [Feature request] Post to multiple profiles with a single website
[tw2113_Slack_] joined the channel
mro joined the channel
#
[snarfed]
[narrator: it doesn't]
bterry joined the channel
[chrisbergr], [aciccarello], geoffo and [tantek] joined the channel
#
[tantek]
!tell [manton] do you have a solution for connecting the dots between a Mastodon export of posts in "ActivityPub JSON format" (note: there is no such thing, there is Activity Streams 2.0) per https://docs.joinmastodon.org/user/moving/#export and transforming that into Blog Archive Format for import into micro.blog? Would be amazing if micro.blog was the first to support *full* (account info, followers, posts) migration from Mastodon
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
to another server.
geoffo joined the channel
#
prologic
I would love to know this too
#
prologic
What does the exported data look like?
#
prologic
I've never had a Mastodon account so Inve never tried to export anything out of it
#
[snarfed]
wow it's a tarball
#
[snarfed]
looks like it's straight AS2
#
[tantek]
maybe I should file a PR to fix that phrase in the Mastodon docs 🙂
#
[tantek]
thanks for the verification [snarfed], I will quote you on that
#
[tantek]
PR submitted (if you're curious and want to comment or thumbs up or review) https://github.com/mastodon/documentation/pull/1202
#
Loqi
[preview] [tantek] #1202 fix "ActivityPub" format mention to be AS 2.0
nertzy and [manton] joined the channel
#
[manton]
Oh yeah, I’ve been meaning to add an import for Mastodon’s post format. I’ll do that soon.
#
[tantek]
if you open source the converter from AS2.0 to BAF, that might spur more software & services to support BAF rather than only AS2.0
#
[manton]
Good idea.
#
[tantek]
I'm thinking of writing a quick post pointing folks at BAF, since migrating Mastodon posts is a hot topic of discussion currently
#
[tantek]
I won't promise anything on your behalf [manton], I'll let you speak to that 🙂
#
[manton]
Sounds great!
#
[KevinMarks]
What is BAF?
#
Loqi
It looks like we don't have a page for "BAF" yet. Would you like to create it? (Or just say "BAF is ____", a sentence describing the term)
#
[manton]
I’m still confused about why Mastodon doesn’t have an import. Seems deliberate, presumably some concern about federating.
#
[manton]
What is blog archive format?
#
Loqi
blog archive format is a data format proposed by Manton Reece for the export of a blog, based on a zip file and top level HTML h-feed inside, that is supported by micro.blog https://indieweb.org/blog_archive_format
geoffo joined the channel
#
[tantek]
[manton] you'll likely agree with that abovementioned PR as well
#
[tantek]
[manton] re: "why Mastodon doesn’t have an import" this is the "how do I create posts without doing all the automatic things that happen when posts are created" problem, that exists in some form in many blogging systems, e.g. even in WordPress, importing old posts sends Webmentions (last I checked), may republish them in RSS etc.
#
[tantek]
In Mastos instance (so to speak), I bet the only code path to create posts does everything else, e.g. deliver them to all followers. So if you import an archive, it would likely make a Masto instance churn with delivering them all to all those inboxes, flooding your followers with a slew of new posts (same problem as classic feeds from imported posts flooding subscribers)
#
IWDiscordRelay
<c​apjamesg#4492> Could BAF be used for shorter posts?
#
IWDiscordRelay
<c​apjamesg#4492> If there was a BAF Mastodon and BlueSky offering they would be nice.
#
[snarfed]
sounds like Mastodon has partial import. "Your following, blocking, muting, and domain-blocking lists can be imported...Mastodon currently does not support importing posts or media due to technical limitations." https://docs.joinmastodon.org/user/moving/#export
#
Zegnat
Would not be surprised if the "technical limitations" are exactly what [tantek] described: the fact that creating posts makes it push out to all the AP subscribers
#
[manton]
That seems solvable. I personally wouldn’t want or expect an import to push posts out to other servers. It’s just filling in older posts on that server.
motheki and nertzy joined the channel
#
[tantek]
"just" 🙂
#
[tantek]
I mean it's just a few API calls to slam some posts directly into the database 😉
#
[snarfed]
^ may be a joke but it's also a good point, afaik you can backfill as an AP client with decent fidelity, including backdating and avoiding posts showing up in followers' timelines by making them unlisted (cc as:Public)
#
[KevinMarks]
You could frame it as an "import mirror" format where it links back to the originals for replies and likes.
#
[KevinMarks]
If you change state from unlisted to public does that send it to followers?
#
[snarfed]
also I guess that ^ kind of AP S2S backfill doesn't accomplish the goal of importing them into an existing Mastodon account. I wonder if you could backdate, avoid timelines, etc with the Mastodon API
#
[KevinMarks]
Why is poll required, that's weird
#
Zegnat
[KevinMarks]: it is not, if `status` is given ... optional required-ness I guess is hard to render in their docs thing
#
[manton]
That is really interesting that the Mastodon API can’t create posts in the past either. Never considered that.
#
[manton]
In Micro.blog there are a bunch of ways to import old posts (Micropub, Tumblr import, WordPress, whatever) and it has never been a problem.
#
[manton]
I guess this all points back to Mastodon being mostly a Twitter clone and not a blogging platform.
#
[tantek]
IMO it's also what happens when you think about (and build for) streams first and permalinks second, rather than permalinks first and streams second.
#
@rMdes_
Test 1 Test 2 Test 3 Test 4 Test 5 Test 6 Test 7 Test 8 Test 9 Test 10 Test 11 Test 12 Test 13 Test 14 Test 15 Test 16 Test 17 Test 18 Test 19 Test 20 Test 21 Test 22 Test 23 https://webmention.rocks/test/1
(twitter.com/_/status/1649923195707748352)
#
IWDiscordRelay
<c​apjamesg#4492> 🤦‍♂️
#
[tantek]
I mean that's one way to POSSE
#
IWDiscordRelay
<c​apjamesg#4492> I struggle to differentiate the facepalm genders in greyscale.
#
IWDiscordRelay
<c​apjamesg#4492> I really depended on the colour cues.
#
[tantek]
[snarfed], second data point of a successful reply without incident, that's two in a row. I'm going to stop reporting successes until there's another failure to see if we can track down a pattern for https://github.com/snarfed/bridgy-fed/issues/487
#
Loqi
[preview] [snarfed] #487 wm => AP: weird broken AS2 Create activity
#
[snarfed]
oh yeah if you're just doing normal replies, BF does lots of those, they should be pretty reliable
#
[snarfed]
(but yes that specific one broke oddly)