Save to Notion插件详解
多图预警
一、安装插件
如果有梯子,那么直接在谷歌应用商店搜索Save to Notion,直接安装即可。
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F1101b9cc-ecba-406c-a3f6-f62d4f313de0%2FUntitled.png?table=block&id=89eecb12-1efc-4251-80e0-1c8286488034&cache=v2)
如果没有翻墙软件,可以在一些国内的镜像网站上下载插件,然后手动安装。这里推荐插件小屋,里面附带详细的安装教程可以参考。
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F596d41bc-3c68-4b99-9c1e-4b06560f86d5%2FUntitled.png?table=block&id=30828eed-8586-4ea3-b9c2-ff6c1cfbcadb&cache=v2)
二、具体使用场景和方法
Save to Notion有两种采集模式,一种是Extract Content模式会将网页内容一起采集到Notion,一种是Bookmark模式只保留指定字段的内容。
2.1、收集文章/稍后阅读(Extract Content模式)
这个场景的整体逻辑是:将正在浏览的网页及其内容采集到一个指定的Notion Database中(不能将其采集进一个页面,如果想将文章采集到一个notion页面需要使用其他插件,如Notion Pro Clipper)
第一步,在Notion中新建一个专门用来存放文章的Database
以下是我的Database格式,仅供参考:
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F236b8ce7-4acf-4643-9f19-6894faa2c971%2FUntitled.png?table=block&id=3f3733c3-c9d2-4ea2-b44a-6dfdce5543fa&cache=v2)
按照自己的需求建立数据库和表头之后就可以开始收集文章了。
第二步,关联notion数据库并建立采集模板
2.1、关联数据库
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F96a8893f-c8f1-44f7-895d-3579d0747fef%2FUntitled.png?table=block&id=5a8925c1-2e92-4824-a2cd-bd06e1d77e41&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffbfd8238-c0b5-4706-a1c3-e0dcf8406d9e%2FUntitled.png?table=block&id=96fc062f-1d01-4af2-9dfb-c32029bfe889&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F87803185-1175-42a0-97ca-8981283afdb9%2FUntitled.png?table=block&id=39fd0b21-606e-4733-a2aa-f7fc1e3b444a&cache=v2)
2.2、新增收集模板![notion image](data:image/webp;base64,UklGRjYAAABXRUJQVlA4ICoAAABQAQCdASoJABAABUB8JZwABDOAAP7v+NaMU8n/xQGPI5i4/eXWAPgAAAA=)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F15dfc88e-1eec-4b4b-9c54-4d7f89b5550b%2FUntitled.png?table=block&id=ee43a461-656c-4c5e-bb7b-ed6dadc550d6&cache=v2)
![notion image](data:image/webp;base64,UklGRjAAAABXRUJQVlA4ICQAAAAwAQCdASoJABAABUB8JZwAA3AA/vAXIOBFPJ/69OyUZP4AAAA=)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F87a6df18-aad0-4f38-8a79-c0e363beacf3%2FUntitled.png?table=block&id=637badf1-e2b9-4dff-b578-ac7e2710e45e&cache=v2)
![notion image](data:image/webp;base64,UklGRjIAAABXRUJQVlA4ICYAAABwAQCdASoJABAABUB8JZ2VuAGIAAD+7/jX4EUiyiPRyi4KTVgAAA==)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F7ecdcf3c-a952-40e1-9e21-b8521553ccce%2FUntitled.png?table=block&id=02e466c3-63d6-4dd9-a157-afb903361d5c&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F15dfc88e-1eec-4b4b-9c54-4d7f89b5550b%2FUntitled.png?table=block&id=ee43a461-656c-4c5e-bb7b-ed6dadc550d6&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F87a6df18-aad0-4f38-8a79-c0e363beacf3%2FUntitled.png?table=block&id=637badf1-e2b9-4dff-b578-ac7e2710e45e&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F7ecdcf3c-a952-40e1-9e21-b8521553ccce%2FUntitled.png?table=block&id=02e466c3-63d6-4dd9-a157-afb903361d5c&cache=v2)
2.3、编辑想要收集的字段的填充内容
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fe4c99b78-6eab-45eb-87f6-6e15daf169de%2FUntitled.png?table=block&id=e9688496-1d2a-4cf7-a2f2-e388e43912ec&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F93b62a8c-f35d-4f67-a73e-6833f4a7542f%2FUntitled.png?table=block&id=b8df627a-d43a-45b3-883e-7866ab7ec842&cache=v2)
2.4、保存采集模板
其中的一级标签、二级标签和进度这三个字段是我在数据库中设置为单选或多选的类型,可以直接点击选择就行![notion image](data:image/webp;base64,UklGRjAAAABXRUJQVlA4ICQAAAAwAQCdASoIABAABUB8JZwAA3AA/vAWJRYJ1P/XqRX2ILTJAAA=)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fec27cc9f-61ff-4ffe-bb67-a7637bab9060%2FUntitled.png?table=block&id=c14019ec-9855-4762-b928-c92e33c426ed&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fec27cc9f-61ff-4ffe-bb67-a7637bab9060%2FUntitled.png?table=block&id=c14019ec-9855-4762-b928-c92e33c426ed&cache=v2)
第三步、使用Save to Notion插件收集文章
如果后续要修改采集模板,可以点击右上角的设置图标进行修改
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fff2f5271-c059-417e-be01-71440b3ad55a%2FUntitled.png?table=block&id=001fc764-db06-4ad3-90f0-963c15d27ac7&cache=v2)
效果展示
本文使用的是将内容一起采集下来的方式![notion image](data:image/webp;base64,UklGRjQAAABXRUJQVlA4ICgAAADQAQCdASoQAAsABUB8JaQAA1WBpSGAAAD+6zRrILVkiM515OlkAAAA)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8515f383-0d83-4c2e-99ae-e7e26ef6b5ec%2FSave_to_Notion%25E6%2595%2588%25E6%259E%259C%25E5%25B1%2595%25E7%25A4%25BA.gif?table=block&id=d5907eec-4e4e-4286-971e-65e722fbd825&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8515f383-0d83-4c2e-99ae-e7e26ef6b5ec%2FSave_to_Notion%25E6%2595%2588%25E6%259E%259C%25E5%25B1%2595%25E7%25A4%25BA.gif?table=block&id=d5907eec-4e4e-4286-971e-65e722fbd825&cache=v2)
2.2、豆瓣读书/电影信息采集(BookMark模式)
这里以豆瓣电影的采集为例,其实具体的操作大致相同,只是这里的模式需要选择BookMark模式,并且在获取页面内容时需要手动提供信息的selector来帮助插件定位到具体信息。
第一步,建立Database,我的模板如下
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc4293306-15b2-4dec-a21e-ef98658a941a%2FUntitled.png?table=block&id=701a950d-78d9-4a1b-a5c5-036a6488bedd&cache=v2)
第二步,新建采集模板并采集
这里在获取内容时,导演、演员、简介、评分等内容Save to Notion不会自动识别,需要我们去页面上找并且获取到定位器给Save to Notion,然后才能获取到对应的值。![notion image](data:image/webp;base64,UklGRiwAAABXRUJQVlA4ICAAAACQAQCdASoIABAABUB8JZwAAud9oRgA/u1NEjXYwoAAAA==)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F402628e8-07d1-436d-a421-5ca6bdb7876c%2FUntitled.png?table=block&id=7b9be06d-b3da-4eba-bd2d-a8dba433004d&cache=v2)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F402628e8-07d1-436d-a421-5ca6bdb7876c%2FUntitled.png?table=block&id=7b9be06d-b3da-4eba-bd2d-a8dba433004d&cache=v2)
以获取导演信息为例:
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd2582045-c886-4fa7-9814-744948dd638f%2FSave_to_Notion%25E6%2594%25B6%25E9%259B%2586%25E8%25B1%2586%25E7%2593%25A3%25E7%2594%25B5%25E5%25BD%25B1.gif?table=block&id=272201d6-ed0d-46c4-bd67-bfdfadb8a1ef&cache=v2)
在采集模板中,导演信息对应的数据需要从页面中定位获取,我们需要手动提供信息的定位selector,然后这个模板之后采集相应的信息都会以这个定位器对应的信息为准;其他需要从页面采集的数据也是同样的道理和一样的操作。
不过有些信息及时提供了selector也无法自动获取,所以需要手动添加,比如日期等。
电影采集完成了,那豆瓣读书的采集也是同样的操作即可。
效果展示
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F29aa200d-d9ae-4328-857a-c360fc1d32cc%2FUntitled.png?table=block&id=f27b1d00-914b-48da-b8d8-133e9f6b142d&cache=v2)