Common Lisp Package: CLAVATAR

README:

FUNCTION

Public

GET-AVATAR-URL (IDENTIFIER &KEY SIZE DEFAULT (SERVICES '(LIBRAVATAR GRAVATAR)))

Returns an avatar URL for a given identifier. First, checks if the domain of identifier provides some clue as to how to get avatars. If so, uses the federated behavior of the domain. Otherwise, tries SERVICES in order and uses the first service which does not return a 404. Will use DEFAULT on the last service if no service knows about the identifier. Note that because this involves DNS and HTTP queries, it is slow and you should cache the results.

Private

%E-MAIL-DOMAIN (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

%E-MAIL-LOCAL-PART (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

SETF%E-MAIL-DOMAIN (NEW-VALUE INSTANCE)

SETF%E-MAIL-LOCAL-PART (NEW-VALUE INSTANCE)

%E-MAIL-P (OBJECT)

BUILD-URL-QUERY (ARGS)

COPY-%E-MAIL (INSTANCE)

DEFAULT-PORT-P (SCHEME PORT)

ENSURE-IDENTIFIER (IDENTIFIER)

IDENTIFIER-HASH (IDENTIFIER HASH)

MAKE-%E-MAIL (LOCAL-PART DOMAIN)

MAKE-E-MAIL (STRING)

GENERIC-FUNCTION

Public

Undocumented

CANONICAL-IDENTIFIER (IDENTIFIER)

IDENTIFIER-DOMAIN (IDENTIFIER)

Private

Undocumented

AVATAR-URL (SERVICE IDENTIFIER &KEY SIZE DEFAULT &ALLOW-OTHER-KEYS)

CLASS

Public

Undocumented

GRAVATAR

LIBRAVATAR

UNICORNIFY

Private

Undocumented

%E-MAIL

FEDERATED-SERVICE

HOSTED-SERVICE

LIBRAVATAR-PROTOCOL