l0o0 / translators_CN

Zotero translator中文网页抓取翻译器🎉This is Zotero translators for Chinese Sites(beta), not the official Zotero repo
GNU Affero General Public License v3.0
4.03k stars 523 forks source link

add (Modern History.js) 新增抗日战争与近代中日关系文献数据平台 #308

Closed jiaojiaodubai closed 6 months ago

jiaojiaodubai commented 7 months ago

网址: https://www.modernhistory.org.cn/#/ 期刊文章在Scaffold里面GET不到result,非常奇怪。 不知用document记录的“档案”条目是否合适。 @zepinglee

zepinglee commented 7 months ago

不知用document记录的“档案”条目是否合适。 @zepinglee

有没有具体的示例?感觉 collection 更格式吧,document 相当于 BibTeX 的 @misc,是找不到更合适的类型时使用的。

collection

An archival collection in a museum or other institution

document A catch-all category for items not belonging to other types; Use a more specific type when appropriate

jiaojiaodubai commented 7 months ago

有没有具体的示例?

这里

抱歉,我更新的时候把测试用例更没了。 目前的代码输出结果如下

{
    "itemType": "document",
    "creators": [
        {
            "firstName": "",
            "lastName": "日本法务省",
            "creatorType": "author",
            "fieldMode": 1
        }
    ],
    "notes": [],
    "tags": [],
    "seeAlso": [],
    "attachments": [],
    "language": "jp-JP",
    "url": "https://www.modernhistory.org.cn/#/Detailedreading?fileCode=0002_da_0002",
    "libraryCatalog": "抗日战争与近代中日关系文献数据平台",
    "title": "BC級(中華民國裁判関係)漢口裁判第二号事件",
    "abstractNote": "本数据经上海交通大学出版社授权发布,仅供学术研究使用用。以任何形式用于商业目的,请务必与版权方联系。",
    "archive": "戦争犯罪裁判関係資料",
    "archiveLocation": "平11法务4A-17-5406",
    "extra": "Id: 47TWRgB2\nNum Pages: 45\nprovider: 日本国立公文书馆",
    "accessDate": "2024-01-28T10:50:47Z",
    "id": "47TWRgB2"
}

感觉 collection 更合适吧

我没在Zotero的条目类型中找到collection

[
    "annotation",
    "artwork",
    "attachment",
    "audioRecording",
    "bill",
    "blogPost",
    "book",
    "bookSection",
    "case",
    "computerProgram",
    "conferencePaper",
    "dictionaryEntry",
    "document",
    "email",
    "encyclopediaArticle",
    "film",
    "forumPost",
    "hearing",
    "instantMessage",
    "interview",
    "journalArticle",
    "letter",
    "magazineArticle",
    "manuscript",
    "map",
    "newspaperArticle",
    "note",
    "patent",
    "podcast",
    "preprint",
    "presentation",
    "radioBroadcast",
    "report",
    "statute",
    "thesis",
    "tvBroadcast",
    "videoRecording",
    "webpage",
    "dataset",
    "standard"
]
zepinglee commented 7 months ago

我说错了,应该是 CSL 的 collection,即在 extra 填写 Type: collection,zotero 的文献类型可以用 document。

根据《中国社会科学的示例》,“卷宗号或其他编号”(archiveLocation)对应“戦争犯罪裁判関係資料 平11法务4A-17-5406”,而“收藏机构或单位”(archive)对应“日本国立公文书馆”。

Screenshot 2024-01-28 at 19 44 01
jiaojiaodubai commented 7 months ago

前述问题已解决