In situations when one wants to switch to another webfinger, like for example leaving gmail.com and going to something more personal like franky.me. How to state in the old XRD that now I use a different webfinger so everyone having any kind of subscription to old one can automatically update?
Something in lines of HTTP 301 redirect...
Thanks!
=)
~ elf Pavlik ~
--
(living strictly moneyless already for over 2 years)
http://wwelves.org/perpetual-tripper
http://moneyless.info
http://hackers4peace.net
I have another requirement: I'd like to be able to define a link relation that says, "in addition to the link relations returned by LRDD, also query for these remote link relations".
I'm not sure if such a link relation has been defined, but I was thinking something like this:
<Link rel="external" href="http://www.example.org/paulej/links.xrds"/>
I'm not particularly fond of the word "external", but I cannot think of a better one off-hand.
I can think of two uses for this:
1) The Webfinger server can allow the user to augment link relations of his/her own
2) The Webfinger server can allow device management software to go query devices directly for link relations (the magic of how the Webfinger server becomes aware of the device's "external" URI is another matter... but we can solve that problem somehow)
Do others see value in an "external" link relation?
Paul
looking at XRD spec: http://docs.oasis-open.org/xri/xrd/v1.0/xrd-1.0.html
and JRD: https://tools.ietf.org/html/draft-hammer-hostmeta-17#appendix-A
it has <Expires> element and maybe together with rel="canonical" it would give us sort of a redirect?
i would like if we could find place in a spec for some recommendation on 'redirection' to new location of LRDD and maybe on merging multiple ones (cc Paul)
need for HTTP redirect could add little more complexity...
The "canonical" link relation was not intended for redirection, but for helping to define the most preferred URI out of several similar ones. For example, one could access my blog using two different, but similar, URIs. Use of "canonical" would instruct software interested to know (e.g., Google's search engine) which URI is preferred. I don't see it as useful for redirecting. I would use 3xx.
Paul
> > > On Sun, Jan 8, 2012 at 3:14 AM, elf Pavlik <perpetual-
> tri...@wwelves.org>wrote:
>
> The "canonical" link relation was not intended for redirection, but for helping to define the most preferred URI out of several similar ones. For example, one could access my blog using two different, but similar, URIs. Use of "canonical" would instruct software interested to know (e.g., Google's search engine) which URI is preferred. I don't see it as useful for redirecting. I would use 3xx.
using the 3xx redirection this way i somehow see more as a tool for platform developers / admins to do plumbing in the app...
in the case i've described a person wants to state deprication of given webfinger identifier and association with new one most likely on different domain. i would rather look for a way that person can put this information in a depricated LRDD file, possibly by using <Property> and/or <Link> referencing new webfinger identifier.
once more stating that i changed my webfinger identifier and not just that the LRDD file resides now somewhere else, i might have brought some confusion with referencing HTTP 301 redirect =(
But this is the way the web works. 3xx responses are used all over the place. Browsers handle them automatically. Most libraries that handle HTTP requests do.
Paul
I think ‘lrdd’ might be the right choice. As a part of the registration with IANA that Eran and Blaine did, they opened up this possibility. Form the host-meta RFC referring to LRDD:
Refers to further information about the link's context, expressed as a LRDD ("Link-based Resource Descriptor Document") resource. See RFC 6415 for information about processing this relation type in host-meta documents. When used elsewhere, it refers to additional links and other metadata. Multiple instances indicate additional LRDD resources. LRDD resources MUST have an "application/xrd+xml" representation, and MAY have others.
Assuming this means we could use an “href” type (rather than “template”) in the XRD that comes back from the first LRDD query, then we could use this type to refer to other locations.
One of the reasons why it’s hard for any providers of Webfinger to offer an external location is that the typical user would not know how to use it. It would present all kinds of end-user support challenges. However, I do think it would be a powerful tool for administrators and those who build tools for Webfinger.
One reason I use my own domain name is so that I can control my own identity. I can implement my own Webfinger logic, OpenID server, etc. And I did. But, the typical user cannot do that. So, if you want to offer external LRDD information, you’d have to find a way to present it to the user in terms he/she can understand. I think that’s the hardest part to all of this.
Paul
That makes sense, but it is counter to how things work on the web. If you create a web page and then move it to a new permenant location, we know that because the server returns a 301. Why not use that?
> once more stating that i changed my webfinger identifier and not just
> that the LRDD file resides now somewhere else, i might have brought some
> confusion with referencing HTTP 301 redirect =(
Changing an identifier and moving the location where LRDD link relations are served are two separate things.
If you wish to change the location for which link relations for b...@example.com are served, then I think 301 (or one of the other 3xx responses) is appropriate.
If you want to tell the world that b...@example.com is no longer valid and that people can find you at b...@example.org, then it does make sense to define some <Property/> that would indicate that fact. This would be immensely helpful for spammers looking to track ... never mind. Seriously, it would be useful ;) As things are today, if I change my email address, there is no way for me to reasonably inform everybody. This would be a good way of informing users of a change in address.
Paul
how about first using <Expires> element to state obsolescence
and than just adding new URI in <Alias> element and recommending removing all other elements to only keep
<?xml version='1.0'?>
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
<Subject>acct:depri...@example.com</Subject>
<Expires>2002-05-30T09:00:00</Expires> <!-- DATE IN A PAST -->
<Alias>acct:my-n...@example.net</Alias>
</XRD>
i see still little contradiction in honoring information in a document marked as expired...
or maybe we can just crate a new <Property> element with type for example 'http://webfinger.net/prop/redirect'
<?xml version='1.0'?>
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
<Subject>acct:depri...@example.com</Subject>
<Property type='http://webfinger.net/prop/redirect'>acct:my-n...@example.com</Property>
</XRD>
we could also consider using <Link rel="current"> instead of giving Property a value...
~ elf pavlik ~