I would like to retrieve the title of a video using the YouTube atom feed here:
http://gdata.youtube.com/feeds/api/videos/uRTXEjjrOko I would then like to add this title to my database. How would I do that?
I would like to retrieve the title of a video using the YouTube atom
Share
Linq TO XML is the recommended API for working with XML. You would get the title like this:
If you wanted to get the link to a thumbnail, you would do this:
There are actually 4 thumbnail links. The code above just grabs the first one. Once you have extracted all the values you want, you can use them along with your SQL in the
Database.Executemethod.