[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Feature request: removal of "unwanted" tags



Perhaps in the mean time you could override tags -- so that <b> expands to
""? I hope I'm remembering correctly that one of the things you can do is
redefine existing tags...

Now, I know this isn't perfect since it's a "allow it unless explicitly
denied" solution, rather than a "deny it unless explicity allowed." But,
perhaps it'll work since there's a presumably finite set of tags you want
to disallow.

jim

-- 
[L]inux has an installed base conservatively estimated at around 3 million
users.... [V]endors say that most of the top companies in the US have bought
the OS - but that few will readily admit to running their multimillion-dollar
corporations on code put together by a band of software idealists. -- _Wired_

On 28 Jan 1998, Fritz Zaucker wrote:

> Hi,
> 
> I am designing a small set of tags for the web-pages of our site. The
> idea is to give a list of these agreed on tags to the authors of our
> various pages. They are then "allowed" to only use these tags and no
> others. Especially the use of "standard HTML tags" would be
> "forbidden".
> 
> It would be nice to have a mechanism the tell WML which tags are ok in
> the WML input files. WML should then remove all other tags (I guess in
> path 1) and may be send a message to STDERR about what it removed.
> 
> I guess it would be easy enough to use an external filter, but may be
> this be easily included as a standard feature?
> 
> Cheers,
> Fritz
> 
> P.S.: Please don't send me messages about "power to the user,
>       ...". The idea is to find an agreement with the people involved
>       and just to force ourselves to eliminate WYSIWYG markup. A
>       wml-lint, so to speak.
> 
>       Of course, one could even implement a command-line switch so
>       that one can either remove unwanted tags or just warn about them.
> 
> -- 
> Dr. Fritz Zaucker, Head IT Support Group
> Department of Electrical Engineering,  Federal Institute of Technology
> ETZ J97, Gloriastrasse 35, 8092 Zurich, Switzerland
> Tel.: +41-1-632-5241 Fax: +41-1-632-1194 http://www.ee-staff.ethz.ch/~zaucker/
> E-mail: zaucker@ee.ethz.ch (see home page for PGP key)
> ______________________________________________________________________
> Website META Language (WML)                www.engelschall.com/sw/wml/
> Official Support Mailing List                   sw-wml@engelschall.com
> Automated List Manager                       majordomo@engelschall.com
> 

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com