RSS Feed Digest
Aggregate multiple RSS/Atom feeds into a clean, summarized digest. Perfect for automated newsletters, news monitoring, or daily briefings.
Usage
Fetch and display recent items
CODEBLOCK0
Filter by keywords
CODEBLOCK1
Output as Markdown file
CODEBLOCK2
Use a feed list file
CODEBLOCK3
Features
- - 📰 Supports RSS 2.0 and Atom feeds
- 🔍 Keyword filtering (include/exclude)
- 🔄 Deduplication across multiple feeds
- 📅 Time-based filtering (last N hours)
- 📝 Markdown or plain text output
- 📋 Feed list file support for managing many sources
Dependencies
CODEBLOCK4
Example: Daily AI News Digest
CODEBLOCK5
Use Cases
- - Daily briefings: Summarize industry news for your team
- Newsletter automation: Generate content for Beehiiv/Substack newsletters
- Competitive monitoring: Track mentions of competitors or keywords
- Research: Aggregate academic/industry feeds on a topic
- Heartbeat integration: Run during OpenClaw heartbeat to check for relevant news
RSS Feed Digest
将多个RSS/Atom源聚合为一份简洁的摘要。非常适合自动化新闻简报、新闻监控或每日简报。
使用方法
获取并显示最近条目
bash
python3 {baseDir}/scripts/rss_digest.py fetch \
--feeds https://hnrss.org/frontpage https://feeds.arstechnica.com/arstechnica/technology-lab \
--hours 24 \
--limit 20
按关键词筛选
bash
python3 {baseDir}/scripts/rss_digest.py fetch \
--feeds https://hnrss.org/frontpage \
--keywords AI,LLM,agent,OpenClaw \
--hours 48
输出为Markdown文件
bash
python3 {baseDir}/scripts/rss_digest.py fetch \
--feeds https://hnrss.org/frontpage \
--output digest.md \
--format markdown
使用订阅源列表文件
bash
创建feeds.txt,每行一个URL
python3 {baseDir}/scripts/rss_digest.py fetch \
--feed-file feeds.txt \
--hours 24
功能特性
- - 📰 支持RSS 2.0和Atom订阅源
- 🔍 关键词筛选(包含/排除)
- 🔄 跨多个订阅源去重
- 📅 基于时间的筛选(最近N小时)
- 📝 Markdown或纯文本输出
- 📋 支持订阅源列表文件以管理多个来源
依赖项
bash
pip3 install feedparser
示例:每日AI新闻摘要
bash
feeds.txt
https://hnrss.org/frontpage
https://feeds.arstechnica.com/arstechnica/technology-lab
https://www.artificialintelligence-news.com/feed/
https://openai.com/blog/rss.xml
通过cron每日运行
python3 rss_digest.py fetch --feed-file feeds.txt --keywords AI,LLM,GPT,Claude,agent --hours 24 --output /tmp/daily-ai-digest.md
使用场景
- - 每日简报:为团队汇总行业新闻
- 新闻简报自动化:为Beehiiv/Substack新闻简报生成内容
- 竞争监控:追踪竞争对手或关键词提及
- 研究:聚合某一主题的学术/行业订阅源
- Heartbeat集成:在OpenClaw心跳期间运行以检查相关新闻