val_town1
NewBlogPostNotifierForBlogsWithoutRSSOrEmail
Get emailed if Steve Krouse or Russel Power have a new post!
Public
LikeNewBlogPostNotifierForBlogsWithoutRSSOrEmail
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: v23View latest version
Emails you when either configured blog publishes a new essay.
- A cron run fetches each configured blog homepage and parses its configured section heading (for example
EssaysorBlog). - It stores each latest essay ID in Val Town Blob Storage:
steve_krouse_latest_essay_v1russel_power_latest_essay_v1
- It only sends an email when a blog's top essay changes.
- First run initializes state for each blog and does not send an email.
- Subsequent runs send one email per newly detected essay per blog.
- This val is cron-only (no manual HTTP trigger).
- Optional env vars for separate recipients:
STEVE_KROUSE_NOTIFY_EMAILRUSSEL_POWER_NOTIFY_EMAIL
- Optional override for Russel's blog URL:
RUSSEL_POWER_BLOG_URL(defaults tohttps://rjp.io/blog)
- If a blog-specific recipient var is not set, Val Town emails the val owner by default.