Libravatar offline

Asked by andymac

Hello!

Is it possible to use Libravatar on a network without internet access avoiding substantial modifications to the source code?

Thank you,
Andrey.

Question information

Language:
English Edit question
Status:
Solved
For:
Libravatar (obsolete) Edit question
Assignee:
No assignee Edit question
Solved by:
andymac
Solved:
Last query:
Last reply:
Revision history for this message
François Marier (fmarier) said :
#1

It should be possible. What you would have to do is run a local (unmodified) instance of the main Libravatar codebase, but then you would have to hardcode the URL for it (e.g. http://avatars.intranet.example.com) when generating avatar URLs in your applications.

Because if you use one of the existing libraries for getting the avatar URLs, then they will do a DNS lookup and fallback to libravatar.org.

Revision history for this message
andymac (andymac) said :
#2

Thank you! And what about brosew_id/persona stuff? Is it necessary to work properly offline?

Revision history for this message
andymac (andymac) said :
#3

I guess I found answers to my questions! Thanks for the software!