-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quote posts #461
Comments
Hmm, interesting question! Afaik Mastodon deliberately has no native quote feature, by design. Background in eg mastodon/mastodon#20673, among others. We could try to construct it ourselves, manually, with text and minimal HTML inside content, but I'm always reluctant to do that kind of thing. I wonder how other fediverse software supports quoting, if at all, that might be a good place to start. BF currently converts mf2 |
Sounds like the semi-standard way to do AP quotes is FEP-e232 (https://codeberg.org/fediverse/fep/issues/14, https://socialhub.activitypub.rocks/t/announce-activity/3129/4 ). Looks like it's a {
"type": "Note",
"content": "This is a quote:<br>RE: https://example.com/objects/123",
"tag": [
{
"type": "Link",
"mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"",
"href": "https://example.com/objects/123",
"name": "RE: https://example.com/objects/123"
}
]
} I assume the |
the for example, foundkey does this: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/318 and expects at least one of the following rels:
basically, at some point these three uris were used as JSON-LD properties for the same thing. |
Oh wow interesting, microsyntax. Whee, and ugh. Thank you! |
This is officially on Mastodon's roadmap: mastodon/mastodon#309, https://joinmastodon.org/roadmap |
Quotes are coming in Mastodon 4.4 - https://oisaur.com/@renchap/112299860209222424 |
The URL to the quoted post does get included when it comes to Misskey quote posts, though for some reason the URL is not a link. And they should be shown as quote posts in Bluesky anyway because it natively supports it. Example: https://bsky.app/profile/mima.makai.chaotic.ninja.ap.brid.gy/post/3krmzapfowqg2 |
This seems to be because Misskey doesn't attach a (Bridgy probably shouldn't require a Misskey instead attaches the quote URL under the canoncial IRI (I wouldn't use |
Btw quote posts from Bluesky to AP also seem to fail, I don't see any indication of a quote whether it's Mastodon or Misskey. Mastodon example: https://yamabi.co/@makai.chaotic.ninja@bsky.brid.gy/112278586683792932 |
I feel like Misskey quotes support would be nice as Threads added that as well! |
Note to myself: Bluesky quote post |
This seems like it should get some priority cause how you have it now the feeds with people who are Quote posting a lot totally don't make any sense cause you don't have ANY indication of that they are talking about something else. No need to wait for mastodon to do anything, just include the url of the post they QP about |
This would be a huge help for those of us following bridged Bluesky accounts from the fediverse. As it is, many posts simply don't make any sense. Some Mastodon clients are already handling some version of quoting, even if it's not a part of the core Mastodon software, just by having a URL, and then doing link preview rendering. It's definitely effective, and would make the bridged messages a lot less confusing. |
We could also do something like Threads. Threads will have a link to the quote post, but if you're on a software with quote post (for ex: Misskey) it will show as quotes. On software that dont like Mastodon will show as link and if someone quote post a post from someone who is not bridged it will also be a link no matter what software you're on. English is not my first language, so i must apologize if my point seem not concise (PS: I also kinda want quote post bridging from AP -> Bsky, I'm from Misskey (one of the many software that supports it) and it looks weird on bsky) |
implements https://codeberg.org/fediverse/fep/src/branch/main/fep/e232/fep-e232.md , https://misskey-hub.net/ns#_misskey_quote , and the quoteUrl field for snarfed/bridgy-fed#461
Progress. Here's how Bluesky quote posts now look in Mastodon (https://bsky.app/profile/snarfed.bsky.social/post/3kv6hsw44wk2q => https://indieweb.social/@snarfed.bsky.social@bsky.brid.gy/112636479451138698 ): |
I'm still looking for a Misskey instance I can create an account on to test this. I've looked at https://misskey.io/ and https://quietplace.xyz/ , and neither of them can see @bsky.brid.gy@bsky.brid.gy, so I can't enable the bridge on them. makai.chaotic.ninja, which @temtemy mentioned above, doesn't have open signups. @AtiusAmy, any thoughts on where I can test this? |
Here is the link for |
Ah, thank you! And on quietplace.xyz : https://quietplace.xyz/@bsky.brid.gy@bsky.brid.gy Any idea why it doesn't show up in user search on those instances? Or on eg the users tab of https://quietplace.xyz/instance-info/bsky.brid.gy ? |
Useful thoughts from @qazmlp in snarfed/granary@3fc6eb9#commitcomment-143259713 :
It seems like current inbox delivery could easily be extended to send |
Thanks a lot for your work! |
That's interesting because the link posted above (https://fed.brid.gy/r/https://bsky.app/profile/did:plc:vzeclfzjqfezzecw543cafaq/post/3kvc5vutiol2v) works for me, sends me to the Bluesky post. But I've seen some other bridged Bluesky posts today (like this one https://darkfriend.social/@mmasnick.bsky.social@bsky.brid.gy/112644015357113938) that still just have the link to the JSON. My instance is Mastodon version 4.2.9. The quoted post is probably not itself bridged, so I don't know if that's actually the problem - that it's meant to display differently if it is bridged. If there is intended to be an embed, so far as I can tell that embed never appears for me. |
@hybridhavoc yes it does. I'm sorry. I thought it would lead to a Mastodon website for it, but bridgy (intelligently) directly forwards to BlueSky. What I originally meant was the link INSIDE that post, after the RE (see the screenshot above) |
@hybridhavoc Mastodon doesn't support quote posts yet, so they won't show embeds at all. But you're also right that quoted posts that aren't bridged won't show as embeds even on platforms that do support them. I think I've fixed the RE: links now. Example: https://bsky.app/profile/snarfed.bsky.social/post/3kvcdqj4vik2f => https://indieweb.social/@snarfed.bsky.social@bsky.brid.gy/112644716938090636 , screenshot below. Please post here again if you see any new bridged quote posts created after ~11:30a PT today that still have the old bad links! |
Ooh, I was just going to ask if they could include the bsky.app URL instead of the ugly /convert/at:// thing, let me test this… |
Yup, looking good, thanks @snarfed! 👏 |
Oh wow, nice, the link preview turns it into a hacky approximation of a quote post anyway, even on Mastodon. Love it. |
https://bsky.app/profile/AmyIsCoolz.social.atiusamy.com.ap.brid.gy/post/3kvcmqcpywtt2 Does quote post not work with images on bsky or it can't fetch that specific post of mine (which was bridged afaik) |
AP->AT |
Phew Not sure if I should create a new issue, but I narrowed down the problem! You can see the difference in bridged post here: https://social.atiusamy.com/@atiusamy https://bsky.app/profile/atiusamy.social.atiusamy.com.ap.brid.gy
|
Thanks for the investigation @AtiusAmy! Will look. |
I can confirm that it works perfectly now. Thanks a lot for all your work, people! |
The amount of post is the same on bsky and AP, despite having less post on the BSKY side (You can count). Not sure what's going on, maybe it is bridged but the appview won't render? |
Noticed that my first quote hasn't rendered properly - maybe my MF2 markup? Post: https://fed.brid.gy/r/https://www.jvt.me/mf2/2024/06/o0vwu/ Or is this expected? |
Interesting! We haven't really tested web => AP quote posting yet; we clearly need to. @jamietanna I think your mf2 here is probably fine, the (initial) problem here is that BF interpreted it as an This issue is pretty long and hairy, I'll create a new one. |
(Oh and yeah @AtiusAmy is right, Mastodon itself doesn't support quote posts so you won't see it properly there anyway, but BF isn't quite working here regardless.) |
@snarfed Do you might know the reason of that (the post that aren't bridged are the quote post of AP user) |
@AtiusAmy I don't know for sure, but that's a good guess! |
for #461 , fixes AP => ATProto quote post of AP original post that was bridged
OK @AtiusAmy I think I've fixed this issue, bridging fediverse quote posts of bridged native fediverse posts to Bluesky. (Phew, that's a mouthful.) Feel free to try again! |
https://bsky.app/profile/atiusamy.social.atiusamy.com.ap.brid.gy/post/3kvrsg4xahiw2 Took a while to bridge but it works! |
Great! Yeah we were backed up for a bit, but we're through the backlog now. |
@snarfed the problem with the link to the JSON representation instead of the quoted post somehow is back. |
Hello @snarfed ! I can confirm that your FEP-e232 implementation is correct. You may also add |
Quoting a post on Mastodon ends up looking a bit odd (https://indieweb.social/@www.jvt.me@www.jvt.me/110084066464382647) as the original content doesn't get presented - is there something we can do to ie add the link to the post being quoted, rather than trying to embed it?
The text was updated successfully, but these errors were encountered: