Beispiel #1
0
        async void getPianoRss()
        {
            HttpClient Client = new HttpClient();

            entries = await Client.GetStringAsync(new Uri("http://www.pianoworks.com/rss/showallblogs.aspx"));

            xml      = new XmlSerializer(typeof(rss));
            posts    = (rss)xml.Deserialize(new StringReader(entries));
            rssPosts = new List <rssChannelItem>(posts.channel.item);
        }
Beispiel #2
0
        async void getPianoRss()
        {

            HttpClient Client = new HttpClient();
            entries = await Client.GetStringAsync(new Uri("http://www.pianoworks.com/rss/showallblogs.aspx"));
            xml = new XmlSerializer(typeof(rss));
            posts = (rss)xml.Deserialize(new StringReader(entries));
            rssPosts = new List<rssChannelItem>(posts.channel.item);

        }
Beispiel #3
0
        async void GetRSSFeed()
        {
            HttpClient Client = new HttpClient();

            entries = await Client.GetStringAsync(new Uri("http://www.bbc.co.uk/feeds/rss/music/latest_releases.xml"));

            xml      = new XmlSerializer(typeof(rss));
            posts    = (rss)xml.Deserialize(new StringReader(entries));
            rssPosts = new List <rssChannelItem>(posts.channel.item);
        }
Beispiel #4
0
        async void GetRSSFeed()
        {
           

            HttpClient Client = new HttpClient();
            entries = await Client.GetStringAsync(new Uri("http://www.bbc.co.uk/feeds/rss/music/latest_releases.xml"));
            xml = new XmlSerializer(typeof(rss));
            posts = (rss)xml.Deserialize(new StringReader(entries));
            rssPosts = new List<rssChannelItem>(posts.channel.item);

        }