• ubergeek
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    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@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      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.