bestblogs-add-source
添加 RSS 订阅源到 BestBlogs。适用场景:(1) 从文本中提取 RSS 链接并添加,(2) 解析 OPML 文件批量导入订阅源,(3) 添加单个或多个 RSS feed 到 BestBlogs, (4) 导入订阅源列表。触发短语:'添加订阅源', '导入订阅', '添加 RSS', 'add source', 'add RSS', 'import OPML', '导入 OPML', 'add feed', '添加 feed', '批量添加订阅', 'import feeds', '订阅源导入', 'add subscription', '新增订阅源', 'import subscription', '导入 RSS', 'import RSS'
Author
Category
Other ToolsInstall
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
BestBlogs Add Subscription Sources Skill
Skill Overview
BestBlogs Add Subscription Sources (bestblogs-add-source) is an intelligent skill for batch-adding RSS feeds to the BestBlogs platform. It supports extracting RSS links from text, parsing OPML files for batch imports, and sequentially adding feeds through the API, helping users efficiently manage and migrate blog subscriptions.
Applicable Scenarios
1. Extracting RSS Links from Text and Adding Them in Bulk
When you have collected text from numerous blog websites and need to identify and extract RSS feed addresses, this skill can automatically parse RSS URL patterns in the text (such as paths containing /feed, /rss, /atom, .xml, etc.), deduplicate them, and batch-add them to BestBlogs, eliminating the tedious process of finding and adding them manually one by one.
2. Parsing OPML Files to Import Subscription Sources
If you are migrating to BestBlogs from another RSS reader (such as Feedly or Inoreader), this skill can read exported OPML files, extract all feed addresses from the xmlUrl attributes, and batch-import them after confirmation, enabling a seamless migration of subscription sources.
3. Managing Subscription Sources Through the BestBlogs Admin API
This skill integrates with the BestBlogs Admin API and supports adding one or multiple RSS feeds to BestBlogs. After authenticating with BESTBLOGS_ADMIN_JWT_TOKEN and BESTBLOGS_ADMIN_USER_ID, it can safely add subscription sources sequentially, avoiding system strain and providing a detailed execution report.
Core Features
1. Intelligent Subscription Source Parsing
Supports parsing subscription sources in multiple input formats:
/feed, /rss, /atom, and .xml, while automatically deduplicating and filtering out invalid addressesxmlUrl attribute from <outline> elements while ignoring category nodestext or title attribute as the subscription source name for easier subsequent management2. User Confirmation Mechanism
Before performing any additions, the skill displays a list of parsed results for user confirmation:
| # | RSS URL | Source Name (if available) |
|---|---|---|
| 1 | https://example.com/feed | Example Blog |
| 2 | https://another.com/rss | - |
Users can remove unwanted entries. The additions are performed only after confirmation, ensuring accuracy and control.
3. Sequential Execution and Comprehensive Error Handling
Additions are performed sequentially through the BestBlogs Admin API, with each subsequent request initiated only after the previous one is complete, avoiding concurrent system load. The skill includes comprehensive error handling:
BESTBLOGS_ADMIN_JWT_TOKENBESTBLOGS_ADMIN_USER_IDsuccess: false: Business error (such as a duplicate URL or invalid format); records the message field and continuesFrequently Asked Questions
How can I batch-add RSS feeds to BestBlogs?
Prepare a text file or OPML file containing RSS links, trigger the skill, and select the corresponding input type. The skill will parse and display the list of subscription sources, then add them sequentially through the BestBlogs Admin API after confirmation. The first use requires configuring the BESTBLOGS_ADMIN_JWT_TOKEN and BESTBLOGS_ADMIN_USER_ID environment variables. These credentials can be obtained from the BestBlogs admin console.
What are the steps for importing an OPML file into BestBlogs?
First, export an OPML file from your current RSS reader, usually through its settings or export options. Then trigger the skill and select OPML file input. The skill will parse all subscription source addresses in the file and display the results for confirmation. Once confirmed, it will call the BestBlogs API to add them one by one. The entire process is sequential, and each addition request returns a Source ID. You can view the lists of successful and failed subscription sources in the summary report.
How should failed subscription imports be handled?
The skill outputs a detailed error summary listing the specific reason for each failed subscription source. For authentication issues (401/403), check whether the environment variables are configured correctly. For invalid URL formats (400/business errors), verify that the original RSS address is correct. If 10 consecutive failures occur, the skill pauses, as this may indicate a systemic issue, such as service unavailability or expired authentication. Check the BestBlogs service status and credential validity before deciding whether to continue.