last reply (just showing that this Mastodon instance doesn't stagger comments for Lemmy either)
top-level reply from lemmy
reply to your reply (tests create JSON)
Oh right: tildes has a system like this - I didn't know it was (probably) inspired by Slashdot.
Adding federation into the mix certainly complicates things though.
so how does this go out?
I might wait until lemmy 0.19.4 to post more, as I'll be able to include ALT text in a tag with with picture, rather than dumping it into the post body as an 'image description'. The problem with the current approach is that more people see it (and potentially respond to it with something snarky) than what was ever intended.
curl --header 'accept: application/activity+json' https://endlesstalk.org/post/28599550 | jq .
{
"@context": [
"https://join-lemmy.org/context.json",
"https://www.w3.org/ns/activitystreams"
],
"type": "Page",
"id": "https://endlesstalk.org/post/28599550",
"attributedTo": "https://endlesstalk.org/u/freamon",
"to": [
"https://endlesstalk.org/c/piefed",
"https://www.w3.org/ns/activitystreams#Public"
],
"name": "Git repo",
"cc": [],
"mediaType": "text/html",
"attachment": [
{
"href": "https://codeberg.org/rimu/pyfedi",
"type": "Link"
}
],
"image": {
"type": "Image",
"url": "https://endlesstalk.org/pictrs/image/a984ddbc-37fe-4fca-a2a3-c03dc20db3a8.png"
},
"commentsEnabled": true,
"sensitive": false,
"published": "2024-03-22T15:06:31.195880Z",
"language": {
"identifier": "en",
"name": "English"
},
"audience": "https://endlesstalk.org/c/piefed"
}
Announce of Page (for Mastodon?)
{
"@context": [
"https://join-lemmy.org/context.json",
"https://www.w3.org/ns/activitystreams"
],
"actor": "https://endlesstalk.org/c/piefed",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"object": {
"id": "https://endlesstalk.org/post/28599550",
"actor": "https://endlesstalk.org/u/freamon",
"type": "Page",
"attributedTo": "https://endlesstalk.org/u/freamon",
"to": [
"https://endlesstalk.org/c/piefed",
"https://www.w3.org/ns/activitystreams#Public"
],
"name": "Git repo",
"cc": [],
"mediaType": "text/html",
"attachment": [
{
"href": "https://codeberg.org/rimu/pyfedi",
"type": "Link"
}
],
"image": {
"type": "Image",
"url": "https://endlesstalk.org/pictrs/image/a984ddbc-37fe-4fca-a2a3-c03dc20db3a8.png"
},
"commentsEnabled": true,
"sensitive": false,
"published": "2024-03-22T15:06:31.195880Z",
"language": {
"identifier": "en",
"name": "English"
},
"audience": "https://endlesstalk.org/c/piefed"
},
"cc": [
"https://endlesstalk.org/c/piefed/followers"
],
"type": "Announce",
"id": "https://endlesstalk.org/activities/announce/page/33cacd8c-c81e-4e18-8b54-21aff37d63bd"
}
Announce of Create/Page
{
"@context": [
"https://join-lemmy.org/context.json",
"https://www.w3.org/ns/activitystreams"
],
"actor": "https://endlesstalk.org/c/piefed",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"object": {
"id": "https://endlesstalk.org/activities/create/8920ac25-0074-40dc-bb47-6edb79a370b4",
"actor": "https://endlesstalk.org/u/freamon",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"object": {
"type": "Page",
"id": "https://endlesstalk.org/post/28599550",
"attributedTo": "https://endlesstalk.org/u/freamon",
"to": [
"https://endlesstalk.org/c/piefed",
"https://www.w3.org/ns/activitystreams#Public"
],
"name": "Git repo",
"cc": [],
"mediaType": "text/html",
"attachment": [
{
"href": "https://codeberg.org/rimu/pyfedi",
"type": "Link"
}
],
"image": {
"type": "Image",
"url": "https://endlesstalk.org/pictrs/image/a984ddbc-37fe-4fca-a2a3-c03dc20db3a8.png"
},
"commentsEnabled": true,
"sensitive": false,
"published": "2024-03-22T15:06:31.195880Z",
"language": {
"identifier": "en",
"name": "English"
},
"audience": "https://endlesstalk.org/c/piefed"
},
"cc": [
"https://endlesstalk.org/c/piefed"
],
"type": "Create",
"audience": "https://endlesstalk.org/c/piefed"
},
"cc": [
"https://endlesstalk.org/c/piefed/followers"
],
"type": "Announce",
"id": "https://endlesstalk.org/activities/announce/create/ee64f83d-f542-4268-9521-3ee224fa1e9c"
}
One of the reasons it's inconsistent is that Lemmy tries to balance the media it serves locally vs. the media it lets remote hosts serve. Also it's a bit naïve about image conversion. So if you link to an actual GIF at giphy.com (for example), it works consistently across the most the most platforms if Lemmy leaves it alone. If it doesn't, it'll bring it in and convert it to a WebM file, which not all clients know what to do with. Even if they do though, looping isn't always on by default for video, so the effect of a GIF that relies on looping might be nullified.
It's probably best to focus on the clients with the biggest user-base, rather than try to target them all. For lemmy.world/c/gifs, the most popular posts have been uploaded to imgur.com - which convert most GIFs to MP4s - and the post's author has linked to the inline version at i.imgur.com.
Reply 5 from remote (16:54)
top-level reply