Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cjhonlyone opened this issue Sep 10, 2024 · 3 comments
Closed

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

cjhonlyone opened this issue Sep 10, 2024 · 3 comments

Comments

@cjhonlyone
Copy link

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
Copy link
Contributor

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

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

@jiaojiaodubai
Copy link
Contributor

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

@cjhonlyone
Copy link
Author

感谢作者!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants