-
Notifications
You must be signed in to change notification settings - Fork 54
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
Change media type to application/feed+json #84
Comments
I agree with At some point in time, it had been proposed to standardise Of note here is this article I dug up: https://blog.whatwg.org/feed-autodiscovery
Pragmatically, however: the The consideration of drafting a registration according to RFC6838 is appreciated personally here. Thank you. |
Going to close this but keep #32 open. Thanks! |
The
application/json
media type (formerly ‘MIME type)’ is way too generic. It may cause clients trying to auto-discovery JSONFeeds to fetch several irrelevant JSON documents that may be linked from a document. JSONFeed calls for the introduction of a new media type so clients don’t need to download a ton of other JSON documents in an effort to discover JSONFeeds.I suggest changing to
application/feed+json
(That is: type + underlying structure). Another example of this is type of media type isapplication/ld+json
for the JSON for Linking Data or evenapplication/atom+xml
for Atom syndication feeds.The new auto-discovery protocol would look like this:
This would also allow for HTTP content negotation. Client sends
Accept: application/feed+json,application/atom+xml;q=0.8
, and the server could then negotiate and return JSONfeed.Note that media types should be registered (not required, but grants legitimacy to the standard). The process is defined in RFC 6838.
See also issue #73.
The text was updated successfully, but these errors were encountered: