1 有道云笔记批量导出word
web端登录有道云笔记(https://note.youdao.com/web/)...
如果文章比较多,一个一个 导出比较麻烦,可以使用js脚本:
自动选择文章→右键→导出为word→滚动列表
脚本使用方法:
chrome浏览器打开https://note.youdao.com/web/
F12打开开发控制台,切换到Console面板
拷贝自动导出脚本,粘贴,Enter;等待自动执行即可
自动导出脚本
var exported = {}
function warn(obj) {console.warn(obj)}
function error(obj) {console.error(obj)}
function send_contextmenu(obj) {
var rect = obj.getClientRects()[0]
var evObj = document.createEvent('MouseEvents');
evObj.initMouseEvent('contextmenu',true,true,window,1,0,0,rect.left,rect.top,false,false,false,false,0,null);
obj.dispatchEvent(evObj);
}
function scrol(obj, y){
var evt = document.createEvent('MouseEvents');
evt.initEvent('wheel', true, true);
evt.deltaY = +y;
var element = obj;
element.dispatchEvent(evt);
}
var pages = $('.file-item .title');
function download_page(index) {
if (index >= pages.length) {
newpages = $('.file-item .title');
if (newpages.length > pages.length) {
pages = newpages
error('导出下一页,总数:'+index)
} else {
error('导出结束,总数:'+index)
}
}
var obj = pages[index]
var top = obj.getClientRects()[0].top
if (top>500) {
scrol($('.abstract-mode')[0], 300)
}
var that = $(obj)
var title = $.trim(that.text());
if (exported[title]) return;
console.warn(index+' 导出:'+title)
send_contextmenu(obj)
setTimeout(function(){
var action = $.trim($($('.menu-li .menu-label')[6]).text())
if (action == '导出为Word') $('.menu-li .menu-label')[6].click()
else error(action +' 不支持')
index++
download_page(index)
},3000)
}
function start() {
warn('开始导出,总数:' + pages.length)
download_page(0)
}
start()
2 word导入notion中
notion中创建一个页面,右上角点点点中选择→import→word,option里面选择 all files:
导入后是一个一个页面,可以右键Move To 到你想归纳的节点中
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。