Ticket #46 (accepted enhancement)

Opened 20 months ago

Last modified 12 months ago

Access to sort key meta-data

Reported by: anonymous Owned by: kovidgoyal
Priority: minor Milestone:
Component: Graphical User Interface Version: trunk
Keywords: Cc:

Description

The lrs and lrf file formats appear to support a "sort-key" field for title and author in addition to the main fields. Could you please add support for these fields? It would be really spiffy to be able to have an author entry like: "Eric Flint & David Weber" sort as "Flint, Eric & Weber David"

Change History

  Changed 20 months ago by kovidgoyal

Hmm its not clear to me exactly what you want. Do you want support for these in the GUI, in lrf-meta, the LRF creation tools? All of the above?

I'm not convinced that adding support for a sort key to the GUI is really worth it, as I doubt most users would go to the trouble of entering this information for every single book in the library. But I'm open to being convinced. Can you outline a use case where this would be really useful, because it's a non-trivial amount of code especially for the GUI.

  Changed 20 months ago by dfsuther@…

All of the above. Note that iTunes-style data entry would make it much easier. You know... search for all books by "David Weber", highlight all of them, enter the Author Sort key value "Weber, David" et voila! Done with a whole mess of books all at once. When I look at my collection, the number of authors is a good deal smaller than the number of books. Even just having this for html2lrf would be good, however.

  Changed 20 months ago by anonymous

This is known as "reading" attribute of the Autor/Title elements:

<Title reading="1984">1984</Title>
<Author reading="Orwell, George">George Orwell</Author>

The reading value is used by Reader for sorting, while the element itself is used for displaying.

follow-up: ↓ 5   Changed 20 months ago by kovidgoyal

  • status changed from new to assigned

Added support to LRF generation tools

in reply to: ↑ 4   Changed 20 months ago by dfsuther@…

Replying to kovidgoyal: Thanks for adding this to html2lrf. Would it be possible to add it to lrf-meta as well? That would let me update existing lrfs as well as creating new ones.

  Changed 20 months ago by kovidgoyal

Added support to lrf-meta in r274

Note: See TracTickets for help on using tickets.