HTML / Java data into Isadora
-
You can use MAX to get the data and then route it into ISADORA Webkit has some issues.
-
I have been able to use tcpip actors to pull in small XML data sets (from facebook) with Marks help.
The JSON data shouldn't be much harder as long as you have a URL that returns the JSON as text (should do this normally).
It will just be a matter of parsing the data for output.
If the tcpip actors don't see the JSON as text, a quick webserver script (PHP or whatever) to convert it would be a direct option.
Its nice to keep everything on the machine within Isadora as much as possible (personal feeling ;)Short tutorial available here: http://dusxproductions.com/blog/web-apis-in-isadora-part-1/ -
@skulpture: no, my actor looks "blank", which is why I tried to publish the outputs in QC. Would you mind sending a pic / file of your QC patch? I was trying to work generally with their example patch, but maybe need to rethink entirely.
-
Here is the file in a .zip 29d1dc-webkit-gt1.zip
-
@Skulpture, hi, the downloaded version looks completely different from the picture you posted on June 21st on 1.3.1f02, whta am I doing wrong?
-
No idea... I have the .plugin installed here:
**/System/Library/Graphics/Quartz Composer Plug-Ins**and the .quartz file here:**/Users/[*your* machine name]/Library/Compositions** -
@Skulpture, the .zip you just posted is 1 file, right? you are talking about 2 files, what am I missing?
-
@Skulpture, sorry never mind, I understood now, got the actor now, thanks
-
Yeah my zip was just the one file; the quartz with published outputs.
You got it working? -
I created a new discussion thread around my above REST database related question at:
http://troikatronix.com/community/#/discussion/773/tcp-actors-rest-interface-to-database-neo4jFor those who are interested in using a database with Isadora, using Neo4j's REST JSON interface in combination with Izzy's TCP network actors looks promising, I think. Thanks, bildtonspontan and DusX for your suggestions and tips. The COGEwebkit is cool, but is really built more for capturing HTML page images and page code, and the TCP actors are leaner & meaner for this purpose, in my opinion. -
so I'm trying the QC WebKit gt1 actor in Isadora and is publishing the web page, in this case the http://www.worldometers.info/) al-right.
The problem is I was trying to get just different portion of this page in consecutive duplication of the same actor in different "mouse scroll Y" positions as I cannot find any other way to get to a determined portion of the page.
Is working al-right until when I quit Izzy, then the positions have absolutely no relation to where I put them in first instance. So I'm trying to scroll from the top to the bottom using an Envelope Generator++, putting a nice 0 at the beginning for a second say, then in different segments, I tried to put different values with different lengths of time for no avail. At a certain point whatever value for whatever rate, the page scrolls in 1 second even if I put 100 seconds from top to bottom or vice-versa. What is wrong??? I would like to use this part of a display after tomorrow, would be nice to be able to solve this.... thanks -
It's a bit strange I know. I will have to try it with a Generator++.
Any chance of a screenshot or basic patch so we/I can work on the same idea. Feel free to email me off the forum if you wish.Email is on my profile page. -
-
I am struggling to replicate but playing with the patch it does behave a bit strange.
I think it behaves strange because the stages are zoomed in and the scaling is in percentages whilst the webpage is basically not measurable; maybe in pixels? Not sure.I will have another look tomorrow. -
I put the zoom to 100% and tried again but nothing changed...
-
There are a couple of ways to accomplish your task.
* As Sculpture has sugested use webkit qc implementation, but then you can use Java Script in qc to parse the data and output data as Isadora readeble data format and not an image, but real dataI am currently working on new real time text importer using the same technique -
thank you all and @bareimage
I had to resort to pre-recording this time but would like to experiment again, hope I'll understand what you mean...
best regards