The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

update_doc - command-line program for updating a document in a document management system.

SYNOPSIS

update_doc file.svg [file2.svg dir/ ...]

    Options:
   -h, --help                    Prints a brief help message
   -m, --man                     Displays full man page
   -D, --debug=integer           Prints debug messages
   -V, --version                 Prints version information
   -s, --server                  URL of the dms server
   -r, --resource                URI for the service
   -p, --properties              Set properties for the doc
   -k, --keyword_add             Adds the list of keywords
   -d, --keyword_remove          Removes the given keywords
   -S, --state                   Sets the state of the document

DESCRIPTION

update_doc - This program is a client-side tool for updating properties of a document stored in a document management system via SOAP. Specifically, it's used for updating the metadata in SVG files in the Open Clip Art Library (http://www.openclipart.org).

OPTIONS

-V, --version

Displays the version number of the script and exits.

-h, --help

Displays a brief usage message

--man

Displays the man page

-D num, --debug=num

Prints debug messages. The higher num, the more detailed the debug messages will be.

-s server_url, --server=server_url

The URL of the Document::Manager server to connect to. By default, it uses 'http://localhost:8012'.

-r resource_uri, --resource=resource_uri

The URI of the service provided by the server. By default, it uses 'http://www.openclipart.org/Document/Manager'. Users should not typically need to alter this setting.

-p property=value, --properties=property=value

Sets one or more properties for the document

-k keyword(s), --keyword_add=keyword(s)

Adds the keyword or keywords to the document

-d keyword(s), --keyword_remove=keyword(s)

Removes the keyword or keywords from the document

-S state, --state=state

Sets the state of the document

PREREQUISITES

SOAP::Lite, Pod::Usage, Getopt::Long

AUTHOR

Bryce W. Harrington <bryce at bryceharrington dot com>

http://www.bryceharrington.org

COPYRIGHT

Copyright (C) 2004 Bryce W. Harrington. All Rights Reserved.

    This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

REVISION

Revision: $Revision: 1.2 $