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

How many Fediverse software use Markdown as its default text format — rather than HTML?

Technical Discussion
14 11 0

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
    6 Views
    I've gone live!Fireside Fedi - Episode 64 - Jo Blakely - Artist (Oil, Acrylic, Digital)#owncast #streaming #interview #fediverse #fedi #people #show #firesidefedi #FsFhttps://stream.firesidefedi.live
  • 0 Votes
    1 Posts
    8 Views
    Now witness the power of this fully operational Fediverse!https://shkspr.mobi/blog/2025/11/now-witness-the-power-of-this-fully-operational-fediverse/How can you measure the popularity of a social network site? Perhaps by counting the number of active accounts, or the quality of the discourse, or even how many people reply to your witty memes.Me? I prefer to look at how many people visit my blog from each site. It is an imperfect measure - and a vain one - but lets me know where I should be spending my time. No point posting on a network which is just bots talking to each other, right?Earlier this year I built a stats-counter for my blog. Every time someone clicks from a website which links to my blog, it records that visit in a database. I get to see which blog posts are doing numbers, and where those numbers came from.Until fairly recently, the Mastodon social network didn't send referer details. I thought that reduced the visibility of the network and lobbied for it to change. As various Mastodon servers upgrade, and admins opt-in, it is becoming more apparent just how much traffic originates from the Fediverse.Over the last few weeks, here's how many people have clicked from BlueSky and Mastodon to one of my blog posts.TotalSource1,607bsky.app752mastodon.socialAt first glance, it doesn't look good for our elephantine friends, does it? The butterfly sends over twice the traffic. Game over!But, of course, while Mastodon.social is the biggest instance - it is far from the only one. What happens if we slide down the long tail? Here's all the Mastodon-ish instances which sent me over 10 clicks.TotalSource193phanpy.social120 android-app://org.joinmastodon.android/106infosec.exchange62mas.to59mstdn.social55social.vivaldi.net49wandering.shop48fosstodon.org33mathstodon.xyz27mastodon.online26mastodon.scot24app.wafrn.net19indieweb.social18social.lol17tech.lgbt17toot.wales16en.osm.town16feditrends.com14mstdn.ca14piefed.social12wetdry.world11c.im11mastodon.nl51 Sites sending < 10 clicksAh! Add them all up and you get a grand total of 1,773 visitors from Mastodon-powered sites. That's more than BlueSky.Now, there are some obvious caveats to the data:I have a smaller follower count on BlueSky than I do on Mastodon.My posts may appeal more to one demographic than another.People may have strict privacy controls which suppress the true volume of visitors.There's no way to measure how long someone spends reading my posts.RSS and newsletter visitors aren't counted.Clicks from apps may not always show a referer.Some people may be on multiple services.Fediverse users can follow the post directly, so don't need to visit the site to read it.And yet… no matter how you slice it, Fediverse servers are sending as much traffic as BlueSky!I think this is brilliant. Web services should be able to scale from small to big - and each ActivityPub-powered site helps power the open Internet.Just for completeness, this is how Reddit, Facebook, LinkedIn, Twitter, and Lemmy do over the same period:TotalSource1,158reddit.com585 android-app://com.reddit.frontpage/76facebook.com76https://old.reddit.com/r/programming/56https://www.reddit.com/r/programming/52youtube.com41t.co38https://old.reddit.com/r/todayilearned/comments/1nsw7f4/til_in_mongolia_instead_of_a_street_address_a/31linkedin.com27 android-app://io.syncapps.lemmy_sync/27https://www.reddit.com/r/todayilearned/comments/1nsw7f4/til_in_mongolia_instead_of_a_street_address_a/22https://old.reddit.com/r/programming/comments/1n96ftn/40_years_later_are_bentleys_programming_pearls/22lemmy.ca17 android-app://com.linkedin.android/16lemmy.dbzer0.com14feddit.org11https://www.reddit.com/r/programming/comments/1n96ftn/40_years_later_are_bentleys_programming_pearls/10discuss.tchncs.de10l.instagram.com8lemmy.blahaj.zone6https://www.reddit.com/r/GrapheneOS/comments/1m2l84b/considering_making_the_switch_does_google_pay/6reddthat.comIf you add up all the Lemmy instances, they send about as much traffic as Facebook and LinkedIn combined. That's not a huge surprise - those platforms hate anyone clicking away to the wider web.Twitter is basically the Dead Internet. I'm no longer on there, but I do occasionally search it to see who is sharing my posts. The popular posts I write get shared a lot - sometimes by accounts with huge followers - yet there are no comments or retweets and barely and clicks.I don't do Instagram or Threads, and that might be reflected in their low numbers. But I'm not active on YouTube either - yet people there occasionally link back to me.Final ThoughtsFirstly, my stats only represent my site. Your site might be very different.Secondly, I've ignored search engine traffic, big blogs, newsletters, and other sources.Thirdly, and most importantly, this isn't a competition! The desire for a "winner-takes-all" service is dangerous and disturbing. An ecosystem is at its most vibrant when there are multiple participants each thriving in their own niche.I want a thousand sites, running a hundred different software stacks, some of which only serve a dozen people, or even a lone participant.Diversity is strength.#activitypub #bluesky #fediverse #mastodon #statistics
  • 0 Votes
    2 Posts
    14 Views
    YOU KNOW WHAT IS SCARY, BEING DISABLED AND EXISTING IN POVERTY! PEOPLE I NEED HELP, AND I AM BEGGING FOR YOUR COMPASSION AND SUPPORTI Would Like To Thank You In Advance For Your Compassion And Generous Contribution Today!This #disabled man existing in #poverty has no means to take care of himself, it sure would be nice if today everyone on the #fediverse could help me raise at the least my current need of $3,693, I am begging for help so that I can live, food, rent, clothing, personal hygiene ect, Every dollar matters. Every share matters. Every act of compassion matters.• CashApp: $woctxphotog• PayPal: paypal.com/donate?campaign_id=…#MutualAid, #Disabled, #Poverty, #Help, #Survival, #Compassion, #Food, #Groceries, #Hygiene, #Dignity,
  • 0 Votes
    6 Posts
    27 Views
    In general that's a good idea because you should never trust content coming from somewhere else (even in an S2S context) For reference, NodeBB literally sanitizes the bejeezus out of what it gets from anywhere. All classes are removed, all attributes are removed. I want it as close to semantic HTML as possible, and classes/attributes mean absolutely nothing because: I don't use the same CSS classes Attributes may not follow my own rules for when and where they are added. For example, Mastodon messes with any URL it federates out. It chops the anchor text in half, hides the rest behind invisible or something, and adds an ellipsis. invisible does something different in NodeBB, so there is a CSS conflict here. I strip everything and just show the URL as it was intended.