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

Another OpenAPI tool crashes and burns

Technical Discussion
1 1 13

Gli ultimi otto messaggi ricevuti dalla Federazione
  • 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

  • @reiver Markdown or its subset is supported by almost every platform except Mastodon.
    But PeerTube is the only software I know that puts markdown in content instead of HTML.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    3 Views
    I'm against banning social media for under 16's. Just outright banning doesn't make something unavailable - just unregulated and not monitored. Alcohol and vapes are still common among under 16's - especial those that are vulnerable. I am for under 16's not being allowed on corporate socials though - as they are toxic places which do provably screw with brain development in youth - because of that algorithmic nature. I am considering pitching an idea to a local established non-profit that I sometimes work with, who run a number of local youth clubs across the region. It is an idea of setting up a fediverse instance for 11-15 year olds. An account can only be made in person alongside being a member of a youth club -with parent / guardian consent. It will not be federated to the general social web, and begin as a self-contained bubble - but with the idea of other regions creating the same thing and federating together. It would be moderated by the same volunteers / employees that run the youth clubs and social services - who are fully vetted, and follow the protocols - which already also includes moderating each other. Perhaps even somehow make it so the kids can't post on it during school hours, and after, perhaps, 10pm? There would of course be a set of standards expectations, or community codes of conduct, like here in the Fedi. Perhaps also running regular fun things too, that get kids thinking creatively (like what happens at the clubs anyway). There are of course many many issues with this idea, and I can't see it actually happening just like that. Not only is there unlikely the right fedi project to accommodate needs, but things like the online safety act potentially blocking the ability to create safe community based social networks for youth. And I'm sure there are many other issues as to why this idea might not work either. Like, what happens when someone turns 16? Are they just kicked off? However, I do know that corporate socials are bad - but not providing good safe alternatives when attempting to protect children, actually makes them more vulnerable and unsafe. We need a way to embrace them, not outcast them.#socialban #socialmedia #fediverse #activitypub #youthwork #onlinesafety
  • 1 Votes
    1 Posts
    5 Views
    I've improved federation support for Lemmy and other servers that support FEP-1b12 Group Federation.I had to increase the number of available file descriptors on my personal server 4x because of the resultant inbound volume of ActivityPub activities! I liked a federated post and DOSed my server.#ktistec #activitypub #fediverse
  • 0 Votes
    10 Posts
    28 Views
    @juergen @nick @crossgolf_rebel @roblen wir hatten vor ein paar monaten mal ein problem mit vereinzelten posts die nicht veröffenticht wurden und haben das an den umlauten in den tags fest gemacht... vielleicht ist es zeit das nochmal zu verifizieren...
  • 0 Votes
    1 Posts
    8 Views
    Alguém aqui conhece algum editor da @wikimediafoundation ?Quero editar o artigo sobre o #activitypub em #ptbr, ele está MUITO POBRE