Skip to content

Conversation

@thebaer
Copy link
Member

@thebaer thebaer commented May 8, 2025

This adds a preview property (a fallback Note) on each ActivityPub Article we send out. Other fediverse platforms that support it can use this object, instead. It aims to adhere to FEP-b2b8: Long-form Text.

This implementation aims to be as automatic and non-intrusive to the user as possible. It first searches for a user-defined excerpt, marked by a <!--more--> tag, and will use that full excerpt as the Note, if present. Otherwise, it uses only the first paragraph as the Note.

This could likely be improved, e.g. by being sure to include a minimum amount of text in the Note. But if you have any thoughts, please let me know!


  • I have signed the CLA

This adds a fallback `Note` object for ActivityPub platforms that support it on `Article`s
@thebaer thebaer added this to the 0.16 milestone May 8, 2025
@thebaer
Copy link
Member Author

thebaer commented Jun 18, 2025

Per some private discussions, it seems Mastodon will actually show our Article preview / excerpt text today by populating the summary field on it, so I've also made that change here.

@thebaer
Copy link
Member Author

thebaer commented Aug 25, 2025

This is good to go now!

@thebaer thebaer merged commit 51e79d1 into develop Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants