Skip to content

Instantly share code, notes, and snippets.

@evansagge
Created May 18, 2010 17:43
Show Gist options
  • Save evansagge/405285 to your computer and use it in GitHub Desktop.
Save evansagge/405285 to your computer and use it in GitHub Desktop.
{
"version"=>"1.0",
"encoding"=>"UTF-8",
"entry"=>{
"xmlns$app"=>"http://www.w3.org/2007/app",
"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",
"gd$etag"=>"W/\"CUEHQ347eCp7ImA9WxFXEk0.\"",
"id"=>{
"$t"=>"tag:youtube.com,2008:video:4IkawuYYsA4"
},
"published"=>{
"$t"=>"2010-05-18T17:27:12.000Z"
},
"updated"=>{
"$t"=>"2010-05-18T17:27:12.000Z"
},
"app$control"=>{
"app$draft"=>{
"$t"=>"yes"
},
"yt$state"=>{
"name"=>"processing"
}
},
"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 uploaded photo"
},
"link"=>[
{
"rel"=>"alternate",
"type"=>"text/html",
"href"=>"http://www.youtube.com/watch?v=4IkawuYYsA4&feature=youtube_gdata"
},
{
"rel"=>"http://gdata.youtube.com/schemas/2007#video.responses",
"type"=>"application/atom+xml",
"href"=>"http://gdata.youtube.com/feeds/api/videos/4IkawuYYsA4/responses?v=2"
},
{
"rel"=>"http://gdata.youtube.com/schemas/2007#video.related",
"type"=>"application/atom+xml",
"href"=>"http://gdata.youtube.com/feeds/api/videos/4IkawuYYsA4/related?v=2"
},
{
"rel"=>"self",
"type"=>"application/atom+xml",
"href"=>"http://gdata.youtube.com/feeds/api/users/infinitelytest/uploads/4IkawuYYsA4?v=2"
}
],
"author"=>[
{
"name"=>{
"$t"=>"infinitelytest"
},
"uri"=>{
"$t"=>"http://gdata.youtube.com/feeds/api/users/infinitelytest"
}
}
],
"yt$accessControl"=>[
{
"action"=>"comment",
"permission"=>"allowed"
},
{
"action"=>"commentVote",
"permission"=>"allowed"
},
{
"action"=>"videoRespond",
"permission"=>"moderated"
},
{
"action"=>"rate",
"permission"=>"allowed"
},
{
"action"=>"embed",
"permission"=>"allowed"
},
{
"action"=>"syndicate",
"permission"=>"allowed"
}
],
"gd$comments"=>{
"gd$feedLink"=>{
"href"=>"http://gdata.youtube.com/feeds/api/videos/4IkawuYYsA4/comments?v=2",
"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/4IkawuYYsA4?f=user_uploads&app=youtube_gdata",
"type"=>"application/x-shockwave-flash",
"medium"=>"video",
"isDefault"=>"true",
"expression"=>"full",
"duration"=>0,
"yt$format"=>5
}
],
"media$credit"=>[
{
"$t"=>"infinitelytest",
"role"=>"uploader",
"scheme"=>"urn:youtube"
}
],
"media$description"=>{
"$t"=>"this is a test photo upload",
"type"=>"plain"
},
"media$keywords"=>{
},
"media$player"=>{
"url"=>"http://www.youtube.com/watch?v=4IkawuYYsA4&feature=youtube_gdata"
},
"media$thumbnail"=>[
{
"url"=>"http://i.ytimg.com/vi/4IkawuYYsA4/default.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:00"
},
{
"url"=>"http://i.ytimg.com/vi/4IkawuYYsA4/2.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:00"
},
{
"url"=>"http://i.ytimg.com/vi/4IkawuYYsA4/1.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:00"
},
{
"url"=>"http://i.ytimg.com/vi/4IkawuYYsA4/3.jpg",
"height"=>90,
"width"=>120,
"time"=>"00:00:00"
},
{
"url"=>"http://i.ytimg.com/vi/4IkawuYYsA4/hqdefault.jpg",
"height"=>360,
"width"=>480
}
],
"media$title"=>{
"$t"=>"test uploaded photo",
"type"=>"plain"
},
"yt$duration"=>{
"seconds"=>"0"
},
"yt$uploaded"=>{
"$t"=>"2010-05-18T17:27:12.000Z"
},
"yt$videoid"=>{
"$t"=>"4IkawuYYsA4"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment