CSBlogs - RSS Feed | Nathaniel

When
11/2018
Type
Software
Status
Complete
Project Summary: CSBlogs is a great resource with posts by staff and students alike, I wanted a way to read this in Feedly (my RSS reader) so I wrote one.

Motivation

Discord

CSBlogs is something that has we’ve been pointed to by the Department as a good source of inspiration from likeminded tech people.

I wanted to read this in my RSS reader but I also wanted to show this in the #hullCSS discord blogs channel to cross-promote people’s blogs to our members, previously we manually added members feeds as requested to the channel but moving to using CSBlogs makes this easier as bloggers only have to get their blogs approved by CSBlogs to appear in our Discord too.

How it works

CSBlogs Site

CSBlogs has a really good JSON API server which is all nicely available and well documented online, I wrote a Node.JS application that pulls the most recent posts from the API, parses them into RSS and then serves the RSS feed back to users when it’s requested. I made a nice web frontend for it too (of course) which can be seen in the image.

Zeit Now

I’ve used Zeit Now for the first time to do my first serverless deployment too, which means every time I push a new build to GitHub, it’s automatically built and an instance of the service is deployed and the domain moved over to it, meaning zero downtime upgrades as well.

Room for improvement

I inted to come back to the project and add caching to the API in the future if I see a significant hit on CSBlogs resources, at the moment it isn’t really a problem as the API doesn’t have much traffic and it means the user is always getting the most recent data.

Concluding

I’m really happy with the project as it’s a cool side project that’s also really useful as I interact with it several times a week (although the interaction is hidden behind Discord and Feedly, it’s still there).

I hope other people find this tool useful too, a really big thank you to the creators of CSBlogs though for making and maintaining the service.

Learn more

You can see the site in production and source code below:

CSBlogs Feed CSBlogs Feed on GitHub


  CSBlogs Branding belongs to CSBlogs, an open source project.