HTML / Java data into Isadora
-
This is what I have....? Does it look the same?
-
Another one.
-
Hi Mark
You mentioned you could help pulling in HTML data.I'm interested in using REST style requests and responses (http GET/POST) from Isadora to query a database.Would you recommend using the TCP/IP actors?Are there any good examples of this type of Isadora interaction? -
Adding a note to my previous REST question -- the REST data will be represented in JSON.
Here's an example:Example request
• GET http://localhost:7474/db/data/
• Accept: application/json
Example response
• 200: OK
• Content-Type: application/json
{
_ "extensions" : {_
_ },_
_ "node" : "http://localhost:7474/db/data/node",_
_ "reference_node" : "http://localhost:7474/db/data/node/369",_
_ "node_index" : "http://localhost:7474/db/data/index/node",_
_ "relationship_index" : "http://localhost:7474/db/data/index/relationship",_
_ "extensions_info" : "http://localhost:7474/db/data/ext",_
_ "relationship_types" : "http://localhost:7474/db/data/relationship/types",_
_ "batch" : "http://localhost:7474/db/data/batch",_
_ "cypher" : "http://localhost:7474/db/data/cypher",_
_ "transaction" : "http://localhost:7474/db/data/transaction",_
_ "neo4j_version" : "2.0.0-M03"_
}
-
COGEwebkit, http://code.google.com/p/cogewebkit/ can bring html into any QC supported Video-app :) (IsadoraCore)
best...btsIsadoraCore13.1.. QuartzComposer MacOSX10.8...
-
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...