spec/fixtures/youtube_multi.json in bremen-0.1.1 vs spec/fixtures/youtube_multi.json in bremen-0.1.2
- old
+ new
@@ -1,193 +1,193 @@
{
"encoding": "UTF-8",
"feed": {
"author": [
- {
- "name": {
- "$t": "YouTube"
- },
- "uri": {
- "$t": "http://www.youtube.com/"
+ {
+ "name": {
+ "$t": "YouTube"
+ },
+ "uri": {
+ "$t": "http://www.youtube.com/"
+ }
}
- }
],
- "category": [
+ "category": [
{
"scheme": "http://schemas.google.com/g/2005#kind",
"term": "http://gdata.youtube.com/schemas/2007#video"
}
],
- "entry": [
+ "entry": [
{
"author": [
- {
- "name": {
- "$t": "Author"
- },
- "uri": {
- "$t": "http://gdata.youtube.com/feeds/api/users/Author"
+ {
+ "name": {
+ "$t": "Author"
+ },
+ "uri": {
+ "$t": "http://gdata.youtube.com/feeds/api/users/Author"
+ }
}
- }
],
- "category": [
+ "category": [
{
"scheme": "http://schemas.google.com/g/2005#kind",
"term": "http://gdata.youtube.com/schemas/2007#video"
},
{
"label": "Music",
"scheme": "http://gdata.youtube.com/schemas/2007/categories.cat",
"term": "Music"
}
],
- "content": {
- "$t": "This is a description.",
- "type": "text"
- },
- "gd$comments": {
- "gd$feedLink": {
- "countHint": 0,
- "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX/comments",
- "rel": "http://gdata.youtube.com/schemas/2007#comments"
- }
- },
- "id": {
- "$t": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX"
- },
- "link": [
+ "content": {
+ "$t": "This is a description.",
+ "type": "text"
+ },
+ "gd$comments": {
+ "gd$feedLink": {
+ "countHint": 0,
+ "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX/comments",
+ "rel": "http://gdata.youtube.com/schemas/2007#comments"
+ }
+ },
+ "id": {
+ "$t": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX"
+ },
+ "link": [
+ {
+ "href": "http://www.youtube.com/watch?v=XXXXXXXXXXX&feature=youtube_gdata",
+ "rel": "alternate",
+ "type": "text/html"
+ },
+ {
+ "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX/responses",
+ "rel": "http://gdata.youtube.com/schemas/2007#video.responses",
+ "type": "application/atom+xml"
+ },
+ {
+ "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX/related",
+ "rel": "http://gdata.youtube.com/schemas/2007#video.related",
+ "type": "application/atom+xml"
+ },
+ {
+ "href": "http://m.youtube.com/details?v=XXXXXXXXXXX",
+ "rel": "http://gdata.youtube.com/schemas/2007#mobile",
+ "type": "text/html"
+ },
+ {
+ "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX",
+ "rel": "self",
+ "type": "application/atom+xml"
+ }
+ ],
+ "media$group": {
+ "media$category": [
{
- "href": "http://www.youtube.com/watch?v=XXXXXXXXXXX&feature=youtube_gdata",
- "rel": "alternate",
- "type": "text/html"
- },
+ "$t": "Music",
+ "label": "Music",
+ "scheme": "http://gdata.youtube.com/schemas/2007/categories.cat"
+ }
+ ],
+ "media$content": [
{
- "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX/responses",
- "rel": "http://gdata.youtube.com/schemas/2007#video.responses",
- "type": "application/atom+xml"
+ "duration": 308,
+ "expression": "full",
+ "isDefault": "true",
+ "medium": "video",
+ "type": "application/x-shockwave-flash",
+ "url": "http://www.youtube.com/v/XXXXXXXXXXX?version=3&f=videos&app=youtube_gdata",
+ "yt$format": 5
},
{
- "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX/related",
- "rel": "http://gdata.youtube.com/schemas/2007#video.related",
- "type": "application/atom+xml"
+ "duration": 308,
+ "expression": "full",
+ "medium": "video",
+ "type": "video/3gpp",
+ "url": "rtsp://v8.cache4.c.youtube.com/CiILENy73wIaGQn8RbFfqUC_OxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp",
+ "yt$format": 1
},
{
- "href": "http://m.youtube.com/details?v=XXXXXXXXXXX",
- "rel": "http://gdata.youtube.com/schemas/2007#mobile",
- "type": "text/html"
- },
+ "duration": 308,
+ "expression": "full",
+ "medium": "video",
+ "type": "video/3gpp",
+ "url": "rtsp://v1.cache7.c.youtube.com/CiILENy73wIaGQn8RbFfqUC_OxMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp",
+ "yt$format": 6
+ }
+ ],
+ "media$description": {
+ "$t": "This is a description.",
+ "type": "plain"
+ },
+ "media$keywords": {},
+ "media$player": [
{
- "href": "http://gdata.youtube.com/feeds/api/videos/XXXXXXXXXXX",
- "rel": "self",
- "type": "application/atom+xml"
+ "url": "http://www.youtube.com/watch?v=XXXXXXXXXXX&feature=youtube_gdata_player"
}
],
- "media$group": {
- "media$category": [
- {
- "$t": "Music",
- "label": "Music",
- "scheme": "http://gdata.youtube.com/schemas/2007/categories.cat"
- }
- ],
- "media$content": [
- {
- "duration": 308,
- "expression": "full",
- "isDefault": "true",
- "medium": "video",
- "type": "application/x-shockwave-flash",
- "url": "http://www.youtube.com/v/XXXXXXXXXXX?version=3&f=videos&app=youtube_gdata",
- "yt$format": 5
- },
- {
- "duration": 308,
- "expression": "full",
- "medium": "video",
- "type": "video/3gpp",
- "url": "rtsp://v8.cache4.c.youtube.com/CiILENy73wIaGQn8RbFfqUC_OxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp",
- "yt$format": 1
- },
- {
- "duration": 308,
- "expression": "full",
- "medium": "video",
- "type": "video/3gpp",
- "url": "rtsp://v1.cache7.c.youtube.com/CiILENy73wIaGQn8RbFfqUC_OxMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp",
- "yt$format": 6
- }
- ],
- "media$description": {
- "$t": "This is a description.",
- "type": "plain"
- },
- "media$keywords": {},
- "media$player": [
- {
- "url": "http://www.youtube.com/watch?v=XXXXXXXXXXX&feature=youtube_gdata_player"
- }
- ],
- "media$thumbnail": [
- {
- "height": 360,
- "time": "00:02:34",
- "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/0.jpg",
- "width": 480
- },
- {
- "height": 90,
- "time": "00:01:17",
- "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/1.jpg",
- "width": 120
- },
- {
- "height": 90,
- "time": "00:02:34",
- "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/2.jpg",
- "width": 120
- },
- {
- "height": 90,
- "time": "00:03:51",
- "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/3.jpg",
- "width": 120
- }
- ],
- "media$title": {
- "$t": "Title",
- "type": "plain"
- },
- "yt$duration": {
- "seconds": "308"
- }
+ "media$thumbnail": [
+ {
+ "height": 360,
+ "time": "00:02:34",
+ "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/0.jpg",
+ "width": 480
},
- "published": {
- "$t": "2012-01-01T00:50:00.000Z"
+ {
+ "height": 90,
+ "time": "00:01:17",
+ "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/1.jpg",
+ "width": 120
},
- "title": {
- "$t": "Title",
- "type": "text"
+ {
+ "height": 90,
+ "time": "00:02:34",
+ "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/2.jpg",
+ "width": 120
},
- "updated": {
- "$t": "2012-01-01T00:50:00.000Z"
- },
- "yt$hd": {},
- "yt$statistics": {
- "favoriteCount": "0",
- "viewCount": "1"
+ {
+ "height": 90,
+ "time": "00:03:51",
+ "url": "http://i.ytimg.com/vi/XXXXXXXXXXX/3.jpg",
+ "width": 120
}
- }
- ],
- "generator": {
- "$t": "YouTube data API",
- "uri": "http://gdata.youtube.com",
- "version": "2.1"
+ ],
+ "media$title": {
+ "$t": "Title",
+ "type": "plain"
+ },
+ "yt$duration": {
+ "seconds": "308"
+ }
},
- "id": {
- "$t": "http://gdata.youtube.com/feeds/api/videos"
+ "published": {
+ "$t": "2012-01-01T00:50:00.000Z"
},
- "link": [
+ "title": {
+ "$t": "Title",
+ "type": "text"
+ },
+ "updated": {
+ "$t": "2012-01-01T00:50:00.000Z"
+ },
+ "yt$hd": {},
+ "yt$statistics": {
+ "favoriteCount": "0",
+ "viewCount": "1"
+ }
+ }
+ ],
+ "generator": {
+ "$t": "YouTube data API",
+ "uri": "http://gdata.youtube.com",
+ "version": "2.1"
+ },
+ "id": {
+ "$t": "http://gdata.youtube.com/feeds/api/videos"
+ },
+ "link": [
{
"href": "http://www.youtube.com",
"rel": "alternate",
"type": "text/html"
},
@@ -210,32 +210,32 @@
"href": "http://gdata.youtube.com/feeds/api/videos/-/%7Bhttp%3A%2F%2Fgdata.youtube.com%2Fschemas%2F2007%2Fcategories.cat%7DMusic?alt=json&start-index=2&max-results=1&vq=searchword&orderby=published",
"rel": "next",
"type": "application/atom+xml"
}
],
- "logo": {
- "$t": "http://www.youtube.com/img/pic_youtubelogo_123x63.gif"
- },
- "openSearch$itemsPerPage": {
- "$t": 1
- },
- "openSearch$startIndex": {
- "$t": 1
- },
- "openSearch$totalResults": {
- "$t": 1111
- },
- "title": {
- "$t": "Videos matching: searchword",
- "type": "text"
- },
- "updated": {
- "$t": "2012-01-01T00:50:00.000Z"
- },
- "xmlns": "http://www.w3.org/2005/Atom",
- "xmlns$gd": "http://schemas.google.com/g/2005",
- "xmlns$media": "http://search.yahoo.com/mrss/",
- "xmlns$openSearch": "http://a9.com/-/spec/opensearchrss/1.0/",
- "xmlns$yt": "http://gdata.youtube.com/schemas/2007"
+ "logo": {
+ "$t": "http://www.youtube.com/img/pic_youtubelogo_123x63.gif"
+ },
+ "openSearch$itemsPerPage": {
+ "$t": 1
+ },
+ "openSearch$startIndex": {
+ "$t": 1
+ },
+ "openSearch$totalResults": {
+ "$t": 1111
+ },
+ "title": {
+ "$t": "Videos matching: searchword",
+ "type": "text"
+ },
+ "updated": {
+ "$t": "2012-01-01T00:50:00.000Z"
+ },
+ "xmlns": "http://www.w3.org/2005/Atom",
+ "xmlns$gd": "http://schemas.google.com/g/2005",
+ "xmlns$media": "http://search.yahoo.com/mrss/",
+ "xmlns$openSearch": "http://a9.com/-/spec/opensearchrss/1.0/",
+ "xmlns$yt": "http://gdata.youtube.com/schemas/2007"
},
"version": "1.0"
}