Random Subcurrent Blog Post Viewer

This Val Town project fetches the RSS feed from Astoria Tech's Subcurrent blog and displays a random blog post each time the page is loaded.

Features

  • Fetches the latest posts from the Subcurrent blog RSS feed
  • Displays a random post each time the page is loaded
  • Provides a "Get Another Post" button to load a different random post
  • Shows a preview of the post content with a link to read the full article
  • Responsive design that works on mobile and desktop

Implementation Details

  • Uses the rss-parser library to parse the RSS feed
  • Implements a CORS proxy to fetch the RSS feed from the client-side
  • Handles loading states and error conditions
  • Styled with custom CSS for a clean, readable interface

Usage

Simply visit the HTTP endpoint to view a random blog post. Click the "Get Another Post" button to load a different random post from the feed.