Quote:
Originally Posted by kovidgoyal
@davidfor: Tags from multiple metadata sources are often combined by the download system, so the only case where source order is relevant is: 1) when the source has a meaningful order, which is rare 2) And the user has enabled downloads from only a single source, or a book is found in only a single source, which is again rare
|
Yes, when they come from multiple sources, the order can't be determined. With your comments here, I'm surprised that they aren't being sorted before being displayed.
I did look at a few of the sources. From a quick test of a few books and looking at the site, the sources that are returning tags do have an order. This is displayed if I use a singe source. Goodreads, Google and FictionDB all work like that.
Quote:
And the problem is not just one of changing how they are displayed. If you displaying them preserving internal order, then you have to make sure that internal order is preserved by all operations on them, such as editing metadata, the manage tags dialog, the edit tags dialog, exporting/re-importing emtadata from dozens of tag supporting file formts and on and on.
|
At this point, it is more just curiosity. And I don't consider it a waste of time to ferret through the calibre code. But...
The metadata edit dialog and importing and exporting epubs already does maintain the order. The edit tags dialog doesn't and I don't know about other formats. At first I couldn't see why you mentioned the manage tags dialog, but I just realised why. Deleting from this seems to keep the current order. As does deleting from the tag browser. That only leaves the edit tags dialog and import/export from other formats. And how the tags could get used in template code. This was actually the bit that had me the most worried.