Mike McCue (@mike@flipboard.social)
Föderation EN Do 27.06.2024 15:46:32
@mikedev @silverpill yeah JavaScript in your stream would be problematic.
It would be interesting to figure out a safe and standard way to provide limited interactivity on the level of things like polls. Farcaster seems to be experimenting with ideas like this though i have not looked at it closely.
julian (@julian@community.nodebb.org)
Föderation · Do 27.06.2024 16:03:21
@mike@flipboard.social I think even @mikedev@fediversity.site could agree that Mastodon has done the bare minimum of support. They used to only support straight text (and even now, composing in Mastodon is plaintext only), but have since allowed a heavily locked-down subset of HTML.
Allowing arbitrary JavaScript execution is a bad idea, but relaxing html sanitisation to the minimum would allow for much more expressive content. Inline images and tabular data are two tags I'd like to see allowed, but herein lies the problem... What subset of HTML do you feel comfortable with? I wager that different implementers would answer differently, and Mastodon eschewing certain tags in order to prioritize the textual microblogging style is their choice, too!
The fact of the matter is Mastodon needn't support all the tags under the sun, but they do need to acknowledge that received content is not faithfully represented in all cases, and so a prompt to view the content on the original site would be a good intermediate step.
There already exists an ActivityStreams object type for this kind of content: as:Article
. It gives other implementers a chance to explicitly say "hey, this might be better viewed natively if you don't elect to show everything we send you". I'd love to make this a reality.
Evan Prodromou (@evan@cosocial.ca)
Föderation EN Do 27.06.2024 16:03:32
@mike @mikedev @silverpill the design we built into AP is to make external apps that use OAuth 2.0 and the ActivityPub API to interact with your account.
https://evanp.me/2024/04/22/cross-server-interactions-in-activitypub/
Mike Macgirvin 🖥️ (@mikedev@fediversity.site)
Föderation · Do 27.06.2024 21:32:57