Created
April 28, 2013 19:33
-
-
Save pauricthelodger/5478101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"feeds": [ | |
{ | |
"url": "http://cam.example.com", | |
"type": "image/jpeg", | |
"name": "cam" | |
}, | |
{ | |
"url": "http://cam.example.com", | |
"type": "video/ogg", | |
"name": "stream" | |
}, | |
{ | |
"url": "http://example.com/feed/", | |
"type": "application/rss+xml", | |
"name": "blog" | |
}, | |
{ | |
"url": "https://www.google.com/calendar/ical/example.ics", | |
"type": "text/calendar", | |
"name": "calendar" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let me think about this, I'm not sure if this should be really implemented. Both the clients and the validator/directory need to iterate over the array to find a specific element (when using the filters).
On the other side, it makes it easier to write a validator plugin to validate all the feed mimetypes of the http responses with only few lines of code.