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

推荐订阅源

The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
V
Visual Studio Blog
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
Vercel News
Vercel News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
D
DataBreaches.Net
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
The Cloudflare Blog
宝玉的分享
宝玉的分享
V
V2EX
Microsoft Azure Blog
Microsoft Azure 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 能解决这个问题, 但目前是没时间折腾了.