News for hackers. Stuff that matters.

Ask HN: Simplest way to make an RSS feed?

Wondering if there's a way to make an RSS feed as a raw markdown endpoint or something that I could write an update script for myself and just run as a github page maybe.

RSS seems like the answer to a lot of my silly problems but I just want to keep it as simple as possible.

Obviously I don't know much about it yet but excited to learn more.

( 4 comments | 3 points | on HN )
Re:Ask HN: Simplest way to make an RSS feed? by altneu on Tuesday January 04, 2022 @04:52PM (#29801076)
RSS is a simple format. https://www.w3schools.com/xml/xml_rss.asp

There are numerous ways to create an RSS feed, depends what language you like. I used PHP mainly to format the output, loop through a DB of entries or text files even. Very easy to do.

Re:Ask HN: Simplest way to make an RSS feed? by pkdpic on Tuesday January 04, 2022 @07:21PM (#29803028)
After thinking a little more about it though I guess what Im wondering is what the simplest way to create a usable rss feed is.

Im fine with setting up a backend of some kind if need be, but it seemed like it might be something that could be done as just an .rss file hosted on a frontend page through github pages.

Not sure if that makes sense but doing my best to describe the question. :-/

Re:Ask HN: Simplest way to make an RSS feed? by pkdpic on Tuesday January 04, 2022 @06:53PM (#29802776)
Thanks! I'm always a fan of W3schools for markdowny stuff like this.
Re:Ask HN: Simplest way to make an RSS feed? by theandrewbailey on Tuesday January 04, 2022 @05:05PM (#29801238)
RSS is XML-based. You will need to convert your data into it first before serving it. I've built some RSS feeds, and it's not hard. In fact, I use RSS as an important part of my blog's backup and restore system.