Fen Labalme > XRI-0.2.4 > XRI

Download:
XRI-0.2.4.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.2.4   Source  

NAME ^

XRI - Resolver for eXtensible Resource Identifiers

SYNOPSIS ^

    use XRI;
    my $XRI = XRI->new($xri);

    $XRI->resolveToAuthorityXML;
    print $XRI->{descriptorXML};

    $XRI->resolveToLocalAccessURI;
    $XRI->resolveToLocalAccessURI(service, type);
    print $XRI->{localAccessURL};

    print $XRI->doGet;

ABSTRACT ^

Resolve an XRI to a LocalAccess URL or an XRIAuthority Descriptor

DESCRIPTION ^

The XRI Resolver Library resolves an XRI to a LocalAccess URL or an XRIAuthority Descriptor. It can also be used to actually fetch the data at the LocalAccess URL.

FATAL ERROR STRINGS ^

These strings are returned via die() so trap them by running library calls within an eval{} block $@ will be set to the error code, if any.

    RelativePathNotXRIAuthority for passed service or type
    URIAuthorityNotXRIAuthority for passed service or type
    UnknownAuthority: $subseg
    NoDescriptorXML for $url
    MalformedXRIDescriptor for $url
    NoLocalAccessFound for XRI $self->{xri}

BUGS ^

SEE ALSO ^

XRI OASIS TC: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xri

XRI Specification: http://www.oasis-open.org/committees/download.php/5109/xri-syntax-resolution-1.0-cd.pdf

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

Wiki: http://xrixdi.idcommons.net/

AUTHOR ^

Fen Labalme, <fen@idcommons.net>

COPYRIGHT AND LICENSE ^

Copyright 2004 Identity Commons

See LICENSE.

syntax highlighting: