2013-03-16 94 views
1

您好每一個我在App工作,顯示部分RSS源數據中的Windows Phone工作有了RSS訂閱Windows Phone中

,比如我有一些RSS提要就像

Link's

從這個Rss Feeds我喜歡在我的窗口中顯示數據電話應用程序

問題是當我通過此鏈接時我正在獲取一些Xml數據。我不知道如何在Windows手機應用程序中使用Xml數據..

,請給我一些建議的....謝謝

回答

0

退房 的SyndicationFeed類和代碼示例低於

HttpClient client = new HttpClient(); 
String str = await client.GetStringAsync(new Uri("http://yourwebsite.com/test.xml")); 
SyndicationFeed feed = new SyndicationFeed(); 
feed.Load(str); 

foreach (SyndicationItem item in feed.Items) 
{ 
    // Extract the information from the SyndicationItem object .... 


}