-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Suggest alternate media type. #32
base: master
Are you sure you want to change the base?
Conversation
https://tools.ietf.org/html/rfc6839#section-3.1 encourages you to use |
this seems to be related to #84. |
any reason this hasn't been merged yet or discussed more? I just got tripped up on this building a reader. |
To give some examples of collisions, these WordPress-based sites have Example:
|
Could this thing be a w3c standard? |
Its possible, but its a rigorous process to go through getting something to be a w3c recommendation, and I don't know what working group is currently open that would be interested in taking this on now that the social web working group has closed. |
It's dead simple to register a media type via the IETF, assuming Brent
wants to adopt the idea.
…On Tue, May 1, 2018, 5:20 PM Ben Roberts, ***@***.***> wrote:
Its possible, but its a rigorous process to go through getting something
to be a w3c recommendation, and I don't know what working group is
currently open that would be interested in taking this on now that the
social web working group has closed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABEk1wcyqVIevZxBOtudMy2t3QkhzPWks5tuPvcgaJpZM4NfzEU>
.
|
just to be clear: deciding on defining/registering a media type, and deciding on possible standardization groups for JSONFeed are two different and independent things. the former is much easier than the latter. like @timbray, i also volunteer to add the necessary text to the spec, if that's what's wanted. i think it would be a good idea to have a media type for people to label things in a unique and well-defined way. |
This is causing problems for me again. I had someone ask why my reader thought there was a json feed at a Twitter URL. It turns out Twitter still advertises an oembed link with alternate rel=application/json, so my software has no way to know that's not actually a JSONFeed. We really need something unique to JSONFeed so this doesn't happen. |
Could we register it on behalf of the spec? |
It sounds like there was consensus around using |
Why not start contacting them? |
Any progress on this? The spec needs to define a content type for there to be any progress on clients and deployments. |
Good to see this was already discussed, otherwise I was about to open a new issue to suggest using the very same I'm actually giving the advice already for people using my Hugo Web Feeds theme. Sending |
@brentsimmons @manton: Can we please get some leadership here? This ticket has been open for more than 2 years. |
I'm still good with updating the spec to reflect this. I think we need to add something to mention that clients should still look for |
Did we register the type? |
Yes. That’s what the Content-Type response header communicates. Feed readers use the Accept header to communicate their media type preferences to servers. E.g.: However, clients should support less specific content types. for compatibility E.g. going from more specific to less specific: Atom and RSS feeds have similar media type specificity requirements, e.g.: However, the most specific media type should always be used for the feed auto-discovery mechanism. E.g. It’s how clients can tell the difference between these three files:
|
I'm finally following up on this. Thanks @timbray for starting this, and everyone for your thoughts. Here's what I have for the application to register Type Name: application |
This registration is currently stalled because IANA would like it to be submitted on behalf of a recognized standards organization or with an independent-stream RFC. We are exploring both those options, but I'm happy to hear other suggestions for how to move forward. |
This is done in 1.1. Can be closed. |
After 4 years, the type has still not been registered, and even jsonfeed.org itself doesn't use it? |
We should update the feeds, thanks. Unfortunately the registration of the type is still stalled. Not much has happened since my comment above a few years ago. I'd love to dust this off and make sure it's formalized. |
Why shouldn't this thing have its own media type? If you're sticking it in your HTML header with
<link rel='alternate' type='application/json'
Then it's going to make it harder to discover the feed, because you might have multiple alternate JSON representations, things like Rails make it super easy to get either HTML or JSON from the same endpoint.
I look in my current blog header and see
<link rel='alternate' type='application/atom+xml'
So by analogy, I think application/feed+json would be better. It makes it dead easy for Feedly or whatever to figure out what to do, given the URL of my blog. If you want to do this, I'll even volunteer to register the media type, it's not rocket science.