Jakob Voß > PICA-Record > winibw2pica

Download:
PICA-Record-0.52.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

winibw2pica - convert WinIBW PICA+ download to valid PICA+

SYNOPSIS ^

winibw2pica [options] inputfile(s)

OPTIONS ^

 -help          brief help message
 -man           full documentation with examples
 -output FILE   write PICA+ records to a given file (default: '-' for STDOUT)
 -prettyxml     pretty print PICA/XML
 -xml           output of records in PICA/XML
 -version       show version information

DESCRIPTION ^

This script can be used to convert "PICA+" download files from WinIBW software to valid PICA+. You can download so called PICA+ from WinIBW with the WinIBW command DOWNLOAD (or just DOW). The calling syntax is

  DOW <n1>[-<n2> ] P[<n3>]

Where n1 ist the first and n2 is the last record number that you want to download from the current result list (staring with 1) and n3 is either a library number or A for all libraries. If you omit n3 then only level 0 will be downloaded. Unfortunately the resulting download format is not valid PICA+ but it includes some additional lines, linebreaks and other nasty stuff. This script tries to clean the WinIBW output and returns PICA+ on success.

If this script failed to convert some data, please first make sure to install the latest version of PICA::Record. If there is still an error afterwards, send me a detailed bug report with the version number of this script, the downloaded data, your WinIBW version number and a detailed list of which WinIBW commands you performed to produce the download.

AUTHOR ^

Jakob Voss jakob.voss@gbv.de

LICENSE ^

This script is published as Public Domain. Feel free to reuse as you like!