That's an interesting thought.  Most prior discussion I had seen focused
on a tag that specifically wraps individual URLs.  While what you describe
would be much easier for the page author, it also might introduce some
complications (i.e., unexpected conversions).

+1 for adding it here (to response) and seeing what people think.

Shawn

On Fri, 11 May 2001, Dion Almaer wrote:

> Hi -
> 
> I thought it could be useful to have a taglib that goes through a body and
> automatically encodes
> urls in the body.
> 
> <response:encodeURLs>
> blah
> blah
> blah
> <a href="http://www.foo.com";>pasjds</a>
> </response:encodeURLs>
> 
> http://www.foo.com will automatically have encodeURL() on it.  I have
> attached
> the java code to kinda do this.  It relies on the apache Regexp libs.
> I think this could be a natural addition to the response package.
> 
> Dion
> _____________________________________________________________
> Dion Almaer | [EMAIL PROTECTED]       | voice: 720.304.3244
> CustomWare  | http://www.customware.com | fax:   360.242.0671

Reply via email to