NAME
daia - DAIA command line client
VERSION
version 0.35
DESCRIPTION
You can pass either an URL which will be queried, or a string of serialized DAIA. The serialization format (JSON or XML) can be specified or it will get guessed. You can use this as a proxy to convert serialization format or just show the result in HTML - in this case you can also validate DAIA/XML against the XML Schema.
USAGE
To get usage information call this script with -?
, -h
or --help
as only parameter. Options can be passed as key=value
pairs and the first parameter is treated as filename or URL to read from (use '-' for STDIN as set by default).
daia input.xml out=json # convert to DAIA/JSON (default)
daia input.json out=xml # convert to DAIA/XML
SEE ALSO
See Plack::App::DAIA and Plack::App::DAIA::Validator for DAIA server implementations.
AUTHOR
Jakob Voss
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jakob Voss.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.