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

很多论文在zotero都无法显示等级,但是在谷歌搜索的时候可以显示等级 #183

Open
xcc658228 opened this issue Oct 21, 2024 · 3 comments

Comments

@xcc658228
Copy link

例如
A Counterfactual Collaborative Session-based Recommender System
我在谷歌学术可以显示是CCFA,但是在zotero中没办法显示,开了会员之后还是一样

@redleafnew
Copy link
Owner

数据来源于easyScholar,如果上面没有,这上也没有了

@xcc658228
Copy link
Author

谢谢你的回答,但是这个问题在于,我用easyScholar插件查找论文的时候其实显示了CCFA,在zotero中左键点击标签,也会在右下角弹出CCFA的查找信息,但是不显示在期刊标签中

@redleafnew
Copy link
Owner

在easyScholar网站上可以查到吗?

或是运行一下这个代码,看看结果是什么?

  // var items = ZoteroPane.getSelectedItems();
  var items = Zotero.getActiveZoteroPane().getSelectedItems();
  var item = items[0]; 
  let secretKey = Zotero.Prefs.get('extensions.zotero.greenfrog.secretkey', true);
  //publicationTitle =encodeURIComponent(item.getField('publicationTitle'));
  var publicationTitle = Zotero.ItemTypes.getName(item.itemTypeID) == 'journalArticle' ?
      encodeURIComponent(item.getField('publicationTitle')) :
      encodeURIComponent(item.getField('conferenceName') );
   
  var url = `https://easyscholar.cc/open/getPublicationRank?secretKey=${secretKey}&publicationName=${publicationTitle}`;
  let req = await Zotero.HTTP.request('GET', url, { responseType: 'json' });
  return req.response['data']["officialRank"]["all"]

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