> This would work, except I would need a way to get all the subjects
> rather than just biology.
-- If you want "all the subjects. [period]", take a look at the download page:

http://id.loc.gov/download/

There are bulk downloads for LCSH and the LC/NACO file of Names.

The suggest service (described in a separate email) is designed to give you the 
top 10 "best" matches based on a left-anchored search, so that it may function 
as a real-time type-ahead service.

Yours,
Kevin

--
Kevin Ford
Network Development and MARC Standards Office
Library of Congress
Washington, DC




> -----Original Message-----
> From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> Joshua Welker
> Sent: Wednesday, June 05, 2013 9:14 AM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] LOC Subject Headings API
> 
> This would work, except I would need a way to get all the subjects
> rather than just biology. Any idea how to do that? I tried removing the
> querystring from the URL and changing "Biology" in the URL to "" with
> no success.
> 
> Josh Welker
> 
> 
> -----Original Message-----
> From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> Michael J. Giarlo
> Sent: Tuesday, June 04, 2013 7:05 PM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] LOC Subject Headings API
> 
> How about id.loc.gov's OpenSearch-powered autosuggest feature?
> 
> mjg@moby:~$ curl http://id.loc.gov/authorities/suggest/?q=Biology
> ["Biology",["Biology","Biology Colloquium","Biology Curators'
> Group","Biology Databook Editorial Board (U.S.)","Biology and Earth
> Sciences Teaching Institute","Biology and Management of True Fir in the
> Pacific Northwest Symposium (1981 : Seattle, Wash.)","Biology and
> Resource Management Program (Alaska Cooperative Park Studies
> Unit)","Biology and behavior series","Biology and environment
> (Macmillan Press)","Biology and management of old-growth forests"],["1
> result","1 result","1 result","1
> result","1 result","1 result","1 result","1 result","1 result","1
> result"],["http://id.loc.gov/authorities/subjects/sh85014203",";
> http://id.loc.gov/authorities/names/n79006962",";
> http://id.loc.gov/authorities/names/n90639795",";
> http://id.loc.gov/authorities/names/n85100466",";
> http://id.loc.gov/authorities/names/nr97041787",";
> http://id.loc.gov/authorities/names/n85276541",";
> http://id.loc.gov/authorities/names/n82057525",";
> http://id.loc.gov/authorities/names/n90605518",";
> http://id.loc.gov/authorities/names/nr2001011448",";
> http://id.loc.gov/authorities/names/no94028058";]]
> 
> -Mike
> 
> 
> 
> On Tue, Jun 4, 2013 at 7:51 PM, Joshua Welker <jwel...@sbuniv.edu>
> wrote:
> 
> > I did see that, and it will work in a pinch. But the authority file
> is
> > pretty massive--almost 1GB-- and would be difficult to handle in an
> > automated way and without completely killing my web app due to memory
> > constraints while searching the file. Thanks, though.
> >
> > Josh Welker
> >
> >
> > -----Original Message-----
> > From: Bryan Baldus [mailto:bryan.bal...@quality-books.com]
> > Sent: Tuesday, June 04, 2013 6:39 PM
> > To: Code for Libraries; Joshua Welker
> > Subject: RE: LOC Subject Headings API
> >
> > On Tuesday, June 04, 2013 6:31 PM, Joshua Welker [jwel...@sbuniv.edu]
> > wrote:
> > >I am building an auto-suggest feature into our library's search box,
> > >and
> > I am wanting to include LOC subject headings in my suggestions list.
> > Does anyone know of any web service that allows for automated
> > harvesting of LOC Subject Headings? I am also looking for name
> authorities, for that matter.
> > Any format will be acceptable to me: RDF, XML, JSON, HTML, CSV... I
> > have spent a while Googling with no luck, but this seems like the
> sort
> > of general-purpose thing that a lot of people would be interested in.
> > I feel like I must be missing something. Any help is appreciated.
> >
> > Have you seen http://id.loc.gov/ with bulk downloads in various
> > formats at http://id.loc.gov/download/
> >
> > I hope this helps,
> >
> > Bryan Baldus
> > Senior Cataloger
> > Quality Books Inc.
> > The Best of America's Independent Presses
> > 1-800-323-4241x402
> > bryan.bal...@quality-books.com
> > eij...@cpan.org
> > http://home.comcast.net/~eijabb/
> >

Reply via email to