惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Vulnerabilities – Threatpost
U
Unit 42
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Full Disclosure
月光博客
月光博客
Engineering at Meta
Engineering at Meta
博客园_首页
The Register - Security
The Register - Security
G
Google Developers Blog
The Cloudflare Blog
博客园 - Franky
K
Kaspersky official blog
A
Arctic Wolf
Scott Helme
Scott Helme
C
Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
NISL@THU
NISL@THU
AI
AI
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Vercel News
Vercel News
T
Tor Project blog
P
Privacy International News Feed
D
Docker
I
Intezer
L
LangChain Blog
P
Proofpoint News Feed
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
博客园 - 聂微东
AWS News Blog
AWS News Blog
Martin Fowler
Martin Fowler
P
Privacy & Cybersecurity Law Blog
V
V2EX
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
T
Tenable Blog
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

博客园 - atempcode

Debugging Visualizer for UEFI type 僵尸窗口 SCMBUG 邮件乱码的解决方法 在Eclipse里使用Visual Studio的快捷键 Subversion in 2010 The case of Trac installation won’t run Ad in Stackoverflow.com becomes annoying 饭否mashup: Popfly入门 (二) 饭否mashup: Popfly入门 GIT vs SVN Which Parts of China Have You Been To? 黄秋生 美丽的梭罗河 偏光鏡用法: PL, CPL I do not like itunes 焦距 单镜反光相机 光圈 DSLR和DC的差异 Firefox的饭否Toolbar 1.1
Importing notes in Google Notebook to Evernote
atempcode · 2010-02-07 · via 博客园 - atempcode

2010-02-07 16:48  atempcode  阅读(642)  评论()    收藏  举报

Google Notebook在去年被抛弃了, 最近一直在用Evernote, 用的挺好的, 就想把原来在Google Notebook里的notes倒进来.

Evernote 提供有 Google Notebook importer, 按照它提供的方法需要先从 Google Notebook 里把notes输出为Atom格式. 不幸的是, Google 提供的Exporter 不能支持Unicode, 中文在导出的文件里是一个个的"?". Google已经不支持Notebook了, 只能自己想办法了. 好在Notebook还支持 Google Data API, 虽然已经 Deprecated, 但输出个全文Atom还是不成问题的:

curl http://www.google.com/notebook/feeds/userID/notebooks/notebookID?updated-max=2010-06-04T17:40:00-07:00&updated-min=2003-01-01T17:40:00-07:00&max-results=100

杯具总是一个接着一个的, 在Google Notebook importer 上导入这个文件, 得到的错误是格式不支持. 对比了一下从Google exporter上直接导出的, 没看出有什么大的区别, 我也懒得再比了, 自己动手, 丰衣足食: Evernote 支持从电子邮件生成note, 就是你往某个Evernote为你指定的信箱发mail, mail的内容会自动加为note. 于是祭出Python, 写个脚本分析Atom, 把每个Entry发到信箱, 在Gmail的SMTP server 拒绝服务两次后, 终于全部导入. 现在除了导入Note的日期全是今天而不是原先的日期外, 一切正常. 我想, 用Evernote提供的API 能解决这个问题, 但目前是没时间折腾了.