что за болезненная тяга постить в мастодон?есть же pixelfed-инстанцы, спецом для постинга картинок. закинул туда, а мастодон-аккаунте форварднул/расшарил/забустил.
«Join to enjoy: - 200GB»
ну если pixelfed действительно портит картинки, тогда предпочёл бы хостить их на каком-то S3-хранилище, вставляя в посты через ссылку и тэги/разметку.
вставляя в посты через ссылку и тэги/разметку.
![Alt text](https://assets.digitalocean.com/articles/alligator/boo.svg "a title")
![Alt text](https://aaa.bbb/ccc.jpeg "a title")
да у qoto.org есть функциональные изменения в серваке, но таким изменением веб-морды, которые из этого вытекали.
так же есть две веб-морды разных для мастодона + одна дополнительная у плеромы.
<img style="max-width: 100%;" src="https://images.weserv.nl/?n=-1&il&url=https://calckey.dvd.moe/file/dvd-calckey/dvd-calckey/c56f62a3-d976-4034-a2f1-6f5358b37663.jpg" alt="Image/photo" loading="eager">
Frontends:• Pleroma FE• Mastodon FE
{ "@context": ["https://www.w3.org/ns/activitystreams", {"@language": "en"}], "type": "Note", "id": "http://postparty.example/p/2415", "content": "<p>I <em>really</em> like strawberries!</p>", "source": { "content": "I *really* like strawberries!", "mediaType": "text/markdown"}}
"content": "<p>I <em>really</em> like strawberries!</p>",
"source": { "content": "I *really* like strawberries!", "mediaType": "text/markdown"}
ActivityPub extends the Object by supplying the source property. The source property is intended to convey some sort of source from which the content markup was derived, as a form of provenance, or to support future editing by clients.Alyssa P. Hacker likes to post to her ActivityPub powered blog via an Emacs client she has written, leveraging Org mode. Later she switches to editing on her phone’s client, which has no idea what text/x-org is or how to render it to HTML, so it provides a text box to edit the original content instead.
Please be aware that most of the toot formatting will be stripped by mainline Mastodon, which may lead to the meaning of your toots being altered.
"@context": ["https://www.w3.org/ns/activitystreams", {"@language": "en"}], "type": "Note", "id": "http://postparty.example/p/2415", "content": "<p>I <em>really</em> like strawberries!</p>", "source": { "content": "<p>I <em>really</em> like strawberries!</p>", "mediaType": "text/html"}
где пишешь
какой JSON фомируется в плане ActivityPub?
> «При нажатии кнопки «изменить» в поле ввода попадает исходный html.»
<img src="images/username_t.png" />
<div id="pic"></div>...#pic { background-image: url('images/username_t.png'); display: inline-block; width: 100px; height: 100px;}