0
鏈接到示例圖像rss feeds from 1st4fans of Manchester United edition 我在c#中是一種新的,並希望從不同網站的飼料到我的Windows手機應用程序。 我的主要興趣是獲取圖像,標題和描述到提要。 鏈接到應用程序是here。如何從不同的網站獲取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 ....
}
如何添加不同的Feed源? – gnyangolo