annotate freenet_data.js @ 0:fb5784aa45e6 default tip

from monotone. problematic https vs v2 API
author Matt Johnston <matt@ucc.asn.au>
date Sun, 21 Oct 2012 23:03:51 +0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 // format is
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 // 'nodeid': [lat, long, "Name", "Description", "url"]
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 // nodeid should be lowercase (for simplicity)
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 // lat/long must be decimal coords.
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 // Name and Description can be anything, valid HTML helps, so escape ampersands etc...
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6 // url is optional
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 freenet_nodes = {
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10 "perthap": [-31.959661, 115.872303, "PerthAP", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11 "wannerooap": [-31.790564, 115.820094, "WannerooAP", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 "belmont2": [-31.959497, 115.928478, "Belmont2", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13 "mitchland": [-31.788281, 115.769639, "MitchLand", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 "mystic": [-31.772086, 115.762192, "Mystic", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 "nhe": [-31.774867, 115.818853, "NHE (Welvis)", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
16 "doubleview": [-31.894761, 115.780794, "KodEBlaK", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
17 "belmontap": [-31.951286, 115.920939, "BelmontAP", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
18 "frogstar1": [-31.770429, 115.76983, "Frogstar 1", "15m", "http://www.wafreenet.org/node-Frogstar"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
19 "frogstar2": [-31.767973, 115.771309, "Frogstar 2", "22m", "http://www.wafreenet.org/node-Frogstar"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
20 "tichill": [-31.825769, 116.064408, "TIC Hill", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
21 "niak": [-32.101311, 115.943632, "niak", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
22 "msh": [-31.9285, 115.9085, "msh", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
23 "kaelnorr": [-31.6779966, 115.7161922, "kaelnorr", "", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
24 // the following are guessed from the map.
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
25 "duncraig": [-31.83017,115.772552, "Duncraig", "", "http://www.wafreenet.org/node-Duncraig"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
26 "spiked": [-31.812521,115.86113, "Spiked", "", "http://www.wafreenet.org/node-Spiked"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
27 "dericote": [-31.831774,115.803795, "Dericote", "", "http://www.wafreenet.org/node-Dericote"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
28 "vipernet": [-31.842566,115.801907, "Vipernet", "", "http://www.wafreenet.org/node-Vipernet"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
29 "bungknee": [-31.739263,115.801392, "Bungknee", "", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
30 "wirelesshill": [-32.030754,115.827302, "Wireless Hill", "", ""],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
31 "jandakot": [-32.099736,115.870743, "Jandakot", "", "http://www.wafreenet.org/node-Jandakot"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
32 "armadale": [-32.128669,116.002235, "ArmadaleAP", "", "http://www.wafreenet.org/node-ArmadaleAP"],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
33 "sgnet": [-32.132304,115.997772, "SGNet", "", "http://www.wafreenet.org/node-SGNet"]
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
34 };
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
35
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
36 // format is ['kind', 'node1', 'node2'].
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
37 // Make sure that nodes are defined in the freenet_nodes list above.
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
38 // Defined kinds are:
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
39 // '2ghz', '5ghz', 'vpn'.
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
40
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
41 freenet_links = [
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
42 [ '5ghz', 'perthap', 'tichill'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
43 [ '5ghz', 'niak', 'tichill'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
44 [ '5ghz', 'mitchland', 'mystic'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
45 [ '5ghz', 'nhe', 'mitchland'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
46 [ '5ghz', 'belmontap', 'belmont2'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
47 [ '5ghz', 'perthap', 'belmont2'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
48 [ '5ghz', 'msh', 'perthap'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
49 [ '5ghz', 'mystic', 'frogstar1'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
50 [ '5ghz', 'mitchland', 'frogstar1'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
51 [ 'vpn', 'mitchland', 'kaelnorr'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
52 [ '5ghz', 'mitchland', 'wannerooap'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
53 [ '5ghz', 'mystic', 'wannerooap'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
54 [ '5ghz', 'doubleview', 'wannerooap'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
55 [ '5ghz', 'doubleview', 'perthap'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
56 [ '5ghz', 'duncraig', 'nhe'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
57 [ '2ghz', 'mystic', 'spiked'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
58 [ '2ghz', 'mystic', 'dericote'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
59 [ '5ghz', 'mystic', 'vipernet'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
60 [ '2ghz', 'jandakot', 'armadale'],
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
61 [ '2ghz', 'sgnet', 'armadale']
fb5784aa45e6 from monotone. problematic https vs v2 API
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
62 ];