Re: Using wget to fill in a form
> As others suggest, the query should be something like:
>
> wget http://www.loc.gov/cgi-bin/zgate
> --post-data="ACTION=SEARCH&TERM_1=1886411484&SESSION_ID=1234567"
Yeah, I was messing with the --post-data, but I didn't know I had to use an ACTION key. Will play with that.
> But I get "session expired" :-(
>
> (note the "SESSION_ID" field value is completely arbitrary in the above line)
>
>> And a related side question. From my reading, I've learned that the
>> Z39.50 protocol is used to query databases, usually library related. Is
>> anyone aware of an ISBN database table that can be downloaded by the
>> user, preferably in a format that can be imported into MySQL or
>> PostgreSQL?
>
> Well, according to this:
>
> http://www.loc.gov/z3950/gateway.html#about
>
> You can query the database by means of Z39.50 client, should you find one ;-)
I kind if figured that would be what I needed, but I'm not aware of any Z39.50 clients.
Thanks!
Sent - Gtek Web Mail
Reply to: