boston-library / commonwealth-vlr-engine

Commonwealth-VLR-Engine is a Rails engine for creating Blacklight apps that provide access to content from Solr/Fedora, packaging a number of feature-rich enhancements and modifications.
Apache License 2.0
8 stars 2 forks source link

add Wikipedia to citation formats #134

Closed ebenenglish closed 2 months ago

ebenenglish commented 7 months ago

When I am on the item detail page (catalog#show) And I click the "Cite" link in the Tools widget I should see a section with the Wikipedia citation format

See https://digitalcollections.nypl.org/items/ed807500-7058-013c-bffa-0242ac110005 for an example.

jwillbpl commented 3 months ago

I started implementing last1, first1, last2, first2, etc. parameters, until I came across institution names and inconsistent authors entries (like "Trustman, Benjamin A., Trustman, Julia M." in one array item instead of two). The "vauthors" parameter is also difficult to implement, because of the same inconsistencies. For now, I omitted mentioning authors; the author fields are only suggested and not required.

NYPL uses "author=Digital Collections, The New York Public Library" on all their items.

Useful links regarding citation templates: https://en.wikipedia.org/wiki/Wikipedia:Citation_templates https://en.wikipedia.org/wiki/Template:Cite_web

Let me know what you think.

ebenenglish commented 3 months ago

@jwillbpl OK, in the interest of simplicity, let's limit the citation to include these values:

title
website = DigitalCommonwealth.org
date
url
access-date