google-news
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGoogle News Skill
Google News 技能
Stay informed with Google's AI-powered news aggregator and personalized headlines.
借助谷歌的AI驱动新闻聚合器和个性化头条随时了解资讯。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/google-news/install.sh | bashOr manually:
bash
cp -r skills/google-news ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/google-news/install.sh | bash或者手动安装:
bash
cp -r skills/google-news ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set GOOGLE_ACCOUNT_EMAIL "your_email"
canifi-env set GOOGLE_ACCOUNT_PASSWORD "your_password"
undefinedcanifi-env set GOOGLE_ACCOUNT_EMAIL "your_email"
canifi-env set GOOGLE_ACCOUNT_PASSWORD "your_password"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS 尊重你的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用你的已认证会话,且永远不会看到你的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭据仅能在你的本地设备访问,绝不会被传输。
Capabilities
功能特性
- Personalized Headlines: Get news personalized based on interests and search history
- Topic Coverage: Follow topics for comprehensive coverage from multiple sources
- Full Coverage: View complete story coverage with different perspectives
- Location News: Get local news based on your location
- Fact Check: Access fact-check labels and source credibility information
- 个性化头条:根据兴趣和搜索历史获取个性化新闻
- 主题报道:关注特定主题,获取多来源的全面报道
- 完整报道:查看同一事件的不同视角完整报道
- 本地新闻:根据你的位置获取本地新闻
- 事实核查:访问事实核查标签和来源可信度信息
Usage Examples
使用示例
Get Headlines
获取头条
User: "Show me today's top headlines from Google News"
Assistant: Returns personalized top stories and breaking news用户: "给我展示今天Google News的头条新闻"
助手: 返回个性化头条和突发新闻Follow Topic
关注主题
User: "Follow 'Climate Change' topic on Google News"
Assistant: Adds topic to your followed interests for ongoing coverage用户: "在Google News上关注‘气候变化’主题"
助手: 将该主题添加到你的关注兴趣中,以便持续获取报道Full Coverage
完整报道
User: "Show full coverage for the latest tech industry story"
Assistant: Returns multiple perspectives and sources for the story用户: "展示最新科技行业事件的完整报道"
助手: 返回该事件的多个视角和来源Local News
本地新闻
User: "What's happening in San Francisco today?"
Assistant: Returns local news for San Francisco area用户: "今天旧金山有什么动态?"
助手: 返回旧金山地区的本地新闻Authentication Flow
认证流程
- Uses Google account authentication
- OAuth 2.0 for third-party access
- Personalization requires signed-in account
- Cross-device sync with Google account
- 使用谷歌账号认证
- 采用OAuth 2.0进行第三方访问
- 个性化功能需要已登录账号
- 跨设备同步谷歌账号数据
Error Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Auth Failed | Invalid Google credentials | Re-authenticate with Google |
| Region Limited | Content not available | Check regional restrictions |
| Rate Limited | Too many requests | Implement request throttling |
| Topic Not Found | Invalid topic ID | Search for valid topic |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 认证失败 | 谷歌凭据无效 | 重新通过谷歌认证 |
| 区域限制 | 内容不可用 | 检查区域限制 |
| 请求受限 | 请求次数过多 | 实现请求限流 |
| 主题未找到 | 无效主题ID | 搜索有效的主题 |
Notes
注意事项
- Free service with Google account
- AI-powered story clustering
- Available in 120+ countries
- Newsstand for magazine subscriptions
- Web, iOS, and Android apps
- Privacy controls in Google account settings
- 谷歌账号可免费使用该服务
- AI驱动的故事聚类
- 支持120多个国家和地区
- 提供杂志订阅的报刊亭功能
- 支持网页端、iOS和Android应用
- 谷歌账号设置中有隐私控制选项