如何从不同的网站获取Rss Feed到Windows Phone应用程序?

问题描述:

链接到示例图像rss feeds from 1st4fans of Manchester United edition 我在c#中是一种新的,并希望从不同网站的饲料到我的Windows手机应用程序。 我的主要兴趣是获取图像,标题和描述到提要。 链接到应用程序是here如何从不同的网站获取Rss Feed到Windows Phone应用程序?

看看SyndicationFeed班。 以下是我自己的一个应用程序示例:

HttpClient client = new HttpClient(); 
    String str = await client.GetStringAsync(new Uri("http://www.plasticsoldierreview.com/RSS/PlasticSoldierReview.xml")); 

    SyndicationFeed feed = new SyndicationFeed(); 
    feed.Load(str); 

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

如何添加不同的Feed源? – gnyangolo