Git Product home page Git Product logo

Comments (3)

jiaojiaodubai avatar jiaojiaodubai commented on July 1, 2024

cf0d945 完成

from translators_cn.

doubanchan avatar doubanchan commented on July 1, 2024

@jiaojiaodubai

DOI格式化

newItem.DOI = attr(doc, '.bd li > a[href*="dx.doi.org"]', 'href');

改成

newItem.DOI = attr(doc, '.bd li > a[href*="dx.doi.org"]', 'href').replace(/^(http:\/\/dx.doi.org\/)/,"");

可以去掉前面的 http://dx.doi.org/

插入CSTR标识符

item.extra += addExtra('publicationTitle', labels.getWith('期刊') || '**科学院科技论文预发布平台');

前增加一行
item.extra += addExtra('CSTR',text(doc, '.bd li > a[href*="cstr.cn/CSTR"]', 'href').replace(/^(CSTR:)/,""));
可以在extra插入 CSTR标识符。

可能未注册DOI
Test cast中,平台提供了doi标识符值,不过该doi目前无法解析,且因为无超链接,也无法用前面的函数抓取到。您看一下。

from translators_cn.

jiaojiaodubai avatar jiaojiaodubai commented on July 1, 2024

DOI格式化
可以去掉前面的 http://dx.doi.org/

观察testcases发现,Zotero似乎会自己清理这个部分?就像ISSN一样。

插入CSTR标识符

我明天连同这里提到的问题一起修复一下。

可能未注册DOI

正如之前所说,我们无法对平台提供的数据负责。(我甚至遇到过doi指向某些不可描述的网站😓)

from translators_cn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.