For consideration: JSON Feed

mailinglists at ngalt.com mailinglists at ngalt.com
Mon Sep 7 01:53:45 BST 2020


I've been seeing people talk about syndication formats how we'd like something a little less annoying than RSS and Atom.

I'd like to suggest JSON Feed as a possible alternative:

https://jsonfeed.org/

Here's the Simple Example from the 1.1 version of the spec:

{
    "version": "https://jsonfeed.org/version/1.1",
    "title": "My Example Feed",
    "home_page_url": "https://example.org/",
    "feed_url": "https://example.org/feed.json",
    "items": [
        {
            "id": "2",
            "content_text": "This is a second item.",
            "url": "https://example.org/second-item"
        },
        {
            "id": "1",
            "content_html": "<p>Hello, world!</p>",
            "url": "https://example.org/initial-post"
        }
    ]
}

Obviously, we generally wouldn't use content_html. We could either use `content_text` or, if we're feeling particularly insular, `_gemini_text` (see the Extensions section of the spec)

Extensions: https://jsonfeed.org/version/1.1#extensions-a-name-extensions-a

I have a hunch that most people here, if not everyone, would prefer a strictly line-based format, but I wanted to suggest this, if only to be sure that we generally _don't_ want something like this.


More information about the Gemini mailing list