l0o0 / jasminum

A Zotero add-on to retrive CNKI meta data. 一个简单的Zotero 插件,用于识别中文元数据
GNU Affero General Public License v3.0
5.25k stars 280 forks source link

硕博论文元数据识别,发表日期字段有问题[BUG] #301

Closed cjhonlyone closed 14 hours ago

cjhonlyone commented 1 week ago

BUG说明

请填写下面的版本信息 Zotero 版本:7 Jasminum 插件版本:1.0.0-16

知网元数据字段有误

拉取的元数据日期为2021年 image 源论文提交日期与知网日期均为2020年 image image

另外有个小问题,我想自行编译该插件 npm install npm run build-dev 得到xpi文件,我切换到1.0.0-16版本的代码,结果却编译出版本号1.0.0-15,且安装后插件无法启动, 请问这是什么原因?感谢!

image

(3)(+0017902): Installing plugin jasminum@linxzh.com (3)(+0000015): Installed plugin jasminum@linxzh.com (3)(+0000002): Calling bootstrap method 'install' for plugin jasminum@linxzh.com version 1.0.0-15 with reason ADDON_INSTALL (3)(+0000001): Calling bootstrap method 'startup' for plugin jasminum@linxzh.com version 1.0.0-15 with reason ADDON_INSTALL (1)(+0000000): Error running bootstrap method 'startup' on jasminum@linxzh.com (1)(+0000001): Error opening input stream (invalid filename?): jar:file:///C:/Users/caopc/AppData/Roaming/Zotero/Zotero/Profiles/mc8c4cft.default/extensions/jasminum@linxzh.com.xpi!/chrome/content/scripts/index.js

jiaojiaodubai commented 1 week ago

时间采用的是知网上架论文的时间,也就是网络出版时间,而不是论文完稿时间,这个跟论文采用出版日期是一样的,不过考虑到知网导出的也是以论文落款时间为准,我会在 Translator 中完善。

至于构建,仓库的 releases 是用 release-it 脚本发布的,并非构建后手动发布,所以默认构建的还是 -15

jiaojiaodubai commented 1 day ago

已修复,知网更新了接口,新旧接口导出的信息不同。

cjhonlyone commented 14 hours ago

感谢作者!