ai-daily
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Daily News
AI每日资讯
Fetch AI industry news from smol.ai RSS feed.
从smol.ai的RSS源获取AI行业资讯。
Quick Start
快速开始
undefinedundefinedBasic queries
基础查询
昨天AI资讯
今天的AI新闻
2026-01-13的资讯
undefined昨天AI资讯
今天的AI新闻
2026-01-13的资讯
undefinedQuery Types
查询类型
| Type | Examples | Description |
|---|---|---|
| Relative date | | Yesterday, today, day before |
| Absolute date | | YYYY-MM-DD format |
| Date range | | Show available dates |
| 类型 | 示例 | 说明 |
|---|---|---|
| 相对日期 | | 昨天、今天、前天 |
| 绝对日期 | | YYYY-MM-DD格式 |
| 日期范围 | | 显示可用日期 |
Workflow
工作流程
- [ ] Step 1: Parse date from user request
- [ ] Step 2: Fetch RSS data
- [ ] Step 3: Check content availability
- [ ] Step 4: Format and display results- [ ] 步骤1:解析用户请求中的日期
- [ ] 步骤2:获取RSS数据
- [ ] 步骤3:检查内容可用性
- [ ] 步骤4:格式化并展示结果Step 1: Parse Date
步骤1:解析日期
| User Input | Target Date | Calculation |
|---|---|---|
| Yesterday | today - 1 day |
| Day before | today - 2 days |
| Today | Current date |
| 2026-01-13 | Direct parse |
Format: Always use
YYYY-MM-DD| 用户输入 | 目标日期 | 计算方式 |
|---|---|---|
| 昨天 | 今日 - 1天 |
| 前天 | 今日 - 2天 |
| 今天 | 当前日期 |
| 2026-01-13 | 直接解析 |
格式:始终使用
YYYY-MM-DDStep 2: Fetch RSS
步骤2:获取RSS
bash
python skills/ai-daily/scripts/fetch_news.py --date YYYY-MM-DDAvailable commands:
bash
undefinedbash
python skills/ai-daily/scripts/fetch_news.py --date YYYY-MM-DD可用命令:
bash
undefinedGet specific date
获取指定日期的资讯
python skills/ai-daily/scripts/fetch_news.py --date 2026-01-13
python skills/ai-daily/scripts/fetch_news.py --date 2026-01-13
Get date range
获取日期范围
python skills/ai-daily/scripts/fetch_news.py --date-range
python skills/ai-daily/scripts/fetch_news.py --date-range
Relative dates
相对日期
python skills/ai-daily/scripts/fetch_news.py --relative yesterday
**Requirements**: `pip install feedparser requests`
---python skills/ai-daily/scripts/fetch_news.py --relative yesterday
**依赖要求**:`pip install feedparser requests`
---Step 3: Check Content
步骤3:检查内容
When NOT Found
未找到内容时
markdown
Sorry, no news available for 2026-01-14
Available date range: 2026-01-10 ~ 2026-01-13
Suggestions:
- View 2026-01-13 news
- View 2026-01-12 newsmarkdown
抱歉,2026-01-14暂无可用资讯
可用日期范围:2026-01-10 ~ 2026-01-13
建议:
- 查看2026-01-13的资讯
- 查看2026-01-12的资讯Step 4: Format Results
步骤4:格式化结果
Example Output:
markdown
undefined示例输出:
markdown
undefinedAI Daily · 2026年1月13日
AI每日资讯 · 2026年1月13日
not much happened today
今日暂无重大动态
Content
内容
[News content from smol.ai RSS...]
Source: smol.ai
---[来自smol.ai RSS的新闻内容...]
来源:smol.ai
---Configuration
配置
| Variable | Description | Default |
|---|---|---|
| RSS_URL | RSS feed URL | |
No API keys required.
| 变量 | 说明 | 默认值 |
|---|---|---|
| RSS_URL | RSS源地址 | |
无需API密钥。
Troubleshooting
故障排除
| Issue | Solution |
|---|---|
| RSS fetch fails | Check network connectivity |
| Invalid date | Use YYYY-MM-DD format |
| No content | Check available date range |
| 问题 | 解决方案 |
|---|---|
| RSS获取失败 | 检查网络连接 |
| 日期无效 | 使用YYYY-MM-DD格式 |
| 无内容 | 检查可用日期范围 |
References
参考资料
- Output Format - Markdown template
- HTML Themes - Webpage theme specifications
- 输出格式 - Markdown模板
- HTML主题 - 网页主题规范