View Single Post
Old 10-21-2014, 10:14 PM   #1
DavidTC
Connoisseur
DavidTC began at the beginning.
 
Posts: 77
Karma: 10
Join Date: Sep 2011
Device: Nook, Boox C67ML
Calibre2OPDS split tags just doesn't work

I'm faced with a rather surreal and persistent problem, namely, if I have 'split tags' turn on, whenever Calibre2OPDS generates a catalog, all the links in the 'Tag' catalog go to *exactly the same page*.

And it's always the page that the first link should go to. All of the links on the page go to it. This both in the HTML catalog and the XML catalog. (And, yes, I've looked at the page source to confirm they're actually wrong.)

This is on 305 and 308, and I think even older versions.

I've erased settings and started over. I've changed the separator character. Everything. I keep my Java up to data.

I thought for a while I was just configuring things wrong, somehow, but I finally sat down and started running experiments on smaller library subsets, and, yes, the links always go to whatever the first link is on that page. I just added tags of AA@AA and AA@BB to a dozen books, with a split char of @, reran calibre2OPDS, and now there's a new AA link at the top of the Tags page, *and all the links on that page now point there*, to a page that offers me AA or BB.

Interestingly, if that first link *has* no sub-tags (Either because it has no split-tags characters in it, or there's only one sub-tag so it shows the entire thing.), that's not where all the links point. They always point to the first link in the page that has any sub tags.

Incidentally, as far as I can tell, the other sub-tag pages aren't even being generated, although oddly *their* sub pages are. I.e., if I have the tags AA@AA AA@BB, Genre@Blah@One and Genre@Blah@Two, the Genre page isn't being generated, but the Genre@Blah page *is*, and works perfectly. (Except the 'Go backwards in tree' link points to the wrong page. It will say 'Blah' but send me over to 'AA', exactly like the 'Genre' link on the Tags page.)

So, to summarize: calibre2OPDS is only generating the first 'second-level tag' page it runs across, alphabetically. Any time it would generate any other a second-level tag page, it instead uses that one, and makes links to that one.

What the hell is going on? Are other people able to *use* the Tags catalog with split tags?
DavidTC is offline   Reply With Quote