• moseschrute@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    17 hours ago

    I get that the idea of rss is sort of a universal protocol for publishing articles, which is really cool, but damnit if you make me parse XML in 2025. As a developer, I would be ok if they modernized RSS feeds.

    Something like this

    • ubergeek@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      There’s very robust libraries for most every language that can parse rss for you easily.

      • moseschrute@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        7 hours ago

        But a lot of languages have native support for parsing JSON without the need for a library. When it’s handled by the language, it’s more likely to be done to spec, doesn’t increase bundle size (if that matters to you), and will be considered as updates to the language are made.

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