[REBOL] URLs as HTML tag attributes (was (and still is): Distorter (?))
From: hallvard::ystad::helpinhand::com at: 24-Nov-2002 21:07
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