Find RSS Skill
Discover RSS and Atom feeds for websites to enable news aggregation and content monitoring.
Quick Start
Run the find-rss script with a website URL:
CODEBLOCK0
Example:
CODEBLOCK1
What This Skill Does
1. Checks HTML link tags - Searches for <link rel="alternate" type="application/rss+xml"> tags Tests common RSS paths - Tries standard feed locations like /feed, /rss, INLINECODE3Validates feeds - Confirms discovered URLs return valid RSS/Atom content
How It Works
The script performs two main checks:
1. HTML Link Tag Discovery
Most websites with RSS feeds include a link tag in their HTML:
CODEBLOCK2
The script extracts all such links from the page source.
2. Common Path Testing
If no link tags are found, the script tests common RSS paths:
- /feed and INLINECODE5 INLINECODE6 and INLINECODE7 INLINECODE8 and INLINECODE9 INLINECODE10 , /feed.xml, INLINECODE12 INLINECODE13 , INLINECODE14
Interpreting Results
- ✅ Found in HTML : RSS link was discovered in the page's HTML source ✅ Common path : RSS feed exists at a standard location❌ Not found : No RSS feed detected (website may not offer one)
Tips for Users
If no RSS feed is found:
1. Check the website's footer for an "RSS" or "Subscribe" link Search Google for "[sitename] RSS feed" Use feed discovery services like Feedly or Inoreader Some sites use JSON Feeds or proprietary APIs instead of RSS
Common RSS Feed Patterns
Platform Typical Feed URL WordPress INLINECODE15 Medium
https://medium.com/feed/@username |
| Substack |
https://newsletter.substack.com/feed |
| Ghost |
https://site.com/rss/ |
| YouTube |
https://www.youtube.com/feeds/videos.xml?channel_id=... |
Limitations
- Some websites block automated requests (may return 403) JavaScript-rendered sites may hide RSS links Relative URLs are resolved but may not always be accurate Rate limiting may apply for multiple rapid requests
技能名称: find-rss
详细描述:
查找RSS技能
发现网站的RSS和Atom订阅源,实现新闻聚合和内容监控。
快速开始
使用网站URL运行find-rss脚本:
bash
~/.openclaw/skills/find-rss/scripts/find-rss.sh <网站URL>
示例:
bash
~/.openclaw/skills/find-rss/scripts/find-rss.sh https://techcrunch.com/
该技能的功能
1. 检查HTML链接标签 - 搜索 标签 测试常见RSS路径 - 尝试标准订阅源位置,如/feed、/rss、/atom验证订阅源 - 确认发现的URL返回有效的RSS/Atom内容
工作原理
该脚本执行两项主要检查:
1. HTML链接标签发现
大多数带有RSS订阅源的网站会在其HTML中包含一个链接标签:
html
脚本从页面源代码中提取所有此类链接。
2. 常见路径测试
如果未找到链接标签,脚本会测试常见的RSS路径:
- /feed 和 /feed/ /rss 和 /rss/ /atom 和 /atom/ /index.xml、/feed.xml、/rss.xml /blog/feed、/news/feed
结果解读
- ✅ 在HTML中找到 :在页面的HTML源代码中发现了RSS链接 ✅ 常见路径 :RSS订阅源存在于标准位置❌ 未找到 :未检测到RSS订阅源(网站可能未提供)
用户提示
如果未找到RSS订阅源:
1. 检查网站页脚的RSS或订阅链接 在Google中搜索[网站名称] RSS订阅源 使用Feedly或Inoreader等订阅源发现服务 某些网站使用JSON订阅源或专有API替代RSS
常见RSS订阅源模式
平台 典型订阅源URL WordPress https://site.com/feed/ Medium
https://medium.com/feed/@用户名 |
| Substack | https://newsletter.substack.com/feed |
| Ghost | https://site.com/rss/ |
| YouTube | https://www.youtube.com/feeds/videos.xml?channel_id=... |
局限性
- 某些网站会阻止自动化请求(可能返回403错误) JavaScript渲染的网站可能隐藏RSS链接 相对URL会被解析,但可能不总是准确 多次快速请求可能受到速率限制