views:

273

answers:

2

Consider the most excellent wordle tag cloud generator:

Entering text into the "textform" textarea and clicking the go button starts up the wordle java applet on that page. No traffic goes back to the server.

How can I cause this to happen programmatically? No hack too cheap!!

background for this question:

+2  A: 

If you mean starting it programmatically from a browser page, you can use the same type of JavaScript that that page uses, which calls the function Wordle.t() to start the applet.

If you want to call it from a Java program, you can download the Wordle.class or jar file yourself, and call the functions directly.

Avi
A: 

I'm the creator of Wordle.

In case anyone finds this page in the future, I thought it would be useful to explain that Wordle invokes its applet by constructing an applet tag with a huge <param> containing a sanitized version of whatever text you pasted in. It is the cheapest hack imaginable.

Jonathan Feinberg