srophe / caesarea

Application repository for Caesarea-Maritima.org
GNU General Public License v3.0
0 stars 0 forks source link

Display "Historical Era(s) Mentioned:" in About this Text #373

Closed davidamichelson closed 2 years ago

davidamichelson commented 2 years ago

This information is found in profileDesc/textClass/catRef @scheme="#CM-NEAEH"

wlpotter commented 2 years ago

@wsalesky here's a bit more info on this issue.

Label will be "Historical Era(s) Mentioned" and will show up in the "About this Text" box under Historical Era Composed. It should be the same processing as creates the "Historical Era Composed" piece field but using the below xpath to get the data:

The data is in //profileDesc/textClass/catRef[@scheme="#CM-NEAEH"]/@target. They will be space-separated uri fragments, e.g. <catRef scheme="#CM-NEAEH" target="#byzantine"/>. These values correspond to the catId elements in the Historical Era Taxonomy.

They can be parsed and displayed in the same way as the //origDate/@period attribute is, with the label and faceted browse link.

wsalesky commented 2 years ago

Done

davidamichelson commented 2 years ago

Thanks!

On Wed, Nov 16, 2022 at 1:23 PM Winona Salesky @.***> wrote:

Done

— Reply to this email directly, view it on GitHub https://github.com/srophe/caesarea/issues/373#issuecomment-1317552109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXQ37PHQJKY4QNKBF5YRZLWIUYDHANCNFSM6AAAAAAR54ITUM . You are receiving this because you authored the thread.Message ID: @.***>