The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SOAP::ISIWoK::Sword - Push records from ISI WoK to a SWORD endpoint

SYNOPSIS

        use SOAP::ISIWoK::Sword;

        $isi = SOAP::ISIWoK->new();

        # search ISI
        $xml = $isi->search( $query, max => 10 );

        # sword client
        $ua = SOAP::ISIWoK::Sword->new();

        # set the sword endpoint
        $ua->sword( "http://foo/sword-app" );
        $ua->sword_auth( $username, $password );

        # populate the available collections
        $r = $ua->request_collections();

        # add a stylesheet to our pool
        $uri = $ua->parse_stylesheet( $filename );

        # pick a collection to submit to
        $collections = $ua->collections();
        $collection = $collections->[0];

        # transform ISI XML to SWORD records
        $recs = $collection->transform( $xml );

        # post a record to the SWORD collection
        $r = $collection->submit( $recs->[0] );

METHODS

1 POD Error

The following errors were encountered while parsing the POD:

Around line 41:

=over is the last thing in the document?!