generated from windingwind/zotero-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Bug] 全面核查条目字段是否需要includeBaseMapped
#77
Labels
bug
Something isn't working
Comments
1 task
还有“案例”条目也会出现这种问题。 |
northword
changed the title
[Bug] Fields for Legal Items 需要单独适配
[Bug] 全面核查条目字段是否需要Sep 11, 2023
includeBaseMapped
1 task
// https://www.npmjs.com/package/zotero-base-mappings?activeTab=readme
module.exports = Object.freeze({
bill: { volume: "codeVolume", pages: "codePages", number: "billNumber" },
case: {
volume: "reporterVolume",
pages: "firstPage",
date: "dateDecided",
number: "docketNumber",
title: "caseName",
},
thesis: { publisher: "university", type: "thesisType" },
film: {
publisher: "distributor",
type: "genre",
medium: "videoRecordingFormat",
},
report: {
publisher: "institution",
number: "reportNumber",
type: "reportType",
},
audioRecording: { publisher: "label", medium: "audioRecordingFormat" },
videoRecording: { publisher: "studio", medium: "videoRecordingFormat" },
tvBroadcast: {
publisher: "network",
publicationTitle: "programTitle",
number: "episodeNumber",
medium: "videoRecordingFormat",
},
radioBroadcast: {
publisher: "network",
publicationTitle: "programTitle",
number: "episodeNumber",
medium: "audioRecordingFormat",
},
computerProgram: { publisher: "company" },
bookSection: { publicationTitle: "bookTitle" },
conferencePaper: { publicationTitle: "proceedingsTitle" },
webpage: { publicationTitle: "websiteTitle", type: "websiteType" },
blogPost: { publicationTitle: "blogTitle", type: "websiteType" },
forumPost: { publicationTitle: "forumTitle", type: "postType" },
encyclopediaArticle: { publicationTitle: "encyclopediaTitle" },
dictionaryEntry: { publicationTitle: "dictionaryTitle" },
patent: { date: "issueDate", number: "patentNumber" },
statute: {
date: "dateEnacted",
number: "publicLawNumber",
title: "nameOfAct",
},
hearing: { number: "documentNumber" },
podcast: { number: "episodeNumber", medium: "audioFileType" },
letter: { type: "letterType" },
manuscript: { type: "manuscriptType" },
map: { type: "mapType" },
presentation: { type: "presentationType" },
interview: { medium: "interviewMedium" },
artwork: { medium: "artworkMedium" },
email: { title: "subject" },
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Environment
Describe the bug
https://www.zotero.org/support/kb/item_types_and_fields
https://www.zotero.org/support/kb/legal_citations
以标题为例,法律条目不包含
title
,而是nameOfAct
,处理时需要将所有法律条目排除在外。或写 utils.getTitle 类似辅助函数。需要全面核查:
includeBaseMapped
? 也许是?Anything else?
Ref #75
The text was updated successfully, but these errors were encountered: