webfinger / client.webfinger.net

https://client.webfinger.net/
Apache License 2.0
20 stars 4 forks source link

The 'template' key is not displayed. #8

Closed zoowar closed 8 years ago

zoowar commented 8 years ago

At least one entry has a template key, which the tool is not displaying.

{"rel": "http://ostatus.org/schema/1.0/subscribe",
 "template": "https://example.com/{url}"}
willnorris commented 8 years ago

template is not part of the JRD definition in the WebFinger spec: https://tools.ietf.org/html/rfc7033#section-4.4.4

willnorris commented 8 years ago

Do you have an example document that includes this?

zoowar commented 8 years ago

Feel free to close this, as "template" is not part of the spec as you have demonstrated. In any case, it is part of the OStatus protocol, which I'm not advocating. A live example can be found here

willnorris commented 8 years ago

huh, interesting. @evanp, do you recall why that is? I forget, did a previous draft of webfinger include template and maybe that's what OStatus was using?

willnorris commented 8 years ago

Ah, yeah I think that's it. Earlier versions of WebFinger were based on XRD which did include a template, but it was later removed from WebFinger/JRD. Searching the mailing list archives shows several discussions about this which I had actually forgotten about.

evanp commented 8 years ago

There you go