Merhaba arkadaşlar benim istediğim
http://gdata.youtube.com/feeds/api/videos?vq=jJglnWIj_hs
bu linkteki xml yapısında ki
<title type="text"> </title> arasını çekmek
ben normalde
"Toplam bulunan şarkı: <b>" + xmlSource.GetXmlDocument().SelectSingleNode("rss/channel/openSearch:totalResults", xmlN).InnerText + "</b> ";
bunla toplam kayıtı çekiyorum fakat o dedigim satır arasını cekemiyorum kafayı yicem
tam olarak kullandıgım kod
XmlDataSource xmlSource = new XmlDataSource();
xmlSource.DataFile = "http://gdata.youtube.com/feeds/api/videos?vq=" + txtKeyword.Text + "&orderby=relevance&start-index=1&max-results=50&alt=rss&format=5";
xmlN = new XmlNamespaceManager(xmlSource.GetXmlDocument().NameTable);
xmlN.AddNamespace("media", "http://search.yahoo.com/mrss/");
xmlN.AddNamespace("openSearch", "http://a9.com/-/spec/opensearchrss/1.0/");
XmlNodeList xmlNodes = xmlSource.GetXmlDocument().SelectNodes("rss/channel/item/media:group", xmlN);
// divResposne.InnerHtml = "Toplam bulunan şarkı: <b>" + xmlSource.GetXmlDocument().SelectSingleNode("rss/channel/openSearch:totalResults", xmlN).InnerText + "</b> ";
Repeater1.DataSource = xmlNodes;
Repeater1.DataBind();