[Share] 获取期刊分区信息并写入到“其他”中 #507
zhikaiyici
started this conversation in
Action Scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
此脚本的目的是代替绿青蛙获取期刊信息的功能,目前绿青蛙获取期刊信息功能是依赖于easy scholar实现的,对于每一个条目都需要调用一次easy scholar接口来实现期刊信息的更新,即使多个期刊文章条目是同一期刊,效率较低,且每年更新期刊信息更新时短时间大量调用接口信息容易导致被禁。
脚本的原理是利用style插件的期刊标签功能在zotero数据目录创建的
zoterostyle.json
文件,从中读取期刊信息然后写入“其他”中。P.S. style插件的期刊标签更新逻辑:调用easy scholar接口,将期刊信息写入
zoterostyle.json
文件中,后续在zotero中显示时,从此文件中读取期刊信息。即每个期刊只需要调用一次接口,减少了调用次数。TODO: 不依赖于style插件,实现style插件的期刊标签更新逻辑。
Event
Creat Item
Operation
Script
Data
Anything else
通过添加或删除下列
if
语句块定义想要显示的期刊信息,前提是在easy scholar和style插件中已经选择了相应的数据集。Beta Was this translation helpful? Give feedback.
All reactions