[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
How to define an <expire> tag?
- From: Fritz Zaucker <nospam@thanx>
- Date: 23 Jan 1998 16:44:17 +0100
Hi,
I was trying to define an <expire>-tag which is supposed to swallow
the rest of the page (or, alternatively, its body) if it evaluates to
true. Like the following:
--- WML input starts below ---
<title>Title of the page</title>
<h1>Header</h1>
<expire 1999/12/31>
Whatever is going onto the page ...
--- End of WML input file ---
The idea is that WML does only generate HTML for what's ABOVE the
expire tag if the date of the wml-run is past the expiration date.
Can this be done short of putting everything inside a ePerl-tag (which
would be a bad idea because of nesting not possible)? Any ideas from
the WML-master?
Also, while experimenting with this, I thought I could inform the user
by writting to STDERR from within <perl> </perl>. However, this aborts
the WML-run. Could we have a <say> </say> tag somehow to write to the
Console?
Have a nice weekend,
Fritz
--
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