rework domain field
Publish image / publish (push) Failing after 14s

This commit is contained in:
Worph
2026-09-02 00:04:19 +02:00
parent 5b03be5f82
commit e9bf9d3f34
2 changed files with 338 additions and 62 deletions
+3 -1
View File
@@ -508,8 +508,10 @@ fn into_discovery_record(
fields.insert("fileType".into(), "document".into());
fields.insert("contentKind".into(), "book".into());
// A book's identity graph is Gutenberg/ISBN → `literature`
// (METADATA_KEYS.md §1). Written with the kind, never derived on read.
// (METADATA_KEYS.md §1), and a book is a work complete in itself →
// `standalone`. Written with the kind, never derived on read.
fields.insert("domain".into(), "literature".into());
fields.insert("workForm".into(), "standalone".into());
fields.insert(
"sourceUrl".into(),
format!("https://www.gutenberg.org/ebooks/{id}"),