redleafnew / zotero-updateifsE

Green Frog https://github.com/redleafnew/zotero-updateifs 的easyScholar数据版。更新影响因子,其他一系列工具,详见Readme
GNU Affero General Public License v3.0
662 stars 22 forks source link

feat: Update publicationTitle handling in KeyExampleFactory #157

Closed wzh4464 closed 3 months ago

wzh4464 commented 3 months ago

会议论文不应该用简单用publicationTitle. 这里选择的处理办法是先使用conferenceName, 如果没有的话再用proceedingTitle.

This commit updates the handling of the publicationTitle in the KeyExampleFactory class. It now checks the item type and retrieves the appropriate field value for the publication title. If the item type is journalArticle, it retrieves the publicationTitle field. If the item type is conferencePaper, it retrieves the conferenceName field. If the conferenceName field is not available, it retrieves the proceedingsTitle field. The retrieved value is then encoded using encodeURIComponent().

redleafnew commented 3 months ago

你都测试过了是吧,我没有多少精力维护了。

wzh4464 commented 3 months ago

自己平台测试过了。辛苦辛苦啊。