DEV Community

Discussion on: Adding RSS with .NET Core

Collapse
 
rhunt56 profile image
rhunt56 • Edited

I am a newbie and cannot get your code for RSS to build. What package do I need to get the XMLDocument to register?
I have tried several with no results.
I want to pull the data from an sql database to populate the RSSFeed so not sure about your mention of blob and main.json file.

Also where does htmlContent come from in content.InnerText = htmlContent;
Is htmlContent a variable or a description of other content to be put there?

Collapse
 
zeerorg profile image
Rishabh Gupta • Edited

Take a look at the solution, github.com/zeerorg/BlogPosts
Under MarkdownCheck folder for the code to create rss feed. If you have any other questions feel free to ask.

htmlcontent is the blog post content, it is useful when external rss readers can can read the post without going to the link