This is too cool. I have an old Rev CGI example on my web site. It just
picks a random line from a list of image files and displays the image in
an iframe. It requires about 25 lines of script and two additional text
files to do its work. The CGI loads an html template from a file, loads
and reads a list of images from another text file, replaces markers in
the template with a random line from the image list, and sends the whole
business back to the browser. Thirty lines of script, two text files,
and of course a folder of images -- and useless if the user's browser
doesn't support iframes.
Now I can do it with one line of Rev script placed directly inside the
web page itself. All I had to do was embed this in the page:
<?rev
put "<img src=""e&"cgiphotos/" & any line of url
("file:cgiphotos.txt") "e& ">"
?>
Is that cool or what? I'm *very* excited about all this.
See it: <http://jacque.on-rev.com/index.irev>
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution