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 189

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
    4 Views
    5 Fediverse sites have been hacked due to running outdated software.Please take a moment to ensure that your instance of Mastodon, Misskey, PeerTube, PixelFed, or any other Fediverse platform is fully up-to-date.It may also be wise to log into your server and update your operating system.Debian / Ubuntu servers:sudo apt updatesudo apt dist-upgradesudo rebootFedora / CentOS / Red Hat / Alma Linux:sudo dnf update --refreshsudo dnf upgradesudo rebootIf you update your OS, your server will be briefly offline during the reboot. If you have not configured your web services — including your Fediverse service — to start automatically on boot, you may need to start them manually afterward.Always make a backup before performing upgrades.If any of this is confusing or feels overwhelming, you should reconsider whether you want to be a server administrator. This is not meant as an insult. It’s great that you wanted to contribute to the Fediverse, but you may be better off participating as a user rather than an admin. People depend on you to keep services running smoothly, and that requires knowing how to maintain your system safely and correctly.#Fediverse #ActivityPub #Mastodon #Misskey #PixelFed #PeerTube #Sharkey #Loops #Akkoma #Pleroma #Mbin #Lemmy #InfoSec #Security #Hack #Foss #OpenSource #Linux
  • 0 Votes
    1 Posts
    8 Views
    Guest?
    Das ActivityPub Plugin – Eine Bridge zu BlueskySeit der Version 7.2 des ActivityPub Plugins ist es möglich mit dem Blogprofil anderen Accounts im Fediverse zu folgen. (Eine sehr ausführliche Anleitung zur den Funktionen des AktivityPub Plugins findest du hier.)Eine Art Dashboard zum Lesen und Reagieren auf die geteilten Beiträge dieser Accounts fehlt noch.Dennoch kann diese Funktion auch jetzt bereits einen Nutzen bringen und zwar in […]https://bunte-kuechenabenteuer.de/b/5Rm#ActivityPub #ActivityPubPlugin #Blogbeitrag #Blogger #Bluesky #bridge #Foodblog #Wordpress
  • 0 Votes
    2 Posts
    14 Views
    @blainsmith nice.
  • 0 Votes
    1 Posts
    13 Views
    Hello #Fediverse and Happy New Year!I'd like to mark the start of 2025 with the first message from my self-hosted instance. You may already know me as @_elena@mastodon.social. Well, now I also run my own #ActivityPub microblogging server, thanks to the magic of #YunoHost and #GoToSocial (and #Phanpy, which I'm using to compose this).I registered this domain – aseachange.com – a looooong time ago but never did anything with it. It was the very first domain name I ever bought, even before securing elenarossini.com (!!!). It was so long ago, but I remember I was inspired by Beck's album Sea Change. seachange[dot]com was taken, so I grabbed Aseachange.I absolutely love its meaning of profound transformation and I think it's PERFECT for my self-hosted #Fediverse instance and what it represents: independence, empowerment and digital sovereignty.Ever since setting it up, I've been feeling joyful and hopeful. Everytime I look at myself in the mirror, I think: I'm in control of my own social media platform. And it feels SOOO GOOD.What do I have in store for 2025? I plan to use this account to post messages about #selfhosting, learning #Linux, privacy and digital sovereignty.I will also keep posting from my Mastodon account because you don't give a Lamborghini to someone who just passed their driver's license. I barely know what I'm doing here, so I feel a lot safer (for now) keeping my mastodon.social account as well... In case anything goes wrong here. Better safe than sorry!So, this is my #Introduction and if you've read as far as here I just want to thank the Fediverse for being so amazing and allowing me to connect with people on my own terms. And thank you Fedi people for being so generous and supportive with your superb advice and kind words.This is a really magical, special place.Happy New Year, everyone!