Skip to content

Commit

Permalink
更新0.2.1,删除字段前缀
Browse files Browse the repository at this point in the history
  • Loading branch information
redleafnew committed Jul 10, 2022
1 parent e65d920 commit bd01d4f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions chrome/content/scripts/zoteroupdateifs.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,12 +506,12 @@ Zotero.UpdateIFs.updateSelectedItem = async function (items) {

// 设置影响因子
if (sciIf && ifCurrent !== undefined) {
items[i].setField(sciIfField, '影响因子: ' + ifCurrent);
items[i].setField(sciIfField, ifCurrent);

};
// 设置5年影响因子
if (sciIf5 && if5Year !== undefined) {
items[i].setField(sciIf5Field, '5年影响因子: ' + if5Year);
items[i].setField(sciIf5Field, if5Year);

};
//北大中文核心
Expand Down Expand Up @@ -760,12 +760,12 @@ Zotero.UpdateIFs.setChineseIFs = async function (item) {

// 复合影响因子
if (fuIf && fuIfFill !== undefined) {
item.setField(fuIfField, '复合影响因子: ' + fuIfFill);
item.setField(fuIfField, fuIfFill);

};
// 综合影响因子
if (zongIf && zongIfFill !== undefined) {
item.setField(zongIfField, '综合影响因子: ' + zongIfFill);
item.setField(zongIfField, zongIfFill);

};
item.save();
Expand Down
10 changes: 5 additions & 5 deletions install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<RDF:Description
RDF:about="urn:mozilla:install-manifest"
em:id="zoteroupdateifs@redleafnew.me"
em:name="Zotero Update IFs"
em:version="0.2.0"
em:name="Zotero Update Journal Information"
em:version="0.2.1"
em:type="2"
em:creator="Minyi Han"
em:description="Zotero plugin for update IF from easyScholar/"
em:description="Zotero plugin for update journal information from easyScholar/"
em:homepageURL="https://github.com/redleafnew/zotero-updateifsE"
em:updateURL= "https://raw.githubusercontent.com/redleafnew/zotero-updateifsE/main/update.rdf">
<em:type>2</em:type>
Expand Down Expand Up @@ -39,9 +39,9 @@
<em:localized>
<Description>
<em:locale>zh-CN</em:locale>
<em:name>Zotero更新影响因子</em:name>
<em:name>Zotero更新期刊信息</em:name>
<em:creator>Minyi Han</em:creator>
<em:description>从easyScholar更新期刊影响因子</em:description>
<em:description>从easyScholar更新期刊信息</em:description>
<em:homepageURL>https://github.com/redleafnew/zotero-updateifsE</em:homepageURL>
</Description>
</em:localized>
Expand Down
6 changes: 3 additions & 3 deletions update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>0.2.0</em:version>
<em:version>0.2.1</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>zotero@chnm.gmu.edu</em:id>
<em:minVersion>5.0.0</em:minVersion>
<em:maxVersion>6.*</em:maxVersion>
<em:updateLink>https://github.com/redleafnew/zotero-updateifse/releases/download/0.2.0/zotero-updateifs.xpi</em:updateLink>
<em:updateLink>https://github.com/redleafnew/zotero-updateifse/releases/download/0.2.1/zotero-updateifs.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

Expand All @@ -21,7 +21,7 @@
<em:id>juris-m@juris-m.github.io</em:id>
<em:minVersion>4.999</em:minVersion>
<em:maxVersion>6.*</em:maxVersion>
<em:updateLink>https://github.com/redleafnew/zotero-updateifse/releases/download/0.2.0/zotero-updateifs.xpi</em:updateLink>
<em:updateLink>https://github.com/redleafnew/zotero-updateifse/releases/download/0.2.1/zotero-updateifs.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

Expand Down

0 comments on commit bd01d4f

Please # to comment.