feediscovery icon indicating copy to clipboard operation
feediscovery copied to clipboard

Support discovery of feeds for WebFinger identities

Open voxpelli opened this issue 12 years ago • 3 comments

Would be cool if one could discover the feed of a "acct:[email protected]" URL as well (and for the more unofficial "[email protected]").

Just to make this issue complete, I think you're aware of these already, but here's the WebFinger spec I'm refering to: http://tools.ietf.org/html/draft-jones-appsawg-webfinger-00

And the link relation to look up would probably be the "http://schemas.google.com/g/2010#updates-from" one according to: http://code.google.com/p/webfinger/wiki/CommonLinkRelations

voxpelli avatar Mar 09 '12 13:03 voxpelli

@voxpelli That is an amazing idea! How would you see the API and algorithm for this?

API: GET http://[email protected] ?

Algorithm: Do the magic dance and find all urls for this webfinger, then, for each of them, grab the feeds?

superfeedr avatar Mar 09 '12 14:03 superfeedr

@superfeedr I would do it like this I think:

API: GET http://feediscovery.appspot.com/?url=acct:[email protected]

And in the backend do:

  1. Fetch host-meta for the host
  2. Look for LRDD file in host-meta
  3. If LRDD is found, then fetch LRDD for the specific URL
  4. Assemble LRDD and host-meta
  5. Look for all defined feeds in there (in theory the host-meta could define a global feed that's valid for the entire host) and return them.

voxpelli avatar Mar 09 '12 14:03 voxpelli

This sounds quite doable! On my todo list!

superfeedr avatar Mar 09 '12 14:03 superfeedr