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

[BUG REPORT] WML This is WML Version 1.6.8 (12-01-1999), SunOS ursa 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-2



BUG REPORT

Package: WML This is WML Version 1.6.8 (12-01-1999)
Operating System: SunOS ursa 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-2 

Problem Description:
| I wanted to embed variable A as the default value for
| variable B. When filled in, it didn't work properly. 
| (thus the bug report ;)
| 
| Basically, i'm using WML to import a standard header 
| and footer to put up an intro, set up the body
| of the html, put a menu, etc.
| 
| In the head, i want to have 2 variable, one being
| the title of the document, the other being what goes
| to the <TITLE></TITLE> tags.
| 
| I use $(TITLE) to be the title  of the document
| (displayed in a nice big font (gfont isn't installed
| on my school's computer)). I use $(TITLE_BAR) as
| the variable to go into the title bar. So in my
| head file, i have:
| 
| <HEAD>
|   <META...>
|   <TITLE>$(TITLE_BAR:-$(TITLE))</TITLE>
| </HEAD>
| ...
| 
| 
| Then, i include it like:
|    #include "head.wml" TITLE="foo" TITLE_BAR="bar"
| The title bar has, without the quotes: "bar)".
| 
| When i have
|    #include "head.wml" TITLE="foo"
| it works fine.
| 
| 
| One other thing which i was looking for, was a way
| to insert the date of the file (or the compile date,
| or something like that. Or both?). It would make the
| last changed date a lot easier to do.  Insertable in
| various date formats would be good too, IMO.
| 
| Other than that, i love WML! 
| 
| Thanks,
| 
| Ryan

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