ai-daily

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AI Daily News

AI每日资讯

Fetch AI industry news from smol.ai RSS feed.
从smol.ai的RSS源获取AI行业资讯。

Quick Start

快速开始

undefined
undefined

Basic queries

基础查询

昨天AI资讯 今天的AI新闻 2026-01-13的资讯
undefined
昨天AI资讯 今天的AI新闻 2026-01-13的资讯
undefined

Query Types

查询类型

TypeExamplesDescription
Relative date
昨天AI资讯
今天的新闻
前天
Yesterday, today, day before
Absolute date
2026-01-13的新闻
YYYY-MM-DD format
Date range
有哪些日期的新闻
Show available dates
类型示例说明
相对日期
昨天AI资讯
今天的新闻
前天
昨天、今天、前天
绝对日期
2026-01-13的新闻
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 InputTarget DateCalculation
昨天
Yesterdaytoday - 1 day
前天
Day beforetoday - 2 days
今天
TodayCurrent date
2026-01-13
2026-01-13Direct parse
Format: Always use
YYYY-MM-DD

用户输入目标日期计算方式
昨天
昨天今日 - 1天
前天
前天今日 - 2天
今天
今天当前日期
2026-01-13
2026-01-13直接解析
格式:始终使用
YYYY-MM-DD

Step 2: Fetch RSS

步骤2:获取RSS

bash
python skills/ai-daily/scripts/fetch_news.py --date YYYY-MM-DD
Available commands:
bash
undefined
bash
python skills/ai-daily/scripts/fetch_news.py --date YYYY-MM-DD
可用命令
bash
undefined

Get 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 news

markdown
抱歉,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
undefined

AI 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

配置

VariableDescriptionDefault
RSS_URLRSS feed URL
https://news.smol.ai/rss.xml
No API keys required.

变量说明默认值
RSS_URLRSS源地址
https://news.smol.ai/rss.xml
无需API密钥。

Troubleshooting

故障排除

IssueSolution
RSS fetch failsCheck network connectivity
Invalid dateUse YYYY-MM-DD format
No contentCheck available date range

问题解决方案
RSS获取失败检查网络连接
日期无效使用YYYY-MM-DD格式
无内容检查可用日期范围

References

参考资料

  • Output Format - Markdown template
  • HTML Themes - Webpage theme specifications
  • 输出格式 - Markdown模板
  • HTML主题 - 网页主题规范