none
[UWP][XAML][C#] How to display HTML text in a listView. RRS feed

  • Question

  • Hi 

    I want to show RSS feeds into a listView which having plain text as title and HTML text as description. So how can I parse description into list.  Don't want to use webview if there is another control available in xaml?

    or

    webview is right way to do this ?


    sandeep chauhan

    Thursday, April 18, 2019 11:41 AM

Answers

  • Hi,

    So you just want to get the RSS feeds from one URL and show them inside a listview, right? If so, there is a way could retrieve and display a web feed. You could use classes in Windows.Web.Syndication namespace. At first, you could use Windows.Web.Syndication.SyndicationClient to access the web feed. Then use SyndicationClient.RetrieveFeedAsync method to get the feeds.

    For more details steps and the sample code, please refer this link:RSS/Atom feeds

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, April 19, 2019 7:54 AM
    Moderator