Skip to content

VeselinovStf/RssReader

Repository files navigation

RSS Reader

Build Status

Read RSS feed using ASP .NET CORE

Features

  • Reads Rss feads
  • Optional input of feed
  • Optional display

You can also:

  • Extend existing futures

Tech

Used technologies

  • .NET Core 2.2
  • ASP.NET CORE MVC ( for Demo project )

Installation

RssReader requires [.NET CORE 2.2] to run.

Clone or Download project.

Use:

RssReader.Core
RssReader.Models
RssReader.Wrappers

Setting Up

Create rss feed model class

    public class RssFeedViewModel
    {
        public IEnumerable<IEnumerable<IRssFeed>> RssList { get; set; }

        public IEnumerable<IRssFeed> RssFeed { get; set; }

        public string URL { get; set; }
    }

Register Functions

RssReaderNetCore2_2_Services.RegisterRssReaderServices(
                services, Configuration
                    .GetSection("RSS")
                    .Get<IList<string>>());

Add build in RSS feeds

Add to appsettings.json

 "RSS": [
    "http://www.vesti.bg/rss.php",
    "https://www.24chasa.bg/Rss"
  ]

Example

RssReader.Web - HomeController

Current Build Functions

  • Execute ( Core function )
- IRssReaderRepository<IRssFeed>

Todos

  • Update formating of output - some times its spits html tags

License

MIT

About

ASP .NET CORE 2.2 RSS Reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published