← Back to team overview

libravatar-fans team mailing list archive

Re: Issues with the API specification

 

On 2012-08-05 at 07:43:45, Christian Weiske wrote:
> > Yes, I would say so. I was thinking that we probably don't want to let
> > people write extensions that conflict with HTTP return codes in case
> > we want to use those in the future.
> 
> I thought the special values rule was to detect a special value, and
> all other values are seens as URLs and can be redirected to.

Yes, that's what I was trying to get to. It may not have been phrased very
well though.

- if it's "404", return a 404 error
- if it matches the regexp, return the special image or your own logo
- if it's anything else, treat it like a redirect

> Libravatar should provide the MM image (preferably in svg format or
> high resolution png) for all implementations to use freely, so that they
> can just use the "official" MM image instead of having to draw it
> themselves.

The source file (mm.svg) is here:

  https://gitorious.org/libravatar/libravatar/trees/master/static/cdn

and all sizes (in PNG format) are here:

  https://gitorious.org/libravatar/libravatar/trees/master/static/cdn/mm

Third-party servers are free to use that one or to make their own
better-looking ones.

Cheers,
Francois

-- 
Francois Marier           identi.ca/fmarier
http://fmarier.org      twitter.com/fmarier


Follow ups

References