OilGas-Wire
📧📰 an apps script project for automating a newsletter and aggregating rss/atom feeds (now with analytics!)
AI Summary
OilGas-Wire
GAS RSS/Atom aggregator and daily HTML newsletter
Target Users
Intermediate+ developers building internal newsletters to automate RSS aggregation and daily sends
Problems Solved
Automates feed collection and newsletter rendering to reduce manual daily sends.
Tags
Main Features
Normalize to Sheets
Fetches configured feeds and writes normalized rows to Google Sheet tabs.
Daily newsletter
Generates email/web HTML; uses buildVisibleSectionsForDate and sendDailyNewsletter.
Web preview & links
doGet serves Newsletter_Web.html; use WEBAPP_URL with ?date or ?preview=1.
Lite analytics
WebAnalytics doPost handles events; sendAnalyticsEvent posts to ANALYTICS_ENDPOINT.
TF‑IDF ranking
IDFScoreGen.gs scores relevance to rank newsletter items.
Usage Examples
How to run (per README)
The README provides steps but no runnable GAS code snippet. Below are comments referencing the functions.
// In the Apps Script editor, run:
// 1) testRun() in Utils/Debug.gs
// 2) sendDailyNewsletter() in AutoMailer.gs
// After deploying as a Web App, open WEBAPP_URL?preview=1 in a browserPublic information is insufficient; only functions and steps from the README are listed.