0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Discodactyl is an experimental toolkit for XRD service discovery documents and related protocols. It includes implementations of XRD URITemplate Link-Patterns, basic site-meta support, HTTP Link header parsing, acct: URIs and a webfinger poking stick.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.12.7
>= 0.9.2.2

Runtime

>= 3.0.8
>= 0.0.22
>= 1.4.2
>= 0.1.0
 Project Readme

Discodactyl¶ ↑

<img src=“https://secure.travis-ci.org/josephholsten/discodactyl.png” alt=“Build Status” /> | <img src=“https://codeclimate.com/badge.png” /> | <img src=“https://gemnasium.com/josephholsten/discodactyl.png” alt=“Dependency Status” />

Docs | Code | Bugs

DESCRIPTION:¶ ↑

Discodactyl is an experimental toolkit for XRD service discovery documents and related protocols. It includes implementations of XRD URITemplate Link-Patterns, basic site-meta support, HTTP Link header parsing, acct: URIs and a webfinger poking stick.

FEATURES/PROBLEMS:¶ ↑

  • Webfinger client.

  • XRD parsing, querying and modification.

  • LRDD discovery.

  • HTTP Link header parsing.

  • acct: URI parsing.

  • Minimal URI Template parsing and application.

  • JRD parsing, querying.

  • Probably filled with bugs. Don’t forget your bug powder.

  • Yahoo ‘webfinger’ doesn’t work. Sadly, they need to update their format to the most recent one.

SYNOPSIS:¶ ↑

For command-line fiends:

$ webfinger bradfitz@gmail.com
Profile: http://www.google.com/profiles/bradfitz
Profile data: http://www-opensocial.googleusercontent.com/api/people/115863474911002159675/
describedby: http://www.google.com/profiles/bradfitz
Contacts: http://www-opensocial.googleusercontent.com/api/people/
Status: Hah... about 4 hours ago

For ruby mongers:

# All of WebFinger! In very few, if long and pointy, lines!
require 'discodactyl'

acct = URI.parse 'acct:bradfitz@gmail.com'

webfinger_uris = Discodactyl::ResourceDiscovery.get_uris_by_rel(acct, 'lrdd', 'uri' => acct)
disco_doc = Discodactyl::XRD::Document.parse(open(webfinger_uris.first))

REQUIREMENTS:¶ ↑

  • nokogiri 1.4

  • actionpack 3.0

  • feedzirra 0.0.23

  • prism 0.1

INSTALLING:¶ ↑

See the INSTALL file for details.

LICENSE:¶ ↑

Copyright © 2009, 2010, 2011, 2012 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.