> Von: Jon Stevens [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 30. Jänner 2001 01:38
> on 1/29/01 3:26 PM, "Ingo Rammer" <[EMAIL PROTECTED]> wrote:
> 
> > On one hand it's just for keeping the layout consistent 
> (which means, there
> > shouldn't be another <STYLE>-Tag in). On the other hand, a <META
> > http-equiv="REDIRECT... -Tag wouldn't be nice in a portal anyway ...
> > 
> > Every "scrubbing"-feature can be turned of for any page you 
> want to include
> > in the portal. (The only thing that can't be switched is 
> the automatic
> > opening/closing of missing tags ... so that a included 
> "</table>" without
> > corresponding "<table>" wouldn't mess up with your layout.
> 
> A better methodology for this is to simply remove the tags 
> that you don't
> know about and keep the ones that you want...this can be done 
> with a regular
> expression. I suggest that you do it this way. :-)

The only problem is, that I have to rewrite all <A HREFs, <IMG SRCs, ... so
that i have to send the text through an HTML-parser anyway. The parser
already takes care of matching opening/closing tags. I suspect that using a
regexp that would filter all the tags we want will somewhat easily result in
"write-only"-code.

Ingo


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to