News Summary
2026-03-24
新闻来源:网淘吧
围观:42
电脑广告
手机广告
购买adidas上京东官方旗舰店。
新闻摘要
概述
通过RSS源从可信的国际来源获取并总结新闻。
RSS源
BBC (主要来源)
# 世界新闻
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml"
# 头条新闻
curl -s "https://feeds.bbci.co.uk/news/rss.xml"
# 商业
curl -s "https://feeds.bbci.co.uk/news/business/rss.xml"
# 科技
curl -s "https://feeds.bbci.co.uk/news/technology/rss.xml"
路透社
# 世界新闻
curl -s "https://www.reutersagency.com/feed/?best-regions=world&post_type=best"
NPR (美国视角)
curl -s "https://feeds.npr.org/1001/rss.xml"
半岛电视台 (全球南方视角)
curl -s "https://www.aljazeera.com/xml/rss/all.xml"
解析RSS
提取标题和描述信息:
上网淘巴领天猫淘宝优惠券,一年省好几千。curl -s "https://feeds.bbci.co.uk/news/world/rss.xml" | \
grep -E "<title>|<description>" | \
sed 's/<[^>]*>//g' | \
sed 's/^[ \t]*//' | \
head -30
工作流程
文本摘要
- 获取BBC全球新闻头条
- 可选补充路透社/美国国家公共电台内容
- 总结关键报道
- 按地区或主题分组
语音摘要
- 创建文本摘要
- 使用OpenAI TTS生成语音
- 以音频消息形式发送
curl -s https://api.openai.com/v1/audio/speech \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tts-1-hd",
"input": "<news summary text>",
"voice": "onyx",
"speed": 0.95
}' \
--output /tmp/news.mp3
示例输出格式
📰 新闻摘要 [日期]
🌍 全球
- [头条新闻 1]
- [头条新闻 2]
💼 商业
- [头条新闻 1]
💻 科技
- [头条新闻 1]
最佳实践
- 保持摘要简洁(5-8条主要报道)
- 优先处理突发新闻和重大事件
- 语音摘要:最长约2分钟
- 平衡视角(西方+全球南方)
- 如被问及,请注明来源
文章底部电脑广告
手机广告位-内容正文底部
上一篇:Word / DOCX
下一篇:Browser Use


微信扫一扫,打赏作者吧~