NAME

xriresolve.pl - CLI to Resolver for eXtensible Resource Identifiers

SYNOPSIS

xriresolve.pl [-n] [-l] [-s service] [-t type] XRI

ABSTRACT

This is the command line interface to the XRI Resolver library

DESCRIPTION

This is the command line interface to the XRI Resolver library. In its default form (with no options) it returns (to STDOUT) the XRI Descriptor for the Authority portion of the passed XRI. Tracing information is written to STDERR.

A return value that begins with the string "$error: " indicates an error. Text following the $error string attempts to describe the error, and is documented in the XRI library.

OPTIONS

-l return the Local Access URI (as opposed to the XRIDescriptor XML, which is the current default behavior)

-n argument to turn off tracing

-s service return URI to Authority that matches service

-t type return URI to Authority that matches type

TODO

  • Note that when returning the XRI Descriptor, the local access URI segment(s) - e.g. anything after the first forward slash - are lost. Find them!

  • Once tracing is fixed in the XRI library, add a -d (debug) flag to turn *on* tracing

SEE ALSO

XRI(3)

Mailing list: http://idcommons.net/cgi-bin/mailman/listinfo/icdev

Identity Commons wiki: http://wiki.idcommons.net/

AUTHOR

Fen Labalme, <fen@idcommons.net>

COPYRIGHT AND LICENSE

Copyright 2004 Identity Commons

See LICENSE.