XML Feeds

.

[java-dev] Re: Getting data from an external .jar application into max

Adam Murray adamjmurray at gmail.com
Wed Apr 9 12:36:47 MDT 2008


I took a quick look and I think your best bet is to use the program to export the data to a file, and then figure out how to get the data from that file into Max. How you put it into Max depends on how you want to use it. A [coll] object is probably going to be useful.

JTides says it supports exporting "a database table of tidal or current predictions and sun data in either a comma-separated-value (CSV)...". CSV is a simple plaintext format that should be easy to work with. I'd start out copying the CSV data by hand and figuring out how to get it into Max. Then you'll want to automate that process - JavaScript might be a good option, probably easier than Java.

Or you could try to retrieve the tide info directly from websites that post this information: http://www.flaterco.com/xtide/faq.html#20
But that will be harder.


--
Adam Murray
compusition.com


More information about the java-dev mailing list