Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

MN DNR Climate Journal → RSS

Two Val Town vals that work together:

  1. main.ts — Cron val (every 6 hours). Scrapes the MN DNR Climate Journal index page, detects new articles, scrapes their content, and stores them in Val Town SQLite.

  2. feed.ts — HTTP val. Serves an RSS feed of all discovered articles at /feed.xml.

Setup on Val Town

  1. Push this folder as a val using vt
  2. Set main.ts as a Cron val with a 6-hour interval
  3. Set feed.ts as an HTTP val
  4. Subscribe to the feed URL in your RSS reader