this post was submitted on 16 Jan 2025
479 points (99.0% liked)

Technology

60540 readers
6713 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 8 hours ago (1 children)

I can speak to go, ruby, and PHP: Their libraries for support is per-spec.

Json is pretty great, and sure, if someone wants to make RSS2, using JSON, that'd be fine. But, RSS came long before JSON was even an idea, and XML was the only way we figured out.

RSS's format is, in fact, so old, there's been a huge amount of time refining those language's libs to support RSS just dandy. You never even need to look at the XML.

[–] moseschrute 1 points 2 hours ago

Idk maybe I'm wrong. I worked for a news outlet for a couple years and I just remember generating and parsing XML to be more work then generating a JSON feed.

It's not even just parsing. I just remember crawling the parsed JSON tree to not be as nice as navigating a JSON object.