Data to/from website

May 28, 2009 at 4:50pm

Data to/from website

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

#44139
May 28, 2009 at 5:29pm

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

lh

#158633
May 28, 2009 at 5:54pm

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

#158634
May 28, 2009 at 7:09pm

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

http://code.google.com/apis/chart/

#158635
May 29, 2009 at 12:28am

Thanks a lot, i’ll check it out.

Kessito

#158636
May 29, 2009 at 2:41pm

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

http://www.loadbang.net/space/Software/net.loadbang.web

#158637
Sep 25, 2010 at 1:30pm

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!

#158638

You must be logged in to reply to this topic.