Loading...
Loading...
Subscribe to AI and tech RSS feeds and persist normalized metadata into SQLite using mature Python tooling (feedparser + sqlite3). Use when adding feed URLs/OPML sources, running incremental sync with deduplication, and storing entry metadata without full-text extraction or summarization.
npx skill4agent add tiangong-ai/skills ai-tech-rss-fetchpython3 -m pip install feedparserexport AI_RSS_DB_PATH="/absolute/path/to/workspace-rss-bot/ai_rss.db"python3 scripts/rss_subscribe.py init-db --db "$AI_RSS_DB_PATH"python3 scripts/rss_subscribe.py add-feed --db "$AI_RSS_DB_PATH" --url "https://example.com/feed.xml"python3 scripts/rss_subscribe.py import-opml --db "$AI_RSS_DB_PATH" --opml assets/hn-popular-blogs-2025.opmlpython3 scripts/rss_subscribe.py sync --db "$AI_RSS_DB_PATH" --max-feeds 20 --max-items-per-feed 100python3 scripts/rss_subscribe.py sync --db "$AI_RSS_DB_PATH" --feed-url "https://example.com/feed.xml"python3 scripts/rss_subscribe.py list-feeds --db "$AI_RSS_DB_PATH" --limit 50python3 scripts/rss_subscribe.py list-entries --db "$AI_RSS_DB_PATH" --limit 100feedsfeed_urlfeed_titlesite_urletaglast_modifiedentriesdedupe_keyguidurlcanonical_urltitleauthorpublished_atupdated_atsummarycategoriesdb_pathAI_RSS_DB_PATHopml_pathfeed_urlsmax_feeds_per_runmax_items_per_feeduser_agentseen_ttl_daysenable_conditional_getassets/config.example.jsonlast_error304 Not Modifiedguidlinkfeedparser核心目标
输入需求
触发条件
元数据模型
去重与同步规则
命令流程
可配置参数
错误处理references/input-model.mdreferences/output-rules.mdreferences/time-range-rules.mdassets/hn-popular-blogs-2025.opmlassets/config.example.jsonscripts/rss_subscribe.py