Skip to content

Instantly share code, notes, and snippets.

@evansagge
Created May 18, 2010 18:03
Show Gist options
  • Save evansagge/405306 to your computer and use it in GitHub Desktop.
Save evansagge/405306 to your computer and use it in GitHub Desktop.
{
"version"=>"1.0",
"encoding"=>"UTF-8",
"entry"=>{
"xmlns"=>"http://www.w3.org/2005/Atom",
"xmlns$media"=>"http://search.yahoo.com/mrss/",
"xmlns$gd"=>"http://schemas.google.com/g/2005",
"xmlns$yt"=>"http://gdata.youtube.com/schemas/2007",
"id"=>{
"$t"=>"http://gdata.youtube.com/feeds/api/videos/_tkX8Re7ITA"
},
"published"=>{
"$t"=>"2010-05-18T17:59:45.000Z"
},
"updated"=>{
"$t"=>"2010-05-18T18:00:13.000Z"
},
"category"=>[
{
"scheme"=>"http://schemas.google.com/g/2005#kind",
"term"=>"http://gdata.youtube.com/schemas/2007#video"
},
{
"scheme"=>"http://gdata.youtube.com/schemas/2007/categories.cat",
"term"=>"People",
"label"=>"People & Blogs"
}
],
"title"=>{
"$t"=>"test",
"type"=>"text"
},
"content"=>{
"$t"=>"this is a test video upload",
"type"=>"text"
},
"link"=>[
{
"rel"=>"alternate",
"type"=>"text/html",
"href"=>"http://www.youtube.com/watch?v=_tkX8Re7ITA&feature=youtube_gdata"
},
{
"rel"=>"http://gdata.youtube.com/schemas/2007#video.responses",
"type"=>"application/atom+xml",
"href"=>"http://gdata.youtube.com/feeds/api/videos/_tkX8Re7ITA/responses"
},
{
"rel"=>"http://gdata.youtube.com/schemas/2007#video.related",
"type"=>"application/atom+xml",
"href"=>"http://gdata.youtube.com/feeds/api/videos/_tkX8Re7ITA/related"
},
{
"rel"=>"http://gdata.youtube.com/schemas/2007#mobile",
"type"=>"text/html",
"href"=>"http://m.youtube.com/details?v=_tkX8Re7ITA"
},
{
"rel"=>"self",
"type"=>"application/atom+xml",
"href"=>"http://gdata.youtube.com/feeds/api/users/infinitelytest/uploads/_tkX8Re7ITA"
}
],
"author"=>[
{
"name"=>{
"$t"=>"infinitelytest"
},
"uri"=>{
"$t"=>"http://gdata.youtube.com/feeds/api/users/infinitelytest"
}
}
],
"gd$comments"=>{
"gd$feedLink"=>{
"href"=>"http://gdata.youtube.com/feeds/api/videos/_tkX8Re7ITA/comments",
"countHint"=>0
}
},
"media$group"=>{
"media$category"=>[
{
"$t"=>"People",
"label"=>"People & Blogs",
"scheme"=>"http://gdata.youtube.com/schemas/2007/categories.cat"
}
],
"media$content"=>[
{
"url"=>"http://www.youtube.com/v/_tkX8Re7ITA?f=user_uploads&app=youtube_gdata",
"type"=>"application/x-shockwave-flash",
"medium"=>"video",
"isDefault"=>"true",
"expression"=>"full",
"duration"=>5,
"yt$format"=>5
},
{
"url"=>"rtsp://v7.cache1.c.youtube.com/CigLENy73wIaHwkwIbsX8RfZ_hMYDSANFEgGUgx1c2VyX3VwbG9hZHMM/0/0/0/video.3gp",
"type"=>"video/3gpp",
"medium"=>"video",
"expression"=>"full",
"duration"=>5,
"yt$format"=>1
},
{
"url"=>"rtsp://v4.cache8.c.youtube.com/CigLENy73wIaHwkwIbsX8RfZ_hMYESARFEgGUgx1c2VyX3VwbG9hZHMM/0/0/0/video.3gp",
"type"=>"video/3gpp",
"medium"=>"video",
"expression"=>"full",
"duration"=>5,
"yt$format"=>6
}
],
"media$description"=>{
"$t"=>"this is a test video upload",
"type"=>"plain"
},
"media$keywords"=>{
},
"media$player"=>[
{
"url"=>"http://www.youtube.com/watch?v=_tkX8Re7ITA&feature=youtube_gdata"
}
],
"media$thumbnail"=>[
{
"url"=>"http://i.ytimg.com/vi/_tkX8Re7ITA/2.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:02.500"
},
{
"url"=>"http://i.ytimg.com/vi/_tkX8Re7ITA/1.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:01.250"
},
{
"url"=>"http://i.ytimg.com/vi/_tkX8Re7ITA/3.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:03.750"
},
{
"url"=>"http://i.ytimg.com/vi/_tkX8Re7ITA/0.jpg",
"height"=>240,
"width"=>320,
"time"=>"00:00:02.500"
}
],
"media$title"=>{
"$t"=>"test",
"type"=>"plain"
},
"yt$duration"=>{
"seconds"=>"5"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment