Create a Tag-Based Article Search Page Using JavaScript and RSS

Nevin Katz
CodeX
Published in
7 min readAug 28, 2021

--

Photo by Kevin Ku from Pexels

Envision managing a publication on Medium. You’ve built up a long list of articles, and your audience is made up of a few key groups, each with specific interests. Wouldn’t it be nice if you had a way of searching your pub’s recently published pieces by tag so you could create article roundups under a particular topic — either to post on social media or send out in newsletters.

Well, dear reader, you’re in luck. In this tutorial, we’ll build a handy resource that lets us search for particular articles in a publication by tag. To do this, we will use Medium’s RSS Feeds API and focus on a feed that gives us articles under a specific tag for a particular publication — in this case, CodeX.

https://medium.com/feeds/codex/tagging/{tag}

What we shall build

Below is the implementation we will create, which is a fork of another pen from an earlier article on RSS by Konrad DaWo. (Thanks, Konrad!)

--

--

Nevin Katz
CodeX
Writer for

Developer at EDC. I write about web development and biology. Subscribe at https://buttondown.email/nevkatz for article roundups.