[Erlyaws-list] Using egeoip with Yaws

Rapsey rapsey@REDACTED
Tue Dec 29 22:22:19 CET 2009


Put the beam and .app files from egeoip to a directory where you want it,
add it with ebin_dir in yaws configuration. Use a runmod to start egeoip as
an application.


Sergej


On Tue, Dec 29, 2009 at 9:40 PM, Hank Knight <hknight555@REDACTED> wrote:

> This is my first day using Erlang/Yaws and I doubt I will ever choose
> to develop using Apache/PHP again.
>
> I need to tell my website visitors what city, region and country I
> think they are from.  I understand this can be done with erlang using
> egeoip.
>          http://code.google.com/p/egeoip/
>          http://egeoip.googlecode.com/svn/trunk/egeoip/
>
> However I haven't a clue how to make egeoip work with Yaws.
>
>  <erl>
>  out(Arg) ->
>    {html, "I think you are from {get_location_with_egeoip}"}.
>  </erl>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@REDACTED
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
>


More information about the erlang-questions mailing list