Fetch and summarize news from trusted international sources via RSS feeds.
# World news
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml"
# Top stories
curl -s "https://feeds.bbci.co.uk/news/rss.xml"
# Business
curl -s "https://feeds.bbci.co.uk/news/business/rss.xml"
# Technology
curl -s "https://feeds.bbci.co.uk/news/technology/rss.xml"
# World news
curl -s "https://www.reutersagency.com/feed/?best-regions=world&post_type=best"
curl -s "https://feeds.npr.org/1001/rss.xml"
curl -s "https://www.aljazeera.com/xml/rss/all.xml"
Extract titles and descriptions:
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml" | \
grep -E "<title>|<description>" | \
sed 's/<[^>]*>//g' | \
sed 's/^[ \t]*//' | \
head -30
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
📰 News Summary [date]
🌍 WORLD
- [headline 1]
- [headline 2]
💼 BUSINESS
- [headline 1]
💻 TECH
- [headline 1]
7w4.net小葱技能站收录全网优质技能,值得收藏。
这个新闻摘要 Skill 质量中等偏上,提供了多个可信新闻来源,命令示例清晰可直接使用。它能帮你快速获取 BBC、Reuters 等主流媒体的最新资讯,支持文字和语音两种摘要形式,输出格式友好。不足之处在于功能较为基础,需要手动执行命令操作,适合有一定技术基础的用户使用。如果能增加自动定时推送、智能过滤等功能会更好。总体来说,作为新闻获取工具是实用的,但仍有改进空间。