Atom feed reader8/2/2023 ![]() ![]() netstandard2.1 netstandard2.1 was computed. netstandard2.0 netstandard2.0 was computed. netstandard1.6 netstandard1.6 was computed. netstandard1.5 netstandard1.5 was computed. netstandard1.4 netstandard1.4 was computed. Netstandard1.3 netstandard1.3 is compatible. netcoreapp3.1 netcoreapp3.1 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp2.1 netcoreapp2.1 is compatible. netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp1.1 netcoreapp1.1 was computed. Netcoreapp1.0 netcoreapp1.0 was computed. net7.0-windows net7.0-windows was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. ![]() net7.0-android net7.0-android was computed. net6.0-windows net6.0-windows was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-android net6.0-android was computed. ![]() net5.0-windows net5.0-windows was computed. Versions Compatible and additional computed target framework versions. The code contains a sample console application: Specifications Var readerTask = FeedReader.ReadAsync(feedUrl) įoreach (var item in ) show all urls and let the user select (or take the first or. If (urls.Count() < 1) // no url - probably the url is already the right feed urlĮlse if (urls.Count() = 2) // if 2 urls, then its usually a feed and a comments feed, so take the first per default Var urls = FeedReader.GetFeedUrlsFromUrl(url) If the url to the feed is not known, then you can use FeedReader.GetFeedUrlsFromUrl(url) to parse the url from the html webpage: string url = "" Var rss20feed = (Feeds.Rss20Feed)feed.SpecificFeed Ĭonsole.WriteLine("Generator: " + rss20feed.Generator) If you want to get those properties, the property "SpecificFeed" is the right one: var feed = await FeedReader.ReadAsync("") There are some properties that are only available in e.g. The simplest way to read a feed and show the information is: var feed = await FeedReader.ReadAsync("") Ĭonsole.WriteLine("Feed Title: " + feed.Title) Ĭonsole.WriteLine("Feed Description: " + feed.Description) Ĭonsole.WriteLine("Feed Image: " + feed.ImageUrl) Ĭonsole.WriteLine(item.Title + " - " + item.Link) Library tested with multiple languages, encodings and feeds.įeedReader library is available as NuGet package: Usage Supports RSS 0.91, 0.92, 1.0, 2.0 and ATOM.ĭeveloped because tested existing libraries do not work with different languages, encodings or have other issues. net library used for reading and parsing RSS and ATOM feeds. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |