+ Convert profesor find output to JSON format

% cd /opt/xNAS/files
% find ./ -maxdepth 5 -type d -printf "%d\t%h\t%f\n" | sort -g | tee profesor.data.1 | find-json.rb > profesor.data.1.json
+ jQuery getJSON example

http://api.jquery.com/jQuery.getJSON/
/ XmlHttpRequest now works

Need to add this directive to the VirtualHost

<IfModule headers_module>
  <Location "/*.json">
    Header set Access-Control-Allow-Origin "*"
  </Location>
</IfModule>
jQuery Tree view using JSON data from find

+ Convert find output to json with find-json.rb and save the output to data.json
+ The html retrieves data.json and builds a treeview on the output
+ When an element is clicked a confirmation dialog appears, if accepted the user is sent to the requested path
+ Tested on target clients

http://api.jquery.com/jQuery.getJSON/
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtree/
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxexpander/
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxdataadapter/jquery-data-adapter.htm