Bobby Hitt ([EMAIL PROTECTED]; Wednesday, May 28, 2003 2:32 PM): >> > No matter how I do it, the IP address still has to be looked up to get > the >> > country code, so the way I'm doing it is as good a method as any. It > would >> > be nice if analog would display the country instead of the code. >> >> DOMAINALIAS >> >> You just have to create a bunch of them, but you could do that with a >> perl script in about 30 seconds.
> Plus the two days to figure out how to do it :^) Actually I could pull them > out of the geoip database, if I can figure out where it was installed. You can download a comma-separated record list from ISO: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1-semic.txt > Wouldn't the domains file take care of this? It appears to be > case-sensative, if so, I need to modify my program to make the 2 character > codes the same. Those should be the same thing, yes. But then I guess I'm confused why you asked about Analog writing out the country names. It does this from the Domains file for you. I just figured you wanted it formatted differently. > BTW I looked for DOMAINALIAS in the analog docs, no such animal. Sorry, it's DOMALIAS. See http://analog.cx/docs/alias.html. -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
