Page 1 of 1

LOC template assistance

Posted: Sun Jun 24, 2018 4:29 am
by David Campbell
I'm trying to revise the scanner field for file #35586 (Jean Henri Ravina, Nocturne, Op.13) using the LOC template without luck.

The LOC URL is as follows:
https://www.loc.gov/item/sm1882.17826/

Entering the information thusly
{{LOC||music/sm1882.17826|0}}

creates this link:
http://hdl.loc.gov/loc.music/sm1882.17826

which LOC redirects to this link:
https://www.loc.gov/resource/sm1882.17826

resulting in an error 500.

Am I doing something wrong here? Thanks.

Re: LOC template assistance

Posted: Sun Jun 24, 2018 4:27 pm
by cypressdome
The LOC template should be considered deprecated. Going forward we should use the LOCitem template. The url for the Ravina Nocturne is https://www.loc.gov/item/sm1882.17826/ so the scanner field would be {{LOCitem|sm1882.17826}}.

Re: LOC template assistance

Posted: Sun Jun 24, 2018 8:05 pm
by David Campbell
Much better. I keep a Word file of various templates, etc. that I use for IMSLP: I guess I hadn't worked with an LOC link lately. Thanks.