LOC template assistance

General help on the Wiki

Moderators: kcleung, Wiki Admins

Post Reply
David Campbell
active poster
Posts: 113
Joined: Fri Aug 09, 2013 7:09 am
notabot: 42
notabot2: Human

LOC template assistance

Post 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.
cypressdome
active poster
Posts: 569
Joined: Fri Aug 27, 2010 1:10 am
notabot: 42
notabot2: Human
Location: the piney woods of Florida

Re: LOC template assistance

Post 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}}.
David Campbell
active poster
Posts: 113
Joined: Fri Aug 09, 2013 7:09 am
notabot: 42
notabot2: Human

Re: LOC template assistance

Post 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.
Post Reply