For those interested in SIP and SIMPLE rich presence:
xcapclient 1.0 has been released
http://xcapclient.rubyforge.org/
http://dev.sipdoc.net/projects/ruby-xcapclient/wiki/
Ruby XCAPClient
A XCAP client library written in Ruby language.
XCAP (RFC 4825) is a protocol on top of HTTP which allows a client
(usually a
VoIP/SIP device) to manipulate the contents of Presence Information Data
Format (PIDF) based presence documents. These documents are stored in a
server
in XML format.
Ruby xcapclient library implements the XCAP protocol in client side,
allowing
the applications to get, store, modify and delete XML documents in the
server.
== Features
- Fetch, create/replace and delete a document.
- Fetch, create/replace and delete a document element (XML node).
- Fetch, create/replace and delete an element attribute.
- Full configurable parameters allowing customized fields for each XCAP
application, such auid, XML namespace, MIME-Type, scope (:user or
:global) and
default document name (“index” if not set).
- Fetch the namespaces and prefixes of a document node as they are used
in the
server.
- Manage of multiple documents per XCAP application.
- Fetch the XCAP server auids, extensions and namespaces (“xcap-caps”
application).
- SSL.
- Digest and Basic HTTP authentication.
- Raise custom Ruby exception for each HTTP error response.
For those interested in SIP and SIMPLE rich presence:
xcapclient 1.1 has been released
http://xcapclient.rubyforge.org/
http://dev.sipdoc.net/projects/ruby-xcapclient/wiki/
Changes from version 1.0
Added real support for fetching/creating/replacing/deleting node
attributes.
The methods get_element, put_element, delete_element and
get_element_namespaces have been removed.
Instead now we have:
- get_node
- put_node
- delete_node
- get_attribute
- put_attribute
- delete_attribute
- get_node_namespaces
Ruby XCAPClient
A XCAP client library written in Ruby language.
XCAP (RFC 4825) is a protocol on top of HTTP which allows a client
(usually a
VoIP/SIP device) to manipulate the contents of Presence Information Data
Format (PIDF) based presence documents. These documents are stored in a
server
in XML format.
Ruby xcapclient library implements the XCAP protocol in client side,
allowing
the applications to get, store, modify and delete XML documents in the
server.
== Features
- Fetch, create/replace and delete a XML document.
- Fetch, create/replace and delete a XML node.
- Fetch, create/replace and delete a XML node attribute.
- Full configurable parameters allowing customized fields for each XCAP
application, such auid, XML namespace, MIME-Type, scope (:user or
:global) and
default document name (“index” if not set).
- Fetch the namespaces and prefixes of a document node as they are used
in the
server.
- Manage of multiple documents per XCAP application.
- Fetch the XCAP server auids, extensions and namespaces (“xcap-caps”
application).
- SSL.
- Digest and Basic HTTP authentication.
- Raise custom Ruby exception for each HTTP error response.