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.
index.ts
https://artivilla--442b5b3e6f9511f08f640224a6c84d84.web.val.run
rss generator that creates rss feeds for non-rss blogs
- Add a new entry to
/blogs.json
with 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
- 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