$ show l0o0/translators_CN
This repository is a collection of Zotero translators designed to extract bibliographic metadata from Chinese academic and research websites, enabling users to save references from sources like CNKI, Wanfang, CQVIP, and others directly into the Zotero reference manager. Each translator is a self-contained JavaScript file that implements detection, data extraction, and test cases for a specific website or database. The repository includes infrastructure for maintaining translator quality, featuring a custom ESLint plugin that validates translator headers, enforces coding standards, and checks for compatibility with the Zotero framework. Continuous integration workflows run linting and browser tests to ensure translators function correctly, while a metadata processing script generates summary data for a translator dashboard. While the translators themselves are website-specific and not directly reusable, the ESLint plugin represents a reusable component that can be extracted to validate Zotero translators in other projects. The translators follow a consistent structure with labeled data extraction patterns and extra field handling, demonstrating solid engineering practices for web scraping in the Zotero ecosystem.
The LLM identified 1 files worth highlighting for reuse:
This is a standalone ESLint plugin that provides a custom processor to handle the unique header and test case sections of Zotero translators, along with a set of rules to validate translator metadata, enforce coding standards, and ensure compatibility with the Zotero framework. It can be extracted and used in any project that maintains Zotero translators.