Normal drift

Metadata to DBK in ONIX

DBK skifter, i forbindelse med den opgraderede Bogportal, datagrundlag til ONIX-standard

Den opgraderede Bogportal vil være baseret på data med den europæriske ONIX-standard, der definerer hvordan data registreres og udtrykkes på boglige materialer.

Overgangen til ONIX-standard vil skabe et mere ensartet datagrundlag på tværs af branchen.

Overgangen medfører blandt andet ændringer i: 

  • Opdaterede materialetyper 
  • Opdaterede undskyldningskoder 
  • Dataleverance i ONIX-format


Følgende beskrivelser vil være på engelsk, da informationen primært er henvendt til udvikling og dokumentation. 

For danske hjælpeartikler se mere i Hjælpeuniverset. 

In English

As part of the project for the new Bogportalen platform, the format for delivering metadata to Bogportalen is being changed from an older Bogportalen format to the standard ONIX format.

ONIX is an international standard for book data, already used by several of DBK’s customers in other contexts, which makes it appropriate for DBK to adopt the standard as well.

You can read more about ONIX in general at Editeur.

From the very extensive list of fields in the full international standard, DBK is engaging in dialogue with customers who both supply and receive metadata, to define a limited set of fields that ensures the data is both relevant and useful.

A webinar about metadata to DBK in ONIX has been held. Watch the webinar here.

Onix fields

In general, ONIX data must be delivered in ONIX version 3.1

Files sent to DBK should be encoded in UTF-8 to ensure correct display of special characters. 

Below are the ONIX fields supported by DBK.

Date Version Download Comments
08.01.2026
1.3
Updated specification with adition of further ProductType and ProductTypeDetail fields. Added support for POD fields. Also adjusted specification for propritary standard for Ombytning
19.12.2025
1.2
Updated specification on how “ombytning possible” is set as a return option on books.
25.11.2025
1.1
Items in specification rearranged and renamed to comply with onix 3.1 requirements.
14.10.2025
1.0
Fixed specifications, with fields and functionality for april 2026 go-live
29.09.2025
0,7
Added support for discount codes. Sample file is updated with adjusted way of adding multiple keywords to a product
16.09.2025
0,6
Updated draft based on feedback from customer webinars and direct feedback from customers
01.09.2025
0,5
First draft of fields. Used for dialogue with DBK customers regarding the final fields. Please note that the format is subject to approval by DBK’s customers and has not yet been finally approved.

Reason codes (undskyldningskoder) mapping

In the previous data deliveries, reason codes (undskyldningskoder) was a direct part of the data delivery. Reason codes doesn’t exist 1:1 in Onix, but can be defined, using different combinations of  the fields <MarketPublishingStatus> and <ProductAvailability>. 

See list of reason codes (undskyldningskoder) mapping examples. 

See list of DBK’s recommended mapping. 

Mapping against current format

In the document below, is a list with all the fields that are available in the current data to Bogportalen, and what fields are included in the new format. Use the list to verify if the fields not in scope are used for something important in your systems and processes. 

Green = Included in both current and new data delivery

Yellow = Not included in the new data delivery, but under consideration for a future update

Red = Not included and not planned for future data deliveries

Thema coes (27)

The default classification of books in Onix, is Thema codes. 

A full list of thema codes can be found here

Materialtypes

Material Types in the Upgraded Bogportal Will Be Expressed in ONIX Codes/Text

In the upgraded Bogportal, material types will be specified using ONIX codes and text.
When DBK converts data from the existing Bogportal to the upgraded version, existing material types will be converted into the relevant ONIX codes and texts.

In the ONIX standard, material types are defined at two levels:

  • ProductForm

  • ProductFormDetail

The ONIX standard contains a wide range of possible combinations between ProductForm and ProductFormDetail.

To ensure that the industry operates on as uniform a basis as possible, DBK has defined a set of recommended combinations. These will replace the majority of the material types currently used in the existing Bogportal.

You can read more here:

Please note that, as part of the preparations for the upgraded Bogportal, DBK will convert existing material types to the new recommended combinations.

Bookstore classification (27, 24)

Although Thema is the standard classification for books, the older format ‘Boghandlernes varegrupper’ (Booksellers’ product groups) is also included as an optional proprietary subject scheme “24” within “27”. Since ‘Boghandlernes varegrupper’ is still widely used in the Danish book industry, it is therefore supported in the ONIX fields used by DBK.

See a list of Boghandlernes varegrupper

What products are displayed to bookstore and internet?

Publishers:
Publishers can see all their products, regardless of the MarketPublishingStatus of their products. 

Bookstores and webshops:
Bookstores and webshops see products based on the settings in MarketPublishingStatus. 

Products with the following code is hidden from bookstores and webshops ~ internal view:

  • 08 (Inactive)

FAQ Onix fields

We're already sending Onix to other partners. Can we reuse that delivery for DBK?

There is no issue with including additional fields in the data delivery beyond those listed in DBK’s field list, as long as the fields comply with the standard ONIX XSD. Any extra fields will simply be ignored by DBK during data import.

How do we send keywords

To provide multiple keywords for a product, the keywords should be added as semicolon-separated values – eg:

<Subject>
    <SubjectSchemeIdentifier>20</SubjectSchemeIdentifier> <!– Keywords –>
    <SubjectHeadingText>krimi; nordic noir; spændingsroman; politiroman; seriemorder</SubjectHeadingText>
</Subject> 

Spørgsmål til denne side?

Indsend dit spørgsmål i nedenstående formular, så vender vi tilbage hurtigst muligt.

Søg på dbk.dk: