From 14ccb2da5b90bd6b0a83f3c7271a96683afb81ca Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Fri, 17 Oct 2025 14:51:06 +0200 Subject: [PATCH] feat: expand smart import to support additional citation formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds detection and parsing support for more input formats that citation.js can handle, making the smart import feature more powerful. New supported formats: - RIS format (common export from EndNote, RefWorks, Zotero) - PubMed Central IDs (PMCID) in addition to existing PMID support - Wikidata IDs (e.g., Q12345 or wikidata:Q12345) - Zenodo records (URLs and IDs like zenodo.1234567) - Citation File Format (CFF) for software citations Benefits: - Users can now paste RIS exports from reference managers directly - Support for Wikidata citations enables citing entities/concepts - Zenodo support facilitates citing datasets and research outputs - CFF support enables proper software citation - Enhanced format detection provides better user feedback The smart parser now detects all these formats automatically and displays the appropriate format hint to users. All formats are processed through citation.js's robust parsing engine. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../Config/QuickAddReferenceForm.tsx | 4 +-- src/utils/bibliography/smart-parser.ts | 26 +++++++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/components/Config/QuickAddReferenceForm.tsx b/src/components/Config/QuickAddReferenceForm.tsx index 6093720..15957e6 100644 --- a/src/components/Config/QuickAddReferenceForm.tsx +++ b/src/components/Config/QuickAddReferenceForm.tsx @@ -175,14 +175,14 @@ const QuickAddReferenceForm = () => {