User:Jules/domainsgeofrontiers: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
<div width= "60%">
<div style="width:60%">
While making an application to retrieve pictures associated with websites on the basis of the geolocation, I realised that some big websites could come up with different locations on the basis of the url I typed.
While making an application to retrieve pictures associated with websites on the basis of the geolocation, I realised that some big websites could come up with different locations on the basis of the url I typed.



Revision as of 17:12, 8 December 2015

While making an application to retrieve pictures associated with websites on the basis of the geolocation, I realised that some big websites could come up with different locations on the basis of the url I typed.

{
'website': ' facebook.fr ',
'city': ' Menlo Park ',
'time_zone': ' America/Los_Angeles ',
'longitude ':' -122.1781 ',
'latitude': ' 37.459 ',
'country_code': ' US ',
'country_name': ' United States ',
'continent': ' NA '
},{
'website': ' facebook.com ',
'city': ' Kensington ',
'time_zone': ' America/New_York ',
'longitude ':' -80.948 ',
'latitude': ' 40.7212 ',
'country_code': ' US ',
'country_name': ' United States ',
'continent': ' NA '
},{
'website': ' www.facebook.com ',
'city': ' None ',
'time_zone': ' Europe/Dublin ',
'longitude ':' -6.2597 ',
'latitude': ' 53.3478 ',
'country_code': ' IE ',
'country_name': ' Ireland ',
'continent': ' EU '
}

I looked a bit more into facebook because I remembered some article I read about its European data centers, based in Ireland.


Then I tested all the other available, using the Country code top-level domains list from wikipedia [1]. Some things are very interesting about this list. For instance the fact that .su (Soviet Union) is still in use.