Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 479 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 479 Bytes

UCSC email preparer

An app to fetch a webpage and prepare it for use as an HTML email.

Purpose

This app fetches the HTML from a URL and "inlines" the styles so the HTML will work in an email.

We use this app to:

  • Prepare Tuesday Newsday for sending.

How this app works

  1. This app is written in Javascript, using Express, and it runs on Heroku.
  2. It uses a [config object][2] to check that the URL comes from an allowed domain.