RSS for a static site

deanvmc picture deanvmc · Sep 13, 2011 · Viewed 9.9k times · Source

I have a site, deanvmc.me that I am using to teach myself HTML, CSS and JavaScript. The site is purposely static to strip my learning down to bear bones (The best way to learn I feel). I am using github as the host to further lock me down to statically generated content.

I would like to place some articles and tutorials on this site and feel that it would be nice to offer an RSS feed for both. The /Articles and /Tutorials directories will be used to list the content with the actual posts in the form of /Articles/ and /Tutorials/ respectively.

I have looked around but any tutorial I have found seems to rest upon me using one of the major CMS engines, which I do not what to do.

My understanding is RSS has been around longer than CMS engines, so my question is, is it possible to syndicate my static site?

Answer

alexcsm picture alexcsm · Apr 12, 2012

I use a static site generator for my blog (alexanderle.com) and ran into this problem.

I decided to created an RSS feed from scratch and it works great! Pretty easy to automate too if you have access to the template system or database. Editing the XML is not that difficult at all - if you can write simple HTML, you can edit a RSS XML file.

Check out the guide at https://alexanderle.com/create-an-rss-feed-from-scratch!