Android Question Help for parsing youtube page results please

Rorry

Member
Licensed User
Longtime User
Hey,

i really cannot find out how to parse a youtube page results,its now 2 days of trying but i find just the title twice and the video id.....

how would you parse infos (title,duration,thumbnail,video id,description,...) of each videos on this xml?

and someone could explain what is a namespace?
is it "media" of "media:group","media:title","media:thumbnail"...?

here is the xml:

https://gdata.youtube.com/feeds/api...by=viewCount&start-index=1&max-results=25&v=2

thanks for help
 

Rorry

Member
Licensed User
Longtime User
Have you seen THIS tutorial?

hey NJ,thanks

yes i did.

but its limited to "simple" xml's,but with a more complex one like youtube,i get lost and cant locate the childs (title,duration,thumbnail,video id,description,...) i want. i should catch "<MEDIA:TITLE>" and not "<title>" for example. ;)
 
Last edited:
Upvote 0
Top