Protocols

In addition to Linked Data, CLLD Apps implement various protocols to embed them firmly in the web fabric.

Sitemaps

views implementing the sitemap protocol

clld.web.views.sitemap.robots(req)[source]
clld.web.views.sitemap.sitemap(req)[source]
clld.web.views.sitemap.sitemapindex(req)[source]

OAI-PMH for OLAC

Support for the provider implementation of an OLAC OAI-PMH repository.

class clld.web.views.olac.Institution

Institution(name, url, location)

location

Alias for field number 2

name

Alias for field number 0

url

Alias for field number 1

class clld.web.views.olac.OlacConfig[source]

utility class bundling all configurable aspects of an applications OLAC repository

format_identifier(req, item)[source]
get_record(req, identifier)[source]
parse_identifier(req, id_)[source]
class clld.web.views.olac.Participant

Participant(role, name, email)

email

Alias for field number 2

name

Alias for field number 1

role

Alias for field number 0

class clld.web.views.olac.ResumptionToken(url_arg=None, offset=None, from_=None, until=None)[source]

We encode all information from a List query in the resumption token so that we do not actually have to keep track of sequences of requests (in the spirit of REST).

clld.web.views.olac.olac(req)[source]

View implementing the OLAC OAI-PMH repository protocol.

clld.web.views.olac.olac_with_cfg(req, cfg)[source]

If applications want to disseminate metadata for other resources than languages this function can be used to provide a second olac repository.

OpenSearch

TODO