feat(metadata): initial implementation of OpenLibrary source (#1764)

This commit is contained in:
James Ward
2026-09-14 08:49:38 +01:00
committed by GitHub
parent 7a9cd31074
commit 9b38a091e1
72 changed files with 1037 additions and 20 deletions
@@ -0,0 +1,4 @@
-- Add OpenLibrary metadata columns
ALTER TABLE book_metadata
ADD COLUMN IF NOT EXISTS openlibrary_id VARCHAR(100),
ADD COLUMN IF NOT EXISTS openlibrary_id_locked BOOLEAN DEFAULT FALSE;
@@ -59,6 +59,10 @@
<dc:identifier id="goodreads">${goodreadsId}</dc:identifier>
<meta refines="#goodreads" property="identifier-type">GOODREADS</meta>
</#if>
<#if openlibraryId?has_content>
<dc:identifier id="openlibrary">${openlibraryId}</dc:identifier>
<meta refines="#openlibrary" property="identifier-type">OPENLIBRARY</meta>
</#if>
<#if applebooksId?has_content>
<dc:identifier id="applebooks">${applebooksId}</dc:identifier>
<meta refines="#applebooks" property="identifier-type">APPLEBOOKS</meta>