Public
Like
rss-generator
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.
Viewing readonly version of main branch: v100View latest version
A RSS Feed Generator that creates RSS feeds for blogs that don't provide their own.
- Add a new entry to
/blogs.jsonwith CSS selectors - The cron job will automatically pick it up on the next run or run it manually in generateFeed.cron.ts
- Feed will be available at
/rss/<your-slug>.xml
- JSON Configuration: Define blogs and scraping rules in
/blogs.json - Automated Scraping: Cron job runs hourly to scrape configured blogs
- RSS Generation: Converts scraped posts to valid RSS XML
- Feed Serving: Access feeds at
/rss/<slug>.xml
- Uses Val Town Blob Storage with single key per feed:
rss_{slug}.xml - Metadata stored as
meta_{slug}with generation timestamps and post counts - Feeds are updated only on successful scrapes
- Stale feeds are served indefinitely until next successful update