Print

Print


Can't you use:
http://www.loc.gov/standards/codelists/gacs.xml
?
It's what I used to make marccodes.heroku.com/gacs/

Although like Karen pointed out, not sure why you can't use the
RDF/XML from id.loc.gov

-Ross.

On Wed, Jun 22, 2011 at 5:44 PM, Jonathan Rochkind <[log in to unmask]> wrote:
> Can anyone remind me if there's a machine readable copy of the MARC
> geographic codes available at any persistent URL?
>
> They're in HTML at http://www.loc.gov/marc/geoareas/gacs_code.html . I
> actually had a script that automatically downloaded from there and "scraped"
> the HTML -- but sometime since I wrote the script, the HTML structure on the
> page changed and it broke.
>
> (I kind of thought that was unlikely since that HTML page itself was machine
> generated -- but I guess they changed the software that generated it.
> Certainly I knew that scraping HTML was a bad thing to rely on... which is
> why I hope LC provides this in some format less likely to change?)
>