Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
egardner opened this issue Aug 24, 2015 · 1 comment
Open
Assignees

Comments

@egardner
Copy link
Contributor

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 egardner self-assigned this Sep 3, 2015
@egardner
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant