2016-07-29 37 views

回答

0

看看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

相關問題