I am wondering about the best way to convert a processing sketch to run on the web so others can use it. It takes data from public sources, does some calculations and then displays the results. It works fine running on my computer as a Java programme but the loadString calls don't work as a Javascript programme. I was wondering if the best thing to do was to write a script to read the data and store it in a file and then run this regularly. Then I could get the Javascript programme to read from this file and do the calculations and display the results. Is that the best way to do this? I wonder if I might get some contention with two programmes accessing the same file. Any advice warmly welcomed.