Home
Blog
Overview of all products
SalesData
LibraryData
CataList
Loan Stars
BiblioShare
Webform
EDI
Products for publishers
Products for retailers
Products for libraries
Information for authors
BNC Research
Canadian literary awards
SalesData & LibraryData Research Portal
Events
Tech Forum
Webinars & Training
Code of Conduct
Standards
EDI standards
Product identifiers
Classification schemes
ONIX standards
About
Contact us
Media
Bestseller lists
Newsletters
Podcast
Jobs
SalesData
LibraryData
CataList
BiblioShare
Webform
EDI

BookNet Canada

Home
Blog
Overview of all products
SalesData
LibraryData
CataList
Loan Stars
BiblioShare
Webform
EDI
Products for publishers
Products for retailers
Products for libraries
Information for authors
BNC Research
Canadian literary awards
SalesData & LibraryData Research Portal
Events
Tech Forum
Webinars & Training
Code of Conduct
Standards
EDI standards
Product identifiers
Classification schemes
ONIX standards
About
Contact us
Media
Bestseller lists
Newsletters
Podcast
Jobs
SalesData
LibraryData
CataList
BiblioShare
Webform
EDI
Tom Richardson
September 22, 2020
ONIX, Standards & Metadata

Grouping products in ONIX using the Collection composite

Tom Richardson
September 22, 2020
ONIX, Standards & Metadata

Goals, mine and yours

The first instalment of a mini-series about the use of ONIX’s Collection composite written by @BookNet_Canada's Bibliographic Manager Tom Richardson.
CLICK TO TWEET

ONIX’s primary concern is simply to carry publisher-created book metadata to retailers, cleanly and preferably without duplication. While there are specific elements in the standard intended for use in display (easily identified by their support of XHTML formatting), the vast majority of ONIX metadata is NOT intended to allow the sender to specify how the end user can display their product. Instead, the data is sent appropriately defined to support the data’s use by the end user, meaning that the display is largely a choice based on their clients' needs.

I start here because the Collection composite in ONIX 3.0 has a reputation for being complicated and I hope to show you otherwise. I also ask you to consider that ONIX 2.1 Series metadata has been poorly supported by North American retailers. This situation was created, in part, by the variety of solutions used by data senders to suit their perception of the display needs of one very large retailer. Expecting ONIX 3.0’s Collection to match what publishers did for ONIX 2.1’s Series will make it seem confusing, not least because series data provided by senders in ONIX 2.1 wasn’t generally supported as EDItEUR intended. As always, the transition to ONIX 3.0 gives us a chance to do better metadata and solve problems. My goal is to promote the use of ONIX as EDItEUR intends it because that’s how we avoid “flavours of ONIX.”

Animated gif of Yoda saying "You must unlearn what you have learned."

As you probably know, a collection is a grouping of products that in the simplest case are created and marketed by a publisher. Publishers need retailers to display that group of products to their customers, but one ONIX record can only show a single product’s place in that grouping. Meaning that retailers must create their client facing display by assembling it from the publisher’s metadata. For example, book “A” is a member of a Collection that includes multiple subcollections, subcollection one, two, and three. In order for a retailer to create a full Collection listing with all its subcollections they must assemble their information one record at a time.

Visual representation of collections.

That’s why publishers focusing on controlling the display of the retailer’s page for a single book record aren’t going to deliver what retailers need to support a collection as a whole. But rest assured Series name isn’t the only tool EDItEUR makes provision for.

Product Title

Both composites P.6 Product Title Detail and P.5 Collection Title Detail contain identical support for a repeating Title Element composite. One difference is all ONIX records must support a Product Title entry while Collection entry is only provided when it’s needed. So we’ll start at one of the big but largely ignored changes in the transition from ONIX 2.1 to 3.0 — how titles are recorded.

The books:

  • The Niece’s Bishop’s Friend: A Novel

  • Desert Desserts: Sweet Meals' End

Preferred method in ONIX 3.0

xpath Reference tag:

Product//DescriptiveDetail//TitleDetail//TitleElement

<TitleDetail>
<TitleType>01</TitleType> <!-- List 15 “Distinctive Title” -->
<TitleElement>
<SequenceNumber>1</SequenceNumber>
<TitleElementLevel>01</TitleElementLevel> <!-- List 149 “Product Level” -->
<TitlePrefix>The</TitlePrefix>
<TitleWithoutPrefix>Niece’s Bishop’s Friend</TitleWithoutPrefix>
<Subtitle>A Novel</Subtitle>
</TitleElement>
</TitleDetail>

<TitleDetail>
<TitleType>01</TitleType> <!-- List 15 “Distinctive Title” -->
<TitleElement>
<SequenceNumber>1</SequenceNumber>
<TitleElementLevel>01</TitleElementLevel> <!-- List 149 “Product Level” -->
<NoPrefix/>
<TitleWithoutPrefix>Desert Desserts</TitleWithoutPrefix>
<Subtitle>Sweet Meals' End</Subtitle>
</TitleElement>
</TitleDetail>

xpath Short tag:

product//descriptivedetail//titledetail//titleelement

<titledetail>
<b202>01</b202> <!-- List 15 “Distinctive Title” -->
<titleelement>
<b034>1</b034>
<x409>01</x409> <!-- List 149 “Product Level” -->
<b030>The</b030>
<b031>Niece’s Bishop’s Friend</b031>
<Subtitle>A Novel</Subtitle>
</titleelement>
</titledetail>

<titledetail>
<b202>01</b202> <!-- List 15 “Distinctive Title” -->
<titleelement>
<b034>1</b034>
<x409>01</x409> <!-- List 149 “Product Level” -->
<x501/>
<b031>Desert Desserts</b031>
<b029>Sweet Meals' End</b029>
</titleelement>
</titledetail>

This is the preferred way to present a title in ONIX 3.0 which is different than how it’s done in ONIX 2.1. Here all titles would appear with the same main title field being used: <TitleWithoutPrefix> | <b031> and either carry a <TitlePrefix> | <b030> or the <NoPrefix/> | <x501/> empty set as needed. It’s preferred because it simplifies data and presents the main title for indexing consistently in the same tag: <TitleWithoutPrefix> | <b031>. I’ve also intentionally included <SequenceNumber> | <b034> for reasons I’ll discuss below.

The common but more complicated method in ONIX 3.0

xpath Reference tag:

Product//DescriptiveDetail//TitleDetail//TitleElement

The common method uses the following and <TitlePrefix> example above without supporting the <NoPrefix/> empty set or <SequenceNumber>.

<TitleDetail>
<TitleType>01</TitleType> <!-- List 15 “Distinctive Title” -->
<TitleElement>
<TitleElementLevel>01</TitleElementLevel> <!-- List 149 “Product Level” -->
<TitleText>The Niece’s Bishop’s Friend</<TitleText>>
<Subtitle>A Novel</Subtitle>
</TitleElement>
</TitleDetail>

<TitleDetail>
<TitleType>01</TitleType> <!-- List 15 “Distinctive Title” -->
<TitleElement>
<TitleElementLevel>01</TitleElementLevel> <!-- List 149 “Product Level” -->
<TitleText>Desert Desserts</TitleText>
<Subtitle>Sweet Meals' End</Subtitle>
</TitleElement>
</TitleDetail>

xpath Short tag:

product//descriptivedetail//titledetail//titleelement

The common method uses the following and <b030> example above without supporting the <x501/> empty set or <b034>.

<titledetail>
<b202>01</b202> <!-- List 15 “Distinctive Title” -->
<titleelement>
<x409>01</x409> <!-- List 149 “Product Level” -->
<b203>The Niece’s Bishop’s Friend</b203>
<b029>A Novel</b029>
</titleelement>
</titledetail>

<titledetail>
<b202>01</b202> <!-- List 15 “Distinctive Title” -->
<titleelement>
<x409>01</x409> <!-- List 149 “Product Level” -->
<b203>Desert Desserts</b203>
<b029>Sweet Meals' End</b029>
</titleelement>
</titledetail>

This is almost identical to ONIX 2.1 and preserves its weird choice between <TitleText> | <b203> OR <TitlePrefix> | <b030> with <TitleWithoutPrefix> | <b031>. And it looks shorter without that seemingly useless sequence number. But note that I needed to add an example to cover off not supporting title indexing, which is not a “preferred way” even in ONIX 2.1. Optimistic 3.0 assumes you want to support better metadata. You really should be able supply index-ready titles and gain the advantage of not needing to support <TitleText> | <b203> in any record.

Think about it. Having a book's main title always appearing in one consistent place is actually very very useful and a genuine improvement. We should be implementing to use index-ready titles supported by <TitleWithoutPrefix> | <b029> with <TitlePrefix> | <b030> or the <NoPrefix/> | <x501/> empty set.

The next step is to consider what options exist for Title, which will be covered in our next two instalments of this blog mini-series.

Transition Notes

  • ONIX 3.0’s rules prohibit Title Text AND With Prefix/Without Prefix being used together in the same composite. That’s a common choice in ONIX 2.1 that isn’t available in 3.0. In ONIX 2.1, supplying TitleText (b203) with the Prefix entries allowed it to function as the consistent place to find the book title, but it did it without indexing support.

  • Title With Prefix/Without Prefix must only be used if you support indexing. If you don’t support indexing the correct way to send a title is in the <TItleText> | <b203> element. Please don’t default to sending records with prefixes in TitleWithoutPrefix (b031) because end users should be able to process records knowing what they get.

  • All of the examples above are allowed by ONIX 3.0’s validation rules. Data receivers will need to plan for them and to be aware that ONIX 3.0 does not eliminate every opportunity for poor choices by data senders.

    • Data processors should also note that there are multiple TitleTypes (titles have more purposes than the mandatory “01” distinct product title entry). For some use cases presenting title data without indexing may make more sense. The preferred method should be used for Title Type 01 “distinct title,” but end users shouldn’t program to only support the preferred way to fully support other Title Type entries.


Visit the links below to read the second and third instalments of this mini-series.

  • Grouping products in ONIX: Title Detail and Title Element composites

  • Grouping products in ONIX: Collections

Subscribe

Don’t miss any new blog posts. Sign up for our weekly eNews to receive updates.

You can unsubscribe at any time. We respect your privacy.

Thank you!
Recent posts
Canadian book borrowers in 2024
Canadian book borrowers in 2024

Insights into the behaviour of Canadian book borrowers.

Read More →
Standards goals for 2025: A recap and a conversation about what may be next
Standards goals for 2025: A recap and a conversation about what may be next

Book supply chain standards are changing rapidly, let us help identify which recent updates are relevant to you.

Read More →
May 2025 Loan Stars Junior Canadian top picks
May 2025 Loan Stars Junior Canadian top picks

Find out what titles made it to the May 2025 Loan Stars Junior Canadian list.

Read More →
Canadian book buyers in 2024
Canadian book buyers in 2024

Insights into the behaviour of Canadian book buyers.

Read More →
Common metadata issues and how to fix them: Forgetting to include related products in your metadata
Common metadata issues and how to fix them: Forgetting to include related products in your metadata

Tips on including related products in your metadata.

Read More →
Podcast: Canadian bookmark project
Podcast: Canadian bookmark project

This month we’re talking with Chandler Jolliffe, owner of Cedar Canoe Books in Huntsville.

Read More →
 The Canadian Book Consumer Study 2024 is now available
The Canadian Book Consumer Study 2024 is now available

Get a free copy of the study in PDF or EPUB format today!

Read More →
Subject spotlight: Body, Mind &amp; Spirit
Subject spotlight: Body, Mind & Spirit

Sales and library circulation data of Body, Mind & Spirit titles during the the first quarter of 2025.

Read More →
ONIX Codelist 69 released
ONIX Codelist 69 released

Insights into the latest updates and additions made to ONIX codelists.

Read More →
5 questions with Caitlin Press
5 questions with Caitlin Press

5 questions with Sarah Vasu from Caitlin Press.

Read More →
Using Thema to identify diverse content in product metadata: worked example #15
Using Thema to identify diverse content in product metadata: worked example #15

Featuring River in an Ocean: Essays on Translation edited by Nuzhat Abbas.

Read More →
Subject spotlight: LGBTQ+
Subject spotlight: LGBTQ+

Sales and library circulation data of LGBTQ+ titles during the fourth quarter of 2024.

Read More →

Tagged: collection composite, onix 2.1 to onix 3.0, onix 3.0

Newer PostTech Forum 2020 recap: Standards & metadata
Older Post2020 library use and book buying in Canada half-year review
Blog RSS

The Canadian Book Market 2024 is the comprehensive guide to the Canadian market with in-depth category data.

Get your copy now

Listen to our latest podcast episode


  • Research & Analysis 446
  • Ebooks 304
  • Tech Forum 266
  • Conferences & Events 261
  • Standards & Metadata 227
  • Bookselling 218
  • Publishing 194
  • ONIX 177
  • Marketing 152
  • Podcasts 117
  • ebookcraft 112
  • BookNet News 99
  • Loan Stars 71
  • Libraries 66
  • BiblioShare 59
  • SalesData 51
  • 5 Questions With 48
  • CataList 42
  • Thema 42
  • Awards 30
  • Diversity & Inclusion 20
  • Publishing & COVID-19 18
  • Sustainability 10
  • LibraryData 9
  • EU Regulations 8
  • ISNI 4

 

 

BookNet Canada is a non-profit organization that develops technology, standards, and education to serve the Canadian book industry. Founded in 2002 to address systemic challenges in the industry, BookNet Canada supports publishing companies, booksellers, wholesalers, distributors, sales agents, industry associations, literary agents, media, and libraries across the country.

 

Privacy Policy | Accessibility Policy | About Us

BOOKNET CANADA

Contact us | (416) 362-5057 or toll free 1 (877) 770-5261

We acknowledge the financial support of the Government of Canada through the Canada Book Fund (CBF) for this project.

Back to Top

BookNet Canada acknowledges that its operations are remote and our colleagues contribute their work from the traditional territories of the Mississaugas of the Credit First Nation, the Anishnawbe, the Haudenosaunee, the Wyandot, the Mi’kmaq, the Ojibwa of Fort William First Nation, the Three Fires Confederacy of First Nations (which includes the Ojibwa, the Odawa, and the Potawatomie), and the Métis, the original nations and peoples of the lands we now call Beeton, Brampton, Guelph, Halifax, Thunder Bay, Toronto, Vaughan, and Windsor. We endorse the Calls to Action from the Truth and Reconciliation Commission of Canada (PDF) and support an ongoing shift from gatekeeping to spacemaking in the book industry.