A simple Perl Script to generate a Freifunk Node List. The Script get his informations from the Meshviewer 1. The Meshviewer has a few JSON Files ² ³ and this script use them. Please have a look at the global variables from the script.
The table element must have class sortable. Sort criteria is defined by using a class on the th element for each column.
<thead> <tr> <th class="str-sort">Strings</th> </tr> </thead>
Currently implemented sort criteria are:
- date-sort (default date format is: dd/mm/yyyy)
- float-sort (probably works for ints too)
Rows can be skipped using class skip-sort. thead and tfoot elements are always skipped.
#Freifunk Node List The Perl Script generate an index.html and an liste.html. Both Pages display all freifunk nodes from the meshviewer JSON file. The index.html file only contains the most important informations. The list.html has a lot more information. Feel free to fork this github repository for your own freifunk community.
This is now the template for our ansible setup
cpan install JSON cpan install LWP::Simple
MIT License - Copyright 2016, Gregory Vigo Torres
CC-BY-NC - Freifunk Bodensee, L3D.