Quote:
Originally Posted by SpEnTBoY ok so it's just a matter of randomly selecting a quote from fortune files ... I've done this with perl scripts way back in the day in a hack job CGI ... the next question is after loading the zimlet how do I interact with it.
Sorry for the dumb questions I haven't hacked any real code in quite a while let alone looked at the api or applicable info on creating a Zimlet ... I was wondering if anyone had done something like this but I dont have a problem taking a poke at it in my free time.
Guess I need to buy your book!!  |
The book should be out soon. I am waiting on one last bug to get resolved, then it's off to the races.
In terms of randonly selecting a fortune file, you could run your own fortune server in a CGI script (or you could use Soap::Lite to serve it). The easiest way, if you don't mind learning a little java, is probably to write it in a JSP.
It's actually a pretty good example app. I could probably spin something together real quick to make it happen.