• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Net/H13-Jun-2006-639345

t/H13-Jun-2006-207174

MANIFESTH A D13-Jun-200682 76

Makefile.PLH A D13-Jun-2006292 1210

READMEH A D13-Jun-2006701 2817

README

1Yadis 0.7
2Dag Arneson, JanRain Inc.  dag@janrain.com
3
4This library does Yadis discovery and parses XRDS services documents
5(hopefully) as per Yadis spec 0.92.
6
7Dependencies:
8LWPx::ParanoidAgent or LWP::UserAgent
9XML::XPath
10
11Usage is simple:
12
13my $yadis = Net::Yadis->discover($url);
14
15#get the highest priority service matching $type_regexp
16$svc = $yadis->service_of_type($type_regexp);
17$nsvc = $yadis->service_of_type($type_regexp); # next one
18
19@services = $yadis->services; # get all services as a list
20
21$uri = $svc->uri; # The highest Priority URI
22$backupuri = $svc->uri; # URI with next highest priority
23
24@uris = $svc->uris; # or get them as a list
25
26$svc->is_type($type_regexp) # just to be sure
27
28