Skip to content

Commit

Permalink
updates for 0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Oct 12, 2014
1 parent 6cb8508 commit 912dbfd
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 10 deletions.
29 changes: 28 additions & 1 deletion communitys_franken.json
Expand Up @@ -56,11 +56,28 @@
"vpninternational"
]
},
"api" : "0.4.3"
"api" : "0.4.4"
}
},

"communities": [{
"id" : "franken",
"radius" : 0,
"data" : {
"name" : "Freifunk Franken",
"metacommunity" : true,
"nodeMaps" : [{
"url" : "https://netmon.freifunk-franken.de/map.php",
"technicalType" : "netmon",
"mapType" : "geographical"
}],
"timeline": [{
"description": "Erste Mail auf der Mailingliste Freifunk-Franken",
"timestamp": "2009-02-27",
"url": "http://lists.freifunk.net/pipermail/franken-freifunk.net/2009-February/000000.html"
}]
}
}, {
"id" : "nuernberg",
"radius" : 10,
"data" : {
Expand Down Expand Up @@ -92,6 +109,11 @@
"url:" : "https://netmon.freifunk-franken.de/map.php?zoom=13&lat=49.47703&lon=10.96743&layers=B0000TTTTTT",
"technicalType" : "netmon",
"mapType" : "geographical"
}],
"timeline": [{
"description": "Einrichten der Seite Freifunk Fürth auf wiki.freifunk.net",
"timestamp": "2008-05-29",
"url": "http://lists.freifunk.net/pipermail/franken-freifunk.net/2009-February/000000.html"
}]
}
}, {
Expand Down Expand Up @@ -126,6 +148,11 @@
"url" : "https://netmon.freifunk-franken.de/map.php?zoom=12&lat=49.59401&lon=11.01177&layers=B0000TTTTTT",
"technicalType" : "netmon",
"mapType" : "geographical"
}],
"timeline": [{
"description": "Einrichten der Seite Freifunk_Erlangen auf wiki.freifunk.net",
"timestamp": "2008-09-05",
"url": "http://wiki.freifunk.net/index.php?title=Freifunk_Erlangen&oldid=4791"
}]
}
}, {
Expand Down
19 changes: 10 additions & 9 deletions create_community_files.js
Expand Up @@ -76,15 +76,16 @@ function updateCommunities(data) {
routerlist = data.netmon_response.routerlist;
routers = data.netmon_response.routerlist[0].router;


// for (var n = 0; n < routers.length; n = n + 1) {
// if (routers[n].statusdata[0].status[0] !== "online") {
// continue;
// }
// count = count + 1;
// }
// // write meta-community file
// updateCommunity(metacommunity, count);
/*
for (var n = 0; n < routers.length; n = n + 1) {
if (routers[n].statusdata[0].status[0] !== "online") {
continue;
}
count = count + 1;
}
// write meta-community file
updateCommunity(metacommunity, count);
*/

// write community files
var length = communities.length;
Expand Down

0 comments on commit 912dbfd

Please sign in to comment.