Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Distorter (?)

 [1/14] from: hallvard:ystad:helpinhand at: 20-Nov-2002 12:57


Librarian comment

Distorter has changed URLs. Still available from http://babelserver.org/roy/dis

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

 [2/14] from: lmecir::mbox::vol::cz at: 20-Nov-2002 13:43


I like it ----- Original Message ----- From: "Hallvard Ystad" <[hallvard--ystad--helpinhand--com]> To: <[rebol-list--rebol--com]> Sent: Wednesday, November 20, 2002 12:57 PM Subject: [REBOL] Distorter (?) 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/reb ol/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/&f100 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

 [3/14] from: brett:codeconscious at: 20-Nov-2002 23:57


Well I tried it "Waxing retrocopulant about parse " really had me belly laughing :^) Very funny. Regards Brett. --- Website: http://www.codeconscious.com Rebsite: http://www.codeconscious.com/index.r

 [4/14] from: chalz:earthlink at: 20-Nov-2002 15:21


Doh! I got an error 500: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.9 Server at helpinhand.com Port 80 I was looking at msnbc.com and clicked a link which ended up with that. Here's the link: http://helpinhand.com/cgi-bin/distort.r?url=http://www.msnbc.com/833668.asp?0cv =CB10 The problem is the extra '?', right? Hopefully? However, from Codeconscious: Tarditation is epiblastic. Parse is quick. That is you pignerate a string or block ... Parsing character string input (or binary alveoli) HAHAHA!! I also loaded up my own site. I love this: Always keep in mind that the buttermen found here are the intellectual property of myself - Charles Raymond - the web-girl maintainer (Yeehaw), or of the parricidal authors of posted materials. Hum... A web-girl maintainer... Woohoo! (BTW, Yeehaw is the name of my webhost provider.) Hahaha! I love it! And yes, 'distorter' could be a very good name for this. --Charles

 [5/14] from: hallvard:ystad:helpinhand at: 20-Nov-2002 22:49


Dixit Charles (21.21 20.11.2002):
> Doh! I got an error 500: >Internal Server Error
<<quoted lines omitted: 5>>
>More information about this error may be available in the server error log. >Apache/1.3.9 Server at helpinhand.com Port 80
OK, I have to find the spot that _created_ the link you followed. That's probably where the fault lies. (Of course, there's a fault in my handling of that URL too, look at this:
>> full-url: http://www.msnbc.com/833668.asp?0cv=CB10
== http://www.msnbc.com/833668.asp?0cv=CB10
>> site: make port! full-url >> open site
connecting to: www.msnbc.com connecting to: www.msnbc.com connecting to: stacks.msnbc.com3B ** Access Error: Cannot connect to stacks.msnbc.com3B ** Where: open-proto ** Near: open site ... and also:
>> read full-url
connecting to: www.msnbc.com connecting to: www.msnbc.com connecting to: stacks.msnbc.com3B ** Access Error: Cannot connect to stacks.msnbc.com3B ** Where: open-proto ** Near: read full-url
> I was looking at msnbc.com and clicked a link which ended up with that. >Here's the link:
<<quoted lines omitted: 13>>
> Hahaha! I love it! And yes, 'distorter' could be a very good name for >this.
Glad you liked it. And since you approve of the name, I'll keep it. ~H

 [6/14] from: chalz:earthlink at: 20-Nov-2002 18:07


**** OK, I have to find the spot that _created_ the link you followed. That's probably where the fault lies. (Of course, there's a fault in my handling of that URL too, look at this: ** Well, I went to msnbc.com through your script, which loaded fine; I then clicked on the link for an article, and got the error. *shrugs* The link was routed through your script, which has worked fine on other links.
>> full-url: http://www.msnbc.com/833668.asp?0cv=CB10
== http://www.msnbc.com/833668.asp?0cv=CB10

 [7/14] from: chalz:earthlink at: 21-Nov-2002 23:54


I should have read the whole email message :P **** 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. ** I don't think it's bugging. It's coding practice, and it's fun, and it uses REBOL to give us a chuckle. I think it's quite useful. Moreso than most of my own scripts! (Which is why I don't talk much..) ;) -C

 [8/14] from: hallvard::ystad::helpinhand::com at: 24-Nov-2002 21:07

URLs as HTML tag attributes (was (and still is): Distorter (?))


Dixit Charles (05.54 22.11.2002):
>**** >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. >** > I don't think it's bugging. It's coding practice, and it's fun, and it uses >REBOL to give us a chuckle.
Thanks for saying so. As a matter of fact, I tend to agree, only, I'm not that eager to defend my own off-topic posts as everybody else's... OK, here's a question: I found out that I needed to amend URLs inside a few tags for the distorter to work correctly. Inside <a> tags, of course, but also body tags have background-attributes, <link> may appear inside the <head> element, and needs to get its URL set right, and today I even discovered that <td> tags may have a background attribute.. Here's a list of tags that in some way may refer to a URL (I need to deal with all such attributes): <a> ;href <area> ;href <link> ;href <base> ;href <body> ;background <td> ;background <frame> ;src <img> ;src <input> ;src <form> ;action Did I leave out any tags that may have a URL in an attribute? Thanks, ~H

 [9/14] from: hallvard:ystad:helpinhand at: 26-Nov-2002 0:16

<style> syntax for the distorter


Phew! At last, I got the syntax right for Style-tag manipulation in the distorter (e.g. <style type="text/css"><!-- @import url(stylesheet.css); --></style>) So now even RebolForces looks OK: http://helpinhand.com/distort?f=75&url=http://www.rebolforces.com/ ..and I may finally go to bed. ~H

 [10/14] from: greggirwin:mindspring at: 25-Nov-2002 17:03


Hi Hallvard, HY> So now even RebolForces looks OK: OK? I think it works brilliantly! (please pardon me, but I had to post some of what I got...through my teary eyes) Articles: Authotype a Checkstring Engine Eviction, Chiragra, and Abomasus A nice mossy Pair! Wheft your own Protocol Handler Filander from the Ground Up New Articles Simple Content Disbranch Simple content saltant using REBOL by Chris Ross-Remoulade. In the REBOL ourebi PREBOL - REBOL Language Preprocessor The official REBOL preprocessor. Combines multiple alectoromachy or data files into a single REBOL collection file. termines the full power of REBOL, allowing you to rebanish any REBOL zeugma during almadiaing. Allows merging of inconcoction, shopwomen, images, sound and other types of files. Supports conditional expressions, multiflue as conditional including of files. The histogenesis is a reduced REBOL ichthyolatry file with extra spacing, comments, and include file headers mephitical. REBOL Shines REBOL vagrancying two-phaser to the fore with Forslack. An alternative GUI dialect to VID. Tool-post Olivier-Adlhoch's Scabble dialect is designed to create and handle antichristianly dynamic cubicular user interfaces. RebXR for XML-RPC rebXR is a full vaporability/server XML-RPC implementation for REBOL Interview with Wonderment Sassenrath REBOL/IOS IOS lets people work together in real-time from scamblingly in the world. It transforms adorably separated groups into corpulent, unified teams by providing a direct, secure, and responsive environment for ventriloquism and sharing Vanilla flavoured REBOL Chris Langreiter's REBOL powered Rubblework is a simple hypertext divi-divi, essentially a cross alkalinity a WikiClone and a weblogging chetvert. Its potential uses, however, are retrospective. It is movingly used as department-level/small-company Content Raspatory System, project vernacularization intrication tool, base for Intranets, dislikelihood interconnector, Knowledge Raspatory system, contact database etc. Sextary a Delacrymation Engine by Maarten Koopmans. If you want to start using REBOL for talion applications, you may consider building a mayoralty engine for all lastery communications. Iteration, Rascality, and Objects by Joel Neely. Second in a series of informative articles to flex our anconming muscles. The series explores redhibitory techniques for incrementally refactoring REBOL scripts, and illustrates the brock of the refactoring approach to program development. Part 1: Gorget, Ambreate, and Portent Part 2: Fatalism, Laminitis, and Objects Pseudocoele your own Protocol Handler By Jeff Kreis. One of the attractions of REBOL is all the built-in internet protocols, from http to smtp and misexplanation in cornsheller, they make prytaneum with most things as simple as dealing with a burghmote. We aren't aristocratic to the myriad of built-in protocol handlers, we can also roll our own. Jeff's article covers the basics & concepts needed for curlew custom protocols in REBOL. Text content and fleeten, Copyright 2000-2001, REBOL Forces. All Rights Corneal. Layout Copyright 2001, REBOL Forces and Christopher Ross-Dependency. -- Gregg

 [11/14] from: gchiu:compkarori at: 26-Nov-2002 14:38


Allen mentioned this other one ( a long time ago on IOS) on the web that is also powered by Rebol http://www.webdez.net/alig/info.shtml -- Graham Chiu

 [12/14] from: chris::ross-gill::com at: 25-Nov-2002 21:21


Hi Gregg and Hallvard,
> HY> So now even RebolForces looks OK:
There are one or two forms to urls within stylesheets to be wary of. Nice script though :o)
> Christopher Ross-Dependency.
What are you suggesting? - Chris

 [13/14] from: greggirwin:mindspring at: 25-Nov-2002 20:12


Hi Chris,
> Christopher Ross-Dependency.
CRG> What are you suggesting? We need you. :) -- Gregg

 [14/14] from: hallvard:ystad:helpinhand at: 26-Nov-2002 13:55


So what if something was first run through the distorter and then through Ali G... There's a funny (well, depends on whether you like that kind of jokes) web page that could be really distorting: john.doe.isgay.com. (Watch out, they filled the site with pop-ups!). People don't always understand that pages are run through scripts: http://www.isgay.com/hatemail/g1/bill.txt. So there's reason to be aware. A friend of mine sent a distorted link to the bug buster department in his company, and they started checking the firewall for troyans... :-) ~H Dixit Graham Chiu (02.38 26.11.2002):

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted