Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sortable metadata strings #188

Closed
HadrienGardeur opened this issue May 7, 2018 · 2 comments
Closed

Sortable metadata strings #188

HadrienGardeur opened this issue May 7, 2018 · 2 comments

Comments

@HadrienGardeur
Copy link
Member

This is based on my gap analysis between EPUB 3.2 and WP: #176 (comment)

EPUB has the concept of a sortable string through the use of opf:file-as.

In EPUB 2.x this was limited primarily to creator and contributor.

EPUB 3.0.x muddle things up since it introduces refines but it's primarily directed towards creator and contributor once again.

The current EPUB 3.2 draft is a little bit inconsistent in that regard, but it seems to expand the scope of this attribute:

Allowed on: dc:contributor, dc:creator, dc:publisher, dc:title and meta.

It's also worth pointing out that Calibre introduced its own element for sorting titles (calibre:title_sort), probably because it had a strong use case for it, yet it felt like opf:file-as didn't allowed that (which is probably true).

Based on @dauwhe feedback, this might be eventually dropped in EPUB 3.2 but it's worth hearing from the wider community (cc @kovidgoyal, @kevinhendricks) about their need for sortable strings.

Sortable strings are primarily meant for user agents that provide a way for the user to filter and sort their publications based on such strings.

@kovidgoyal
Copy link

Sortable strings are important for calibre. They are used when sorting on title, authors and series. This is done because there is no foolprof algorithm for generating the correct sort order for these fields, especially since the rules for sorting them vary between cultures. So calibre auto-generates a sort value for a given field but also allows users to override it, as needed.

@iherman
Copy link
Member

iherman commented Mar 18, 2019

This issue was discussed in a meeting.

  • No actions or resolutions
View the transcript 2.5. Sortable metadata string
Wendy Reid: #188
Wendy Reid: #188: Sortable metadata strings propose closing topic:manifest topic:metadata
… Reopen if comes up again
… close!
Luc Audrain: +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants