[REBOL] Distorter (?)
From: hallvard:ystad:helpinhand at: 20-Nov-2002 12:57
Hi list
I shouldn't have done this. In fact, I have a lot of other things to do. But Rebol is
so distracting. OK, here it is.
The other day, I asked this list for word lists. And I found one. I then made a rebol
cgi script, that I call a "distorter". I am not sure if this is the best (or even the
right) name for it, so all you native english speakers out there, let me hear if you'd
like this to have some other (more appropriate) name.
This is what it does: you ask for some html page, the distorter downloads it, parses
through its word-list (which is very comprehensive!), changes a few words here and there
(randomly), then pushes the results bak to you. It makes web pages look a little... funny.
Take a look at what it does to
CNN: http://helpinhand.com/cgi-bin/distort.r?url=http://www.cnn.com/
Codeconscious: http://helpinhand.com/cgi-bin/distort.r?url=http://www.codeconscious.com/rebol/parse-tutorial.html
rebol.com: http://helpinhand.com/cgi-bin/distort.r?url=http://www.rebol.com/
openbsdjournal: http://helpinhand.com/cgi-bin/distort.r?url=http://deadly.org/
I sendt a link (http://helpinhand.com/cgi-bin/distort.r?url=http://www.huginonline.co.uk/)
to a friend of mine and said they had a few typos on their web page. He didn't look at
the URL in his browser, and was a bit... surprised.
The script doesn't handle POST forms yet, and I think maybe GET forms may be a problem
too, on some pages. I'm gonna fix that some time.
There's a frequency setting too: http://helpinhand.com/cgi-bin/distort.r?url=http://www.lexicon.net/anton/&f=100
will change 100% of the words that the distorter recognizes, whereas omitting "&F=100"
will stick to default, which is 25 >= random 100
Hope I'm not bugging you all with my bragging of this script. It's not very extra-ordinary
compared to what you all make, but I find it very much fun.
Hope to get some name propositions!
Regards,
~H
Librarian comment
Distorter has changed URLs. Still available from http://babelserver.org/roy/dis