{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/vatican_exhibits/issues/127","repository_url":"https://api.github.com/repos/sul-dlss/vatican_exhibits","labels_url":"https://api.github.com/repos/sul-dlss/vatican_exhibits/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/vatican_exhibits/issues/127/comments","events_url":"https://api.github.com/repos/sul-dlss/vatican_exhibits/issues/127/events","html_url":"https://github.com/sul-dlss/vatican_exhibits/issues/127","id":335043950,"node_id":"MDU6SXNzdWUzMzUwNDM5NTA=","number":127,"title":"Manuscript show page: Bibliography section","user":{"login":"ggeisler","id":101482,"node_id":"MDQ6VXNlcjEwMTQ4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/101482?v=4","gravatar_id":"","url":"https://api.github.com/users/ggeisler","html_url":"https://github.com/ggeisler","followers_url":"https://api.github.com/users/ggeisler/followers","following_url":"https://api.github.com/users/ggeisler/following{/other_user}","gists_url":"https://api.github.com/users/ggeisler/gists{/gist_id}","starred_url":"https://api.github.com/users/ggeisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggeisler/subscriptions","organizations_url":"https://api.github.com/users/ggeisler/orgs","repos_url":"https://api.github.com/users/ggeisler/repos","events_url":"https://api.github.com/users/ggeisler/events{/privacy}","received_events_url":"https://api.github.com/users/ggeisler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jkeck","id":96776,"node_id":"MDQ6VXNlcjk2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/96776?v=4","gravatar_id":"","url":"https://api.github.com/users/jkeck","html_url":"https://github.com/jkeck","followers_url":"https://api.github.com/users/jkeck/followers","following_url":"https://api.github.com/users/jkeck/following{/other_user}","gists_url":"https://api.github.com/users/jkeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeck/subscriptions","organizations_url":"https://api.github.com/users/jkeck/orgs","repos_url":"https://api.github.com/users/jkeck/repos","events_url":"https://api.github.com/users/jkeck/events{/privacy}","received_events_url":"https://api.github.com/users/jkeck/received_events","type":"User","site_admin":false},"assignees":[{"login":"jkeck","id":96776,"node_id":"MDQ6VXNlcjk2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/96776?v=4","gravatar_id":"","url":"https://api.github.com/users/jkeck","html_url":"https://github.com/jkeck","followers_url":"https://api.github.com/users/jkeck/followers","following_url":"https://api.github.com/users/jkeck/following{/other_user}","gists_url":"https://api.github.com/users/jkeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeck/subscriptions","organizations_url":"https://api.github.com/users/jkeck/orgs","repos_url":"https://api.github.com/users/jkeck/repos","events_url":"https://api.github.com/users/jkeck/events{/privacy}","received_events_url":"https://api.github.com/users/jkeck/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-06-22T23:16:07Z","updated_at":"2018-06-28T16:43:59Z","closed_at":null,"author_association":"MEMBER","body":"Related to #9 and part of #125. \r\n\r\n_This ticket needs design review from the development team to determine if this is enough information to work with and, if not, what additional information is needed. @blalbrit One question for you is whether we need to make bibliography reference items first-class objects, as with Parker (but without the link to Zotero part). It hasn't come up in our discussions with the Vatican, but we might need to be sure they don't need to be before proceeding with indexing (?)_\r\n\r\nIf a manuscript has one or more bibliography reference items, display the Bibliography section heading and the reference items below it, with the following details:\r\n\r\n- Only display the first two bibliography items when the page is loaded. If there are three or more items, hide them and display the \"Expand bibliography\" button. This is very similar to Parker, except with Parker we displayed up to three items before hiding (here we potentially have much more content to show vertically so limiting to two items makes sure the user knows about them but saves a bit of vertical space to show the manuscript parts section).\r\n\r\n- When the user selects the \"Expand\" button, show all remaining bib items and change the button to be a one with the label \"Collapse bibliography\". \r\n\r\n- Selecting the \"Collapse bibliography\" show return the display to the initial state of up to two items displayed.\r\n\r\n- [Parker is a good example](https://exhibits.stanford.edu/parker/catalog/gz764sr2328) of exactly what we need, but I suggest we try using `btn-sm` rather than `btn-default` for the expand/collapse buttons to make the buttons a bit smaller.\r\n\r\n<img width=\"297\" alt=\"vatican_graffle__public___show_page_for_mss_version_2\" src=\"https://user-images.githubusercontent.com/101482/41802692-870c4f44-7637-11e8-8f34-03c44f2b8c0c.png\">\r\n\r\n### Relevant TEI elements \r\nHere are the paths in the TEI that I believe are associated with the bib item elements:\r\n\r\nAuthor: `titleStmt/author/alias/authorityAuthor[@rif='aut']/text()`\r\nTitle: `titleStmt/title[@level!='u' or not(@level)]/@value`\r\nIn: `TEI.2/teiHeader/fileDesc/titleStmt/title[@level='u']/@value`\r\nIn: `TEI.2/teiHeader/fileDesc/seriesStmt/title[@level = 's']/alias/authorityTitleSeries[@rif='aut']/@value`\r\nType of continuing resources: `TEI.2/teiHeader/fileDesc/seriesStmt/title[not(@level)]/alias/authorityTitleSeries[@rif='aut']/@value`\r\nSeries: `TEI.2/teiHeader/fileDesc/seriesStmt/title[@level = 'm']/alias/authorityTitleSeries[@rif='aut']/@value`\r\nEnumeration: `TEI.2/teiHeader/fileDesc/seriesStmt/title/@n`\r\n\r\n### Example TEI source of bib item\r\nAs a specific example, here's the relevant TEI for one bib item in manuscript [Vat.gr.984](https://digi.vatlib.it/tei/Vat.gr.984.xml):\r\n\r\n```xml\r\n<TEI.2>\r\n    <teiHeader status=\"new\">\r\n      <fileDesc>\r\n        <titleStmt>\r\n          <title type=\"title\">Conservation treatments on the greek manuscripts of the \"Fondo antico\" in the Vatican library under Paul V (1605-1621),</title>\r\n          <title type=\"title\" level=\"u\">Studi in onore del cardinale Raffaele Farina, a cura di A.M. Piazzoni, I (Studi e testi, 477),</title>\r\n          <author reg=\"person\">Choulis, Konstantinos,</author>\r\n        </titleStmt>\r\n        <publicationStmt>\r\n          <pubPlace>Città del Vaticano</pubPlace>\r\n          <date TEIform=\"date\" value=\"\">2013</date>\r\n        </publicationStmt>\r\n        <notesStmt>\r\n          <note anchored=\"yes\">151.</note>\r\n        </notesStmt>\r\n        <sourceDesc default=\"NO\">\r\n          <msDescription>\r\n            <msIdentifier type=\"primary\">\r\n              <repository>Biblioteca Apostolica Vaticana</repository>\r\n              <idno TEIform=\"0\" n=\"Vat.gr.\" rend=\"Vat.gr.00984zzzzz\" type=\"bib\">Vat.gr.984</idno>\r\n            </msIdentifier>\r\n          </msDescription>\r\n        </sourceDesc>\r\n      </fileDesc>\r\n```\r\n \r\n### Example display of bib item\r\nAnd here is how that item is [displayed at DigVatLib](https://digi.vatlib.it/mss/detail/Vat.gr.984): \r\n\r\n> Choulis, Konstantinos, Conservation treatments on the greek manuscripts of the \"Fondo antico\" in the Vatican library under Paul V (1605-1621), In Studi in onore del cardinale Raffaele Farina, a cura di A.M. Piazzoni, I (Studi e testi, 477), 2013\r\n\r\nI think the display could use better formatting so if we want to attempt that we might want to use `<span>`s with distinct class names for the elements that compose the bib item, so we have targets for styling.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sul-dlss/vatican_exhibits/issues/comments/401099201","html_url":"https://github.com/sul-dlss/vatican_exhibits/issues/127#issuecomment-401099201","issue_url":"https://api.github.com/repos/sul-dlss/vatican_exhibits/issues/127","id":401099201,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTA5OTIwMQ==","user":{"login":"ggeisler","id":101482,"node_id":"MDQ6VXNlcjEwMTQ4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/101482?v=4","gravatar_id":"","url":"https://api.github.com/users/ggeisler","html_url":"https://github.com/ggeisler","followers_url":"https://api.github.com/users/ggeisler/followers","following_url":"https://api.github.com/users/ggeisler/following{/other_user}","gists_url":"https://api.github.com/users/ggeisler/gists{/gist_id}","starred_url":"https://api.github.com/users/ggeisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggeisler/subscriptions","organizations_url":"https://api.github.com/users/ggeisler/orgs","repos_url":"https://api.github.com/users/ggeisler/repos","events_url":"https://api.github.com/users/ggeisler/events{/privacy}","received_events_url":"https://api.github.com/users/ggeisler/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T16:43:59Z","updated_at":"2018-06-28T16:43:59Z","author_association":"MEMBER","body":"Discussed with @jkeck and given there are so few bib entries for most manuscripts, and seeing how most (or all) section bib entries are the same entry just with a specific page reference in that entry, we think it makes more sense to dispense with the Bibliography heading and display bib entries as a regular metadata field, with a label \"Bibliography\" and the bib entry value as the field value. \r\n\r\nSame pattern for both manuscript level and section level (i.e., `<bibl>`s in sections are displayed as a metadata field in that section)."}}
{"actor":{"display_login":"ggeisler"}}