Help with creating a working RDF to import PDFs and metadata into Zotero

Hello,

I am trying to import metadata and PDF files into Zotero using RDF, but I am having trouble with the attachment process. I’ve been generating an RDF file where I define the articles with their metadata (titles, authors, etc.) and specify the PDF file paths. However, Zotero is not correctly attaching the PDF files during the import. The PDFs are placed in a files/ subfolder, but Zotero doesn't import them as files, only as linked references.

Could someone help me with the correct RDF structure to ensure that the PDFs are properly attached to their respective references during the import into Zotero?

Here is the RDF structure I’m using (simplified for reference):



conferencePaper
Sample Title


Author Name




attachment
imported_file
Full Text PDF
files/sample.pdf



What am I missing or doing wrong in the RDF structure to ensure that Zotero attaches the PDF files correctly during import?

Thank you in advance for your help!
  • You'd want to put the RDF sample on a code sharing site like pastebin.com or gist.github.com or so. That said, any reason you're set on RDF? Unless you have unusual or very fine-grained metadata, something simple like RIS is much easier to generate and will work just fine.
  • Thank you for your suggestion!
    I’ve uploaded the RDF sample to GitHub Gist for easier sharing and review. Here is the link: https://gist.github.com/XaviBerne/c381e7a99d7d7ab47155eea58c0f1210

    I'm hoping this will help in resolving the issue where Zotero imports the metadata but doesn't correctly associate the PDFs with the references. Any guidance would be greatly appreciated!

    Thanks again for your help!
Sign In or Register to comment.