%ents; ]>
DOAP usage in XMPP This specification defines how XMPP projects can provide a machine-readable description of their abilities, and how external entities can interact with it. &LEGALNOTICE; 0453 Experimental Informational Standards Council https://www.w3.org/TR/rdf11-concepts/ http://usefulinc.com/ns/doap# https://linkmauve.fr/ns/xmpp-doap# https://schema.org/ NOT_YET_ASSIGNED Emmanuel Gil Peyrot linkmauve@linkmauve.fr linkmauve@linkmauve.fr 0.1.2 2023-07-04 spw Fix XMLNS typo 0.1.1 2022-08-10 egp Fix link, broken with the xmpp.org move to Hugo (thanks nav!). 0.1.0 2021-01-26 XEP Editor (jsc) Accepted by vote of Council on 2021-01-13. 0.0.1 2021-01-10 egp

First draft.

Gathering information on many implementations has always been a chore, there exist various lists or comparisons for XMPP clients, servers and libraries, but these are often out of date, inaccurate, incomplete, or generally unmaintained.

This specification aims at solving this problem by putting the work of publishing and keeping up to date said information onto the maintainers of the software. Given many already do maintain this kind of list, the inconvenience should be minimal.

The information listed SHOULD include, but isn’t limited to, the project name, homepage, description, logo, screenshots if relevant, specifications supported (RFCs and XEPs). A full list of supported properties is described in RDF format at http://usefulinc.com/ns/doap#.

A central point should be defined to gather the list of implementations publishing their information, this specifications proposes xmpp.org for this purpose.

Creating, publishing and maintaining a project description should be as easy as possible for producers.

Fetching, parsing and using a project description should be as easy as possible for consumers.

These two requirements have oriented the choice of technologies towards being as restrictive as possible:

DOAP
Description of a Project, the chosen RDF format used by this specification to describe the various properties of a project.
RDF
Resource Description Framework, a generic data model framework, supporting many serialisation formats and conversions between them. For the purpose of this specification we will only consider RDF/XML, an XML serialisation format, with the rationale that all XMPP authors are already familiar with this serialisation format.

A user might want to know which compliance suite level a given client supports before choosing it.

A sysadmin might want to know which compliance suite level a given server supports before choosing it.

An XMPP service might want to propose clients based on their advertised support of what they consider a modern client.

A specification author might want to know the list of projects implementing this specification, their support level and version.

An XMPP enthousiast website might want to automatically update their XMPP comparison page with up to date information.

This specification won’t list every property one could add to their DOAP file, that is the role of the DOAP specification, so it will start with examples.

Here is a minimal DOAP file, containing the same data as the XMPP Software Listing:

Poezio Linux ]]>

But a lot more information can be added:

poezio 2010-01-10 Free console XMPP client Client XMPP libre en console Free and modern console XMPP client written in Python with the ncurses library Client console XMPP libre et moderne, écrit en Python avec la bibliothèque ncurses en Python Linux complete 2.5rc3 0.5 The 'disco' plugin can be loaded to make manual queries. Le plugin 'disco' peut être chargé pour faire des requêtes manuellement. 0.13.1 2020-05-31 ]]>

It is recommended to start from such an example and tweak it to correspond to your project.

As per the requirements, and as you may have seen in the previous example, we want to know the implementation status of each relevant XMPP specification, which isn’t covered by the DOAP specification.

In order to support that, the https://linkmauve.fr/ns/xmpp-doap# namespace defines the <SupportedXep/> element, which sports a few properties:

Property Description Required
xep The URL to the XEP document. Required
status The support status by this project, can be 'complete', 'partial', 'planned', 'deprecated', 'removed' or 'wontfix'. Required
version XEP version implemented by this software. Optional
since Software version this support first appeared in. Optional
note Any implementation note the project deems relevant. Optional

A project SHOULD publish the information it deems relevant in the format defined in this specification.

A project MAY maintain this information in another serialisation (JSON-LD, Turtle…), but MUST submit it in RDF/XML serialisation.

Once satisfied with it, a project SHOULD submit their DOAP file to xmpp.org following this process.

xmpp.org SHOULD cache and host the given files on the behalf of projects, so that if their website goes down for whichever reason other consumers can keep working as usual.

Projects with an existing internationalization process are encouraged to use it to translate user-facing strings in the DOAP file.

This document introduces no additional security considerations above and beyond those defined in the documents on which it depends.

This document requires no interaction with &IANA;.

This document requires no interaction with the ®ISTRAR;.

https://schema.org/ was also considered, given the considerable overlap in features with DOAP, but it didn’t contain many properties useful for software projects. Parts of its properties are reused in this specification, where DOAP was lacking (namely for the logo, screenshot and documentation properties).

AppStream was also considered, but it lacks the extensibility and existing tooling of RDF, while being limited to being a description for software installers instead of a generic software description.