Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more specific MIME-type application/feed+json #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/version/1.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ In future versions, defined keys will always adhere to these rules:

## Suggestions for Publishers

JSON Feed files must be served using the same MIME type — `application/json` — that’s used whenever JSON is served.
JSON Feed files must be served using the MIME type — `application/feed+json`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The should also be removed. In the current sentence it doesn’t make much sense/read well.


The number of items in a feed is unlimited, but practical limits should be observed. A 1MB feed places a burden on feed readers, especially if there are many such feeds. Under 100K is ideal, and 250K is fine. Use your judgment. If you need to provide older items, consider using pagination and `next_url`.

Expand Down Expand Up @@ -209,7 +209,7 @@ On the issue of which URL to use — `url` or `external_url` — when opening a

A web page should include a `link` tag that specifies the location of the JSON Feed. Like this:

<link rel="alternate" title="My Feed" type="application/json" href="https://example.org/feed.json" />
<link rel="alternate" title="My Feed" type="application/feed+json" href="https://example.org/feed.json" />

This is the same as the feed discovery mechanism used for RSS and Atom.

Expand Down