Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50086

Re: Geo Location extracted from visitors ip address

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'javascript,': 0.07; "client's": 0.09; 'cookie': 0.09; 'enabled,': 0.09; 'url:location': 0.09; 'api': 0.11; 'cc:addr:python-list': 0.11; 'python': 0.11; '-tkc': 0.16; 'convey': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'permits': 0.16; 'runs,': 0.16; 'script?': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; '(or': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'code': 0.31; 'requests': 0.31; 'cgi': 0.31; 'subject:from': 0.34; 'server': 0.38; 'ajax': 0.38; 'heard': 0.39; 'future': 0.60; 'information,': 0.61; 'information': 0.63; 'more': 0.64; 'browser.': 0.78; 'url:search': 0.81; 'client-side': 0.84; 'received:50.22': 0.84; 'subject:Location': 0.84
Date Sat, 6 Jul 2013 15:32:07 -0500
From Tim Chase <python.list@tim.thechases.com>
To Νίκος Gr33k <nikos@superhost.gr>
Subject Re: Geo Location extracted from visitors ip address
In-Reply-To <kr9tr7$qdu$2@news.grnet.gr>
References <kr75jj$eqv$1@news.grnet.gr> <mailman.4310.1373054197.3114.python-list@python.org> <kr7me1$jco$1@news.grnet.gr> <kr7mjs$jco$2@news.grnet.gr> <kr7n56$jco$3@news.grnet.gr> <mailman.4319.1373072195.3114.python-list@python.org> <kr7qq2$vqj$1@news.grnet.gr> <kr7sjn$11u$1@news.grnet.gr> <kr8itc$lbs$1@news.grnet.gr> <mailman.4330.1373099438.3114.python-list@python.org> <kr8l8o$ss9$1@news.grnet.gr> <mailman.4333.1373109521.3114.python-list@python.org> <kr9tr7$qdu$2@news.grnet.gr>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Get-Message-Sender-Via boston.accountservergroup.com: none
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4347.1373142638.3114.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373142638 news.xs4all.nl 15874 [2001:888:2000:d::a6]:52894
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50086

Show key headers only | View raw


On 2013-07-06 23:14, Νίκος Gr33k wrote:
 Can you be more specific please about using the aforementioned
> HTML5 location API ?

https://www.google.com/search?q=html5+location+api

It's client-side JavaScript.

> Never heard of it. Can it be utilizized via a python cgi script?

Because it's client-side JavaScript, it runs, well, on the client's
browser.  Note that the user may be prompted regarding whether they
want to permit the website to access location information, so this
information may not be available.  If the user permits and JS is
enabled, the client-side JS code can then make AJAX requests (or stash
it in a cookie that gets sent with future requests) to convey the
location information to the server where your Python code is running.

-tkc

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-05 22:08 +0300
  Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-05 14:58 -0500
    Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 02:55 +0300
      Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 02:58 +0300
        Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 03:08 +0300
          Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 20:56 -0400
            Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 04:10 +0300
              Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 04:41 +0300
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 11:01 +0300
                Re: Geo Location extracted from visitors ip address Chris Angelico <rosuav@gmail.com> - 2013-07-06 18:30 +1000
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 11:41 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 06:20 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:14 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 15:32 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:51 +0300
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-07 12:40 +0300
                Re: Geo Location extracted from visitors ip address Dave Angel <davea@davea.name> - 2013-07-06 07:49 -0400
                Re: Geo Location extracted from visitors ip address Robert Kern <robert.kern@gmail.com> - 2013-07-06 11:21 +0100
                Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-08 14:27 +0000
                Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-08 14:27 +0000
              Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 21:31 -0400
              Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-05 22:52 -0400
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 10:10 +0300
                Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-06 10:43 -0400
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:12 +0300
                Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-06 15:33 -0500
                Re: Geo Location extracted from visitors ip address Νίκος Gr33k <nikos@superhost.gr> - 2013-07-06 23:49 +0300
                Re: Geo Location extracted from visitors ip address Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-06 18:36 -0400
  Re: Geo Location extracted from visitors ip address Support by Νίκος <nikos@superhost.gr> - 2013-07-05 22:59 +0300
  Re: Geo Location extracted from visitors ip address Tim Roberts <timr@probo.com> - 2013-07-05 13:44 -0700
    Re: Geo Location extracted from visitors ip address Dave Angel <davea@davea.name> - 2013-07-05 17:18 -0400
    Re: Geo Location extracted from visitors ip address Chris Angelico <rosuav@gmail.com> - 2013-07-06 11:06 +1000
  Re: Geo Location extracted from visitors ip address Tim Chase <python.list@tim.thechases.com> - 2013-07-05 17:21 -0500
  Re: Geo Location extracted from visitors ip address Grant Edwards <invalid@invalid.invalid> - 2013-07-05 22:24 +0000
  [OT] Re: Geo Location extracted from visitors ip address Tony the Tiger <tony@tiger.invalid> - 2013-07-06 13:23 -0500
  Re: Geo Location extracted from visitors ip address Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-05 15:23 -0400
  Re: Geo Location extracted from visitors ip address Jerry Hill <malaclypse2@gmail.com> - 2013-07-05 15:28 -0400
  Re: Geo Location extracted from visitors ip address Support by Νίκος <nikos@superhost.gr> - 2013-07-05 22:43 +0300

csiph-web