Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.94 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.94 KB

RSS Tree

Netlify Status UptimeRobot status page

Generate RSS Feeds from sources that don't have one.

What's an RSS Feed?

Feeds

Feed Uptime Path Link
Groww Digest - Daily Groww service monitor /.netlify/functions/rss-groww rsstree.netlify.app/.netlify/functions/rss-groww
Bytes - The Best JavaScript Newsletter Bytes service monitor /.netlify/functions/rss-bytes rsstree.netlify.app/.netlify/functions/rss-bytes
Demo images
Demo of Groww Digest - Daily Demo of Bytes

Development Requirements

Project Scaffolding

Steps:

netlify init
netlify functions:create --name <func-name>

Local Development

npm install
touch .env  # Put all environment variables here
netlify functions:serve

Testing

# when caching with last-modified header
curl 'http://<host>/.netlify/functions/<func>' -Is | grep -i 'last-modified'
curl 'http://<host>/.netlify/functions/<func>' -H 'If-Modified-Since: <last-modified>' -I

# when caching with etag header
curl 'http://<host>/.netlify/functions/<func>' -Is | grep -i 'etag'
curl 'http://<host>/.netlify/functions/<func>' -H 'If-None-Match: "<etag>"' -I