Data to/from website

Kessito's icon

Hi all,

I'm trying to make a patch which stores data coming from a serial input in a database, and then makes the data visible in a website.

I've managed to get the patch done up to the point where all the data is stored in a mysql database (thanks to the mysql object), and I can read the data out of the database again.

The problem is getting the data on a website. I've read some forums
about using the jweb object and I understand that some is possible.

My problem is that I'm a advanced maxer, but I know very little about JAVA and CSS, HTML etc.
Is there a way to get data from MAX onto a website/server without complex JAVA etc. programming?

thanks,
Kessito

Luke Hall's icon

You can upload using FTP with [jit.uldl], have a look at the helpfile and documentation.

lh

Kessito's icon

Thanks, that's a very usefull tool, but not exactly what I needed:
I want to have a machine which runs MAX and acts as a server, it needs to put data from a database into something which is readable as a graph in a browswer.

A good thing would be that I could make the grapgh in max (with LCD) and then make that graph visible in a browser.

Kessito

Luke Hall's icon

The [jweb] object is for displaying web pages in max rather than the other way around.

You could use the "writepict" message to [lcd] to save the contents as an image and then upload that using [jit.uldl]. Another way would be to create your image online using something like google charts. You'd have to format your information in max following the API and then use some PHP or javascript on your web page to display the image.

lh

Kessito's icon

Thanks a lot, i'll check it out.

Kessito

nick rothwell | project cassiel's icon

You can also run a web server within MaxMSP, with data values populated by Max itself. See

jacoping's icon

Hi!
I am searching for a way to pass variables to jweb without reloading the page.
I'm really looking forward to this beacause I'm working with google maps routes and I can't reload the page without loosing previous routes each time.
I tried several ways, including net.loadbang.web, but seems impossible to make a page reload the $variables without reloading the whole thing.
Anybody knows how?

Thanks!