Created
March 27, 2012 19:41
-
-
Save heymatthenry/2219614 to your computer and use it in GitHub Desktop.
Schema for data returned from feed API
This file contains hidden or 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
| { | |
| "feed" : { | |
| "title" : "The feed's name", | |
| "items" : [{ | |
| "author" : "Author's name", | |
| "content" : "The full text/html content of the feed item", | |
| "description" : "Item synopsis", | |
| "media" : { | |
| "type" : "The MIME type of the media item", | |
| "url" : "URL for media resource", | |
| "thumbnail" : "URL for thumbail", | |
| "bitrate" : 'Numerical bitrate', | |
| "duration" : 'Numerical duration', | |
| "fileSize" : 'Numerical filesize', | |
| "height" : 'Numerical height', | |
| "width": "Numerical width" | |
| }, | |
| "link" : "URL of the item", | |
| "pubDate" : "date the item was published", | |
| "title" : "String containing the article's title" | |
| }] | |
| } | |
| } |
Author
I think this covers all of the MRSS properties they use. I replaced "enclosure" with "media" which can do double duty keying off of the type property.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How would an MRSS feed with video be represented?