Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Returning objects in a collection vs. IDs

Technical Discussion
27 6 190

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @helge

    >used by Mastodon

    They are changing it: https://github.com/mastodon/mastodon/pull/30354

    read more

  • I think the wrapping in <p> is just plain good practice because otherwise rendered content could be injected somewhere resulting in invalid HTML.

    Not that browsers ever reject bad HTML anyway heh</p>

    read more

  • @helge @reiver

    >Can you explain what goes on in mitra?

    When mediaType is text/markdown, the entire content is wrapped in a <p> tag. This was done for compatibility with PeerTube. I think <p> was needed to create a space between the title (name) and the content, since title is prepended to content in Mitra (also a compatibility hack -- for Mastodon API clients).

    read more

  • I'd generally discourage RFC7591 in decentralized systems due to the fact that it creates client sprawl (this is currently a problem with Mastodon's client registration mechanism, which is why we created CIMDs) — every client in RFC7591 is a distinct client, with its own client_id and client_secret, which can make client management interfaces difficult to implement (e.g., every time you login on a mobile device or SPA, you'll get a brand new client_id). CIMDs solve this by anchoring client metadata to a URI, and using that URI as the client_id.

    If you need to test clients using CIMDs in development, there is cimd-service however, it's currently targeting the AT Protocol ecosystem (so has a few specifics that at present there that would not necessarily make sense of ActivityPub)

    read more

  • Speaking of handling markdown. I created funfedi.dev Media Types a while ago (and just added it to the navigation). I lost interest when I saw that nobody properly handled the mediaType attribute of a note. Not that I know what I expected.

    Can you explain what goes on in mitra? When mediaType is text/markdown. It changes __bold__ to <p>__bold__</p>, otherwise no paragraph tags. I'm pretty sure, I was once told to use __ for bold and * for emphasize. So my markdown should be good.

    Full example ... input activity -> mitra api response

    Final note: I am not sure what I would want a proper data format to do. I find the solution of W3C ActivityPub (not W3C ActivityStreams) proposes of putting HTML in content and adding source with the original, from which the HTML was generated ok. Of course, this leaves the existence of the summary and name field superfluous.

    read more

  • @reiver@mastodon.social add in NodeBB as well. Markdown first, and probably HTML too, although it will probably be sanitized to death on the way out.

    read more

  • @mariusor that's too bad. All I have left is mussels, French fries, large-scale bureaucracy, and peeing statues.

    read more

  • @reiver uses Markdown by default too, but of course sends out HTML to the fediverse

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    6 Views
    Week in Fediverse 2025-12-12Servers- Wafrn v2025.11.02- Gush! v0.0.27- stegodon v1.4.0- Akkoma v2025.12- Mastodon v4.5.3- PeerTube v8.0- Lemmy v0.19.14- Ktistec v3.2.3- Misskey v2025.12.0- NeoDB v0.12.5- Vernissage Server v1.26.0- flohmarkt v0.14.0- shops v0.1.8- Trunk & Tidbits, November 2025 (Mastodon)Clients- Pachli v3.2.4- Mastodon for iOS v2025.09- Interstellar v0.11.0- Chihu v1.16.0Tools and Plugins- PeerTube livechat plugin v14.0.2- FediFetcher v7.1.17- Poduptime v5.6.2For developers- Library progress report #3 (GoActivityPub)Articles- Why don't recommend to implement ActivityPub from scratch- Fediverse Report – #146-----#WeekInFediverse #Fediverse #ActivityPubPrevious edition: https://mitra.social/objects/019af042-e877-53d8-b10f-999a2fe9147d
  • 0 Votes
    1 Posts
    0 Views
    Come migliorare la gestione degli eventi nel fediverso?André Menrath parla del lavoro che ha fatto: una proposta di miglioria del fediverso FEP-8a8e per permettere a Gancio e ad altri software di comunicare meglio.Video: https://vimeo.com/showcase/11927245?video=1137648835FEP: https://codeberg.org/fediverse/fep/src/branch/main/fep/8a8e/fep-8a8e.mdSe conoscete sviluppatori di Gancio fategli leggere la specifica! @fediverso@feddit.it @fediverso@diggita.com #gancio #fep
  • 0 Votes
    4 Posts
    6 Views
    @julian yes, I suspect this to be an issue on the Mastodon side.
  • 0 Votes
    1 Posts
    20 Views
    How to Install #Pixelfed on #Ubuntu VPS (8 Step Quick-Start Guide) This article provides a guide for how to install Pixelfed on Ubuntu VPS.What is Pixelfed?PixelFed is a decentralized, open-source photo-sharing platform similar to Instagram but built on the #Fediverse (federated social networks using the #ActivityPub protocol). It allows users to host their own instances and interact with users across ...Continued 👉 https://blog.radwebhosting.com/how-to-install-pixelfed-on-ubuntu-vps/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #selfhosting #selfhosted #vpsguide #installguide