Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (25 sloc) 1.043 kB
e7c0fc6 added table to fetch xrds document via yadis
erik authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
30e7572 added author and desc meta info
erik authored
3 <meta>
4 <author>Erik Eldridge</author>
5 <description>
6 fetch an XRDS document via yadis. For more info see
7 http://openid.net/specs/openid-authentication-2_0.html#discovery
8 </description>
9 <sampleQuery>select XRD.Service.URI from {table} where uri="http://www.yahoo.com/"</sampleQuery>
10 </meta>
e7c0fc6 added table to fetch xrds document via yadis
erik authored
11 <bindings>
12 <select itemPath="" produces="XML">
13 <inputs>
30e7572 added author and desc meta info
erik authored
14 <key id="uri" type="xs:string" paramType="variable" required="true"/>
e7c0fc6 added table to fetch xrds document via yadis
erik authored
15 </inputs>
16 <execute><![CDATA[
17 var req = y.rest(uri),
18 headers = req.accept('application/xrds+xml').get().headers,
19 xrdsUri = headers['x-xrds-location'],
20 xrdsReq = y.rest(xrdsUri).get().response;
21
22 response.object = xrdsReq;
23 ]]></execute>
24 </select>
25 </bindings>
30e7572 added author and desc meta info
erik authored
26 </table>
Something went wrong with that request. Please try again.