I believe this is the correct course of action for non embedded images per
the other post ideas.  My pseudocode therefore is:

search for
 <img src=(http|https)(.*)>

replace with

  <a href=$1$2><img
src=http://mydomain.com/image_describing_click_here_to_view_possibly_unsa
fe_ image></a>

perform this action on BOTH text/plain and text/html parts using
HTML::Parser for the html and perl for the text/plain.

Any comments on this course of action?



or replace with

 <a href=$1$2>IMAGE</a>

and leave the plain text alone.  Almost the same thing.

I'd like to see this written out with HTML::Parser when you do it.

Joseph Brennan
Academic Technologies Group, Academic Information Systems (AcIS)
Columbia University in the City of New York


_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to