srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 11 forks source link

taxonomy browse: Categories #1211

Open dlschwartz opened 4 years ago

dlschwartz commented 4 years ago

@wsalesky I'm guessing that recent changes to Srophe have broken some browse features in the taxonomy. The "Categories" option in browse should show a list of the headwords that include a @subtype="category" on the entryFree element.

When one of those headwords is selected, the result should be data on that headword but also a list of the headwords under that category. Those are the entries that have a relation element with a @ref="skos:broadMatch" and administration in the @passive attribute: https://github.com/srophe/srophe-app-data/blob/dev/data/subjects/tei/armies.xml#L135 (and following). This currently seems to show up under the heading "External relationships" but something like "sub-categories" would be better. Also, could these maybe go on the right side under "Status: draft". I think they ought to show up a bit better than they currently do.

wsalesky commented 4 years ago

This should be fixed, how does it look now?

dlschwartz commented 4 years ago

That did it. Thanks Winona!

dlschwartz commented 4 years ago

@wsalesky it looks like this is broken again too. Thanks.

dlschwartz commented 4 years ago

@wsalesky to clarify, this should just list the categories. It should just display any keyword that has a //entryFree/@sutype="category"