ADS WWW PERL Library


Please Notice: as of November 2001, support for this library has been discontinued, although the existing functionality is expected to work for the forseeable future. If possible, we suggest you use the Astro::ADS PERL module instead.

adswww is a package of PERL functions which provide a simple interface to the NASA Astrophysics Data System (ADS) Abstract service. The library is being developed to help the creation of WWW clients and gateways that need to access the ADS WWW databases. The current version is adswww-0.9, which is likely to be the final release of the library.

The major change in version 0.9 is the use of the standard LWP library as the underlying WWW client interface. You can get the latest version of the LWP library from either the project's home page or from the CPAN archive.

Please send all comments, bug reports and requests to the author, Alberto Accomazzi, <alberto@cfa.harvard.edu> .

Applications

The following are prototype programs that use the functionality of the adswww library. They're listed here mainly as examples of how the library can be used.

adsquery.pl
Reads a fielded query either from the command line or from standard input, translates it into an "ADS" abstract service WWW query, submits the query to the ADS abstract server, parses the resulting list of bibliographies, and outputs them as formatted plain text. Only the basic bibliographic data is returned (search score, authors, title, publication date).

bibquery.pl
Reads a list of bibcodes either from the command line or from standard input, translates it into an "ADS" bibcode WWW query, submits the query to the ADS abstract server, parses the resulting list of bibliographies, and outputs them as formatted plain text. All the available fields for the requested bibcodes are returned.

cdsbib.pl
Emulates the CGI script performing WAIS-based searches of the CDS bibliographic services by translating them into queries to the ADS abstract server. It's supposed to be pretty much a drop-in replacement for the existing script currently used at the CDS (as of 3/19/97). To be run as a CGI/1.x script. For a demo of how it works, follow this link.

citations.pl
Submits a WAIS-based query to the ADS abstract service and returns a list of publications that cite the results generated from the query. This is only a demo script (requested by Bill Claspy.

ntrs.pl
Reads a WAIS fielded query (such as the ones generated by the NASA Technical Report Server) either from the command line or from standard input, translates it into an "ADS" abstract service WWW query, submits the query to the ADS abstract server, and prints the resulting HTML document to standard output. A command line option allows the HTML code to be stripped down to its body contents and translates all relative URLs to absolute ones using the information in the the URL;


Alberto Accomazzi
NASA Astrophysics Data System