Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 788 Bytes

notes.md

File metadata and controls

34 lines (19 loc) · 788 Bytes

newn

A Symfony project created on March 16, 2017, 3:20 pm.

To do

Have separate fields in Work for LC Subject and for PP Subject.

One is a select list, one is free text maybe. Dunno.

LCSH

For LCSH, do something like this:

(from http://id.loc.gov/techcenter/searching.html )

$ curl -v http://id.loc.gov/authorities/label/marriage--drama

The locatin header in the result is something like

Location: http://id.loc.gov/authorities/subjects/sh2008107247

Then get the data for sh2008107247 (the ID of the subject heading)

$ curl -H 'Accept: application/json' -v http://id.loc.gov/authorities/subjects/sh2008107247 

Which will redirect to

Location: http://id.loc.gov/authorities/subjects/sh2008107247.json

Which is the parseable, usable version.