thegetty / terracottas

Ancient Terracottas from South Italy and Sicily, by Maria Lucia Ferruzza
http://www.getty.edu/publications/terracottas
Other
10 stars 2 forks source link

Add links to biblio entries from Catalogue Entry biblio sections #5

Open egardner opened 9 years ago

egardner commented 9 years ago

When a catalogue entry lists a bibliographic entry in short form, ex.

Passion for Antiquities 1994

it should automatically link back to the long-form reference in the catalogue-wide bibliography page:

Passion for Antiquities 1994 A Passion for Antiquities: Ancient Art from the Collection of Barbara and Lawrence Fleischman. Exh. cat. Malibu, J. Paul Getty Museum, 1994.

This probably means that each individual bibliographic reference needs an id, and each bibliographic entry in the catalogue text needs to be associated with a correct id.

An enhanced version of this feature would include the ability to view the full info of a short biblio entry on click/hover via AJAX request. This would probably require creating a site-wide data file like bibliography.yml as a central source of info.

egardner commented 8 years ago

The basic way to do this would be to add unique IDs to each one of the bibliographic entries in bibliography.md, like this:

- <span class="smcaps" id="bib001">Abruzzese Calabrese 1987</span>

  Abruzzese Calabrese, G. “Un’attestazione del culto di Hyakinthos a
  Taranto,” *Taras* 7, nos. 1–2 (1987), pp. 7–33.

We could use whatever numbering scheme desired as long as it is consistent. Here I'm using bibXXX because there are about ~250 bibliographic entries. Linking to these from anywhere in the text is pretty straightforward.

@geealbers Can we enlist someone to help go through and do this en masse here? This sounds more like an editorial/content task than a development one... Also I don't want to start such an undertaking unless there is confirmation that this is the right way to go.