[Gimp-web] rewrite_attrs.py

Sven Neumann sven at gimp.org
Sat Apr 19 11:37:06 2003


Hi,

one more thing I noticed about rewrite_attrs.py: The current script
doesn't seem to allow to properly maintain links that show the target
address like:

 <a href="http://www.gimp.org/">www.gimp.org</a>

If we convert this to:

 <a href="wgo:gimp-the-website">www.gimp.org</a>

and the address is changed to www.gimp.com one day (/me shudders), a
change of the dictionary wouldn't be enough. I'd suggest you change
the script so that it also takes links of the form

 <a href="wgo:gimp-the-website"/>

and rewrites them to the complete link shown at the top.


Sven