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.
Two Val Town vals that work together:
-
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. -
feed.ts— HTTP val. Serves an RSS feed of all discovered articles at/feed.xml.
- Push this folder as a val using
vt - Set
main.tsas a Cron val with a 6-hour interval - Set
feed.tsas an HTTP val - Subscribe to the feed URL in your RSS reader