Zum Inhalt der Seite gehen


Article vs. Note vs. Page


Als Antwort auf julian

After the last conversation I saw, I was movitated enough to write a whole philosophical treatise on the subject: fedi.exon.name/2024/04/21/conv…

The conclusion I came to: Mastodon is probably more-or-less doing the right thing by refusing to render articles, but perhaps it would be nice to have a pop-out view for reading them. Friendica and Wordpress, however, would do better to give authors explicit control over the post type of each individual object.

Als Antwort auf Matthew Exon

I also understand why Mastodon uses "Note" and why they use the summary for Article, it's about Microblogging. The part that I do not understand (and that makes it inconsistent) is, that they kind of treat a "Note" as an "Article" by showing a preview (when text is above x chars) with a "show" more link. This tempts others (like me) to better use "Note".
Als Antwort auf Matthew Exon

It also turned out, that I get more replies/reactions to a post, users can completely read in their UI/App of choice, without visiting my site. Also because Mastodon has a nice translation feature!
Als Antwort auf julian

@pfefferle Mastodon already can display long Note content (it adds "Read more" at the end), I think it is reasonable to do the same for Article and other types of objects.

>The question is how, but this WG is not at the point where we start throwing around decrees and making up standards

Just talk to developers. There's an open issue (and an open pull request): github.com/mastodon/mastodon/p…. This proposal has not been formally rejected, perhaps @renchap could provide some feedback?

Als Antwort auf silverpill

I am not very knowledgable about ActivityPub so I cant discuss the specifics, but we would like to improve how non-Note objects are processed/displayed in Mastodon.
If there are discussions about this, or a WG working on the topic, please send me the links so I can reference them for us to read when we start working on this :)

One of the ideas would be to support an embedded "view more" modal, that somehow displays the remote content.

Als Antwort auf julian

@nodebb Note is the default in the WP plugin but the user gets some options…
Als Antwort auf Simon Wood

as Simon said, this is a user choice! You can choose “Note” if you want to have the best compatibility or you can let the plugin choose what the best format is. And then we try to map the WordPress internal post formats to the ActivitySteams Object-Types. Standard Post == Article, Status & Aside == Note, Image == Note with priority on image attachments, Video == Note with priority on video attachments, …
Als Antwort auf Matthias Pfefferle

Curious how you set the “priority on image/video” in ActivityPub? I didn’t know that was possible!
Als Antwort auf Matthias Pfefferle

why "note with priority on inage/video attachments"? do wordpress post formats allow Image/Video posts with multiple attachments?
Als Antwort auf infinite love ⴳ

WordPress does not have the concept of attachments. So we are parsing inline-media and add them as attachments before federating them. So yes, you can add as much media to your post as you want!
Als Antwort auf Matthias Pfefferle

interesting. is there a concept of mixed-media formats, then? the reason I ask is because my first assumption would have been that Image maps to Image, in particular when it's a single Image. likewise, that Video maps to a single Video where possible. but i suppose that wouldn't completely work with multiple media files or mixed media, would it?

it may be worth thinking about alternative approaches like perhaps an "Album" extension type that is a Collection of Image/Video items?

Als Antwort auf infinite love ⴳ

you can add as much media as you want with mixed media formats! So for normal notes and articles we take the media files in the order they are added to the text. For video, we search for videos first and fall back to others if there are no videos. Same for audio and image posts.
Als Antwort auf Evan Prodromou

and yes the plugin uses collections (adds multiple files if available)
Als Antwort auf Matthias Pfefferle

the thing i’d be interested in thinking through is Create Collection (or a subtype) instead of Create Note, because the Collection itself may have relevant metadata. or more abstractly, defining what a wordpress Image or wordpress Video really means
Als Antwort auf Evan Prodromou

see this gallery post for example notiz.blog/2019/10/16/10-hwc-k…

Here is the JSON version notiz.blog/2019/10/16/10-hwc-k…

Als Antwort auf Matthias Pfefferle

there’s a few issues with the json but notably i dont see *any* attachments here, it’s an empty array
Als Antwort auf infinite love ⴳ

oops, I am on the dev version on my blog, so maybe I‘ve broken something will check tomorrow 🙄