srophe / srophe-eXist-app

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

Move literary tradition membership from relations sidebar to identity box #1000

Open nathangibson opened 7 years ago

nathangibson commented 7 years ago

Where a work belongs to a literary tradition (i.e., has relation/@ref='skos:broadMatch' to another work), we would like this info to appear in the Identity box rather than the relations sidebar.

E.g., http://wwwb.library.vanderbilt.edu/exist/apps/srophe/work/410 currently shows in the sidebar:

This work has broad match 1 work . Alexandra (literary tradition) - ܐܠܟܣܢܕܪܐ
( Bibliotheca Hagiographica Syriaca Electronica) Alexandra is a literary tradition comprising several texts with varying contents.URI: http://syriaca.org/work/2057

We would like this excluded from the relations sidebar and the following shown at the bottom of the identity box:

Literary Tradition

Alexandra (literary tradition) - ܐܠܟܣܢܕܪܐ
URI: http://syriaca.org/work/2057 = CPG 6036

The CPG number should come not from the current record but from the literary tradition record, i.e. /TEI/text/body/bibl/idno[@type='CPG'] in http://syriaca.org/work/2057.

Thanks!