メインコンテンツにスキップ

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

1
Normalize to Sheets

Fetches configured feeds and writes normalized rows to Google Sheet tabs.

2
Daily newsletter

Generates email/web HTML; uses buildVisibleSectionsForDate and sendDailyNewsletter.

3
Web preview & links

doGet serves Newsletter_Web.html; use WEBAPP_URL with ?date or ?preview=1.

4
Lite analytics

WebAnalytics doPost handles events; sendAnalyticsEvent posts to ANALYTICS_ENDPOINT.

5
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 browser

Public information is insufficient; only functions and steps from the README are listed.