rss-monitor

RSS监控技能 - 监控RSS/Atom订阅源,检测更新,获取新内容。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "rss-monitor" with this command: npx skills add 534422530/laosi-rss

RSS Monitor - RSS监控

激活词: RSS监控 / 订阅更新 / Feed监控

安装

pip install feedparser

功能

  • 解析RSS/Atom feeds
  • 检测新内容
  • 过滤分类
  • 历史记录

Python函数

import feedparser
import time
from datetime import datetime

class RSSMonitor:
    def __init__(self):
        self.feeds = {}
        self.last_check = {}
    
    def add_feed(self, name: str, url: str):
        self.feeds[name] = url
    
    def check_updates(self) -> list:
        updates = []
        for name, url in self.feeds.items():
            feed = feedparser.parse(url)
            
            for entry in feed.entries[:5]:
                entry_time = datetime(*entry.published_parsed[:6])
                
                if name not in self.last_check or entry_time > self.last_check[name]:
                    updates.append({
                        'feed': name,
                        'title': entry.title,
                        'link': entry.link,
                        'published': entry.get('published', 'Unknown'),
                    })
            
            self.last_check[name] = datetime.now()
        
        return updates
    
    def get_entries(self, url: str, limit: int = 10):
        feed = feedparser.parse(url)
        return [{
            'title': e.title,
            'link': e.link,
            'summary': e.get('summary', '')[:200],
        } for e in feed.entries[:limit]]

命令行

# 解析RSS
curl -s "https://example.com/feed.xml" | grep -o '<title>.*</title>'

使用场景

  1. 监控技术博客更新
  2. 跟踪新闻源
  3. 关注播客��集
  4. 监控社交媒体动态

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

RSS Monitor

Monitor RSS feeds and send notifications when new content is published. Use when user needs to track blog updates, news feeds, or any RSS source. Supports Fe...

Registry Source
1K0Profile unavailable
General

RSS News Aggregator

Aggregate and filter multiple RSS feeds to fetch, summarize, deduplicate, and monitor news articles by keywords and sources.

Registry SourceRecently Updated
440Profile unavailable
Automation

Agent2RSS - AI Content to RSS Feed

Agent2RSS 客户端,管理 RSS 频道并推送内容。触发:用户提到 Agent2RSS/RSS 频道/推送文章/上传文章/创建频道/设置默认频道/幂等性。

Registry SourceRecently Updated
7771Profile unavailable
Automation

WeChat MP Monitor

Monitor WeChat MP (微信公众号) articles and send notifications. Use when user needs to track public account updates, summarize articles, or receive alerts when ne...

Registry Source
2890Profile unavailable