youtube call 5 - Get videoFeed(video_id)


/ Published in: Bash
Save to your folder(s)

call for the feed using the video_id and get the xml response. see "yt:status"


Copy this code and paste it in your HTML
  1. http://gdata.youtube.com/feeds/api/videos/qPznjRKcM7Y
  2.  
  3. <entry>
  4. −
  5. <id>
  6. http://gdata.youtube.com/feeds/api/videos/qPznjRKcM7Y
  7. </id>
  8. <published>2009-07-31T09:45:17.000Z</published>
  9. <updated>2009-08-06T13:07:11.000Z</updated>
  10. −
  11. <app:control>
  12. −
  13. <yt:state name="restricted" reasonCode="limitedSyndication">
  14. Syndication of this video was restricted by its owner.
  15. </yt:state>
  16. </app:control>
  17. <category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#video"/>
  18. <category scheme="http://gdata.youtube.com/schemas/2007/categories.cat" term="Sports" label="Sports"/>
  19. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="After+the+Flag"/>
  20. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="MotoGP"/>
  21. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Jorge+Lorenzo"/>
  22. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Valentino+Rossi"/>
  23. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Colin+Edwards"/>
  24. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Andrea+Dovizioso"/>
  25. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Randy+de+Puniet"/>
  26. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Repsol+Honda"/>
  27. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Fiat+Yamaha"/>
  28. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Casey+Stoner"/>
  29. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Ducati+Marlboro"/>
  30. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Donington+Park"/>
  31. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="Great+Britain"/>
  32. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="motorcycle"/>
  33. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="road+racing"/>
  34. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="motograndprix"/>
  35. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="motorcycles"/>
  36. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="bike"/>
  37. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="speed"/>
  38. <category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="crash"/>
  39. <title type="text">After the Flag at the British Grand Prix</title>
  40. −
  41. <content type="text">
  42. The seventh edition of After the Flag for 2009, the official MotoGP Video Podcast is brought to you by host Gavin Emmett from Donington Park after the British Grand Prix was held at the East Midlands circuit for the last time.
  43. </content>
  44. <link rel="alternate" type="text/html" href="http://www.youtube.com/watch?v=qPznjRKcM7Y"/>
  45. <link rel="http://gdata.youtube.com/schemas/2007#video.responses" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/videos/qPznjRKcM7Y/responses"/>
  46. <link rel="http://gdata.youtube.com/schemas/2007#video.related" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/videos/qPznjRKcM7Y/related"/>
  47. <link rel="self" type="application/atom+xml" href="http://gdata.youtube.com/feeds/api/videos/qPznjRKcM7Y"/>
  48. −
  49. <author>
  50. <name>MotoGP</name>
  51. <uri>http://gdata.youtube.com/feeds/api/users/motogp</uri>
  52. </author>
  53. −
  54. <gd:comments>
  55. <gd:feedLink href="http://gdata.youtube.com/feeds/api/videos/qPznjRKcM7Y/comments" countHint="24"/>
  56. </gd:comments>
  57. −
  58. <media:group>
  59. <media:category label="Sports" scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Sports</media:category>
  60. −
  61. <media:description type="plain">
  62. The seventh edition of After the Flag for 2009, the official MotoGP Video Podcast is brought to you by host Gavin Emmett from Donington Park after the British Grand Prix was held at the East Midlands circuit for the last time.
  63. </media:description>
  64. −
  65. <media:keywords>
  66. After+the+Flag, MotoGP, Jorge+Lorenzo, Valentino+Rossi, Colin+Edwards, Andrea+Dovizioso, Randy+de+Puniet, Repsol+Honda, Fiat+Yamaha, Casey+Stoner, Ducati+Marlboro, Donington+Park, Great+Britain, motorcycle, road+racing, motograndprix, motorcycles, bike, speed, crash
  67. </media:keywords>
  68. <media:player url="http://www.youtube.com/watch?v=qPznjRKcM7Y"/>
  69. <media:thumbnail url="http://i.ytimg.com/vi/qPznjRKcM7Y/2.jpg" height="90" width="120" time="00:11:00"/>
  70. <media:thumbnail url="http://i.ytimg.com/vi/qPznjRKcM7Y/1.jpg" height="90" width="120" time="00:05:30"/>
  71. <media:thumbnail url="http://i.ytimg.com/vi/qPznjRKcM7Y/3.jpg" height="90" width="120" time="00:16:30"/>
  72. <media:thumbnail url="http://i.ytimg.com/vi/qPznjRKcM7Y/0.jpg" height="240" width="320" time="00:11:00"/>
  73. <media:title type="plain">After the Flag at the British Grand Prix</media:title>
  74. <yt:duration seconds="1320"/>
  75. </media:group>
  76. <yt:noembed/>
  77. <gd:rating average="4.6969695" max="5" min="1" numRaters="66" rel="http://schemas.google.com/g/2005#overall"/>
  78. <yt:statistics favoriteCount="29" viewCount="16357"/>
  79. </entry>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.