-
Notifications
You must be signed in to change notification settings - Fork 48
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
Better CW text for Mastodon item posts #47
Comments
heh, this is a funny interaction between your site/markup and Mastodon. the CW text here actually comes straight from your mf2 on https://beesbuzz.biz/blog/5474-Progress, specifically its background: |
having said that, i'm definitely open to tweaking bridgy fed's semantics for federating full length articles like this! eg the other extreme would be just the title and a link, but that doesn't seem ideal either. meh. |
Yeah just a title and link makes this only slightly better than having my existing IFTTT pipeline (although having the webmention responses and such is a nice addition, which is why I've gone down this rabbit hole again). I guess I need to do a better job of interpreting the h-entry markup. Also worth mentioning that the resulting formatting is completely different on queer.party. |
hmm. that may be because dragon.style is mastodon 2.4.4 and queer.party is 2.7.4. i checked and confirmed that bridgy fed sent identical AP |
Ah, I thought dragon.style had been updated recently, but in any case it's surprising anyway that these things would be so different between them. I think maybe this could be handled with some ActivityPub-specific microformats which could be documented as part of fed.brid.gy or something. For example, have |
one difficulty here is that "CW text" is very much a mastodon-ism, not a standard AP feature, and i've tried pretty hard to avoid project-specific heuristics and have bridgy fed just speak plain AP. this kind of thing would be a mastodon heuristic. maybe ok, since in practice the vast majority of bridgy fed usage is mastodon...but still, disappointing. |
What happens if you send CW text to a non-Mastodon ActivityPub instance? Does it just get ignored? (The more I'm learning about this the more I'm really disliking ActivityPub, especially if it's supposed to be the replacement to RSS/Atom...) |
good question! again, this is the AS2 (i'm on #indieweb and #indieweb-dev in IRC btw, maybe better to move there.) |
and AP is actually pretty good overall. definitely some warts, eg some privacy details, but "CW text"/sensitive content is arguably just a missing feature in all of these protocols - AP, OStatus, and RSS/Atom. |
Sure, CW text isn't part of RSS/Atom, but the UX around RSS and Atom makes it such that you're not expected to have it as a separate thing; cut/"more" links are an accepted standard approach. And the thing I'm lamenting here is the lack of structure for things like title, summary, full text, etc. I'm happy to move this conversation to IRC, although I'll need to find an IRC client first. :) |
Okay per the discussion it seems like this issue is outside of the realm of bridgy fed, and it's a combination of Publ not supporting summaries correctly (which has now been fixed pending my next release), my own site templates being kind of loose with the h-entry microformat (now fixed, awaiting said Publ release to be used properly), and Mastodon being incredibly loose with ActivityPub fields. The one piece of software that seemingly isn't at fault here seems to be bridgy fed, so I'm fine with closing this issue. :) |
When an item gets posted from a feed to Mastodon, it gets a rather long-winded CW that is a mishmash of the first few paragraphs' worth of text; as seen on dragon.style:
But the
<title>
element is nowhere to be found! It seems like using<title>
for the CW text would be better.The actual behavior of what's displayed below the CW also seems rather inconsistent and weird.
The text was updated successfully, but these errors were encountered: