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

Re: <page> and <info> tags

On Fri, Aug 28, 1998, Michael McNamara wrote:

> I use the <page> tag.
> I want to get <meta name="Keywords" content="keys, locks, doors">
> inserted into the <head> </head> region, as per the HTML spec.
> <page> has a info attribute, but it appears to accept no arguments,
> and if present, all it seems to do is include:
> <meta name="Author"    content="Michael McNamara, mac@medusa.surefirev.com">
> <meta name="Generator" content="WML 1.6.6 (25-06-1998)">
> <meta name="Modified"  content="28-08-1998 18:31:36">
> in the <html> section.  This is the right place, but I want seach
> keywords!

The wml::std::page also overwrites the <head> container tag, so you simply can

<meta name="Keywords" content="keys, locks, doors">

For instance:

| #use wml::std::page
| <page info>
| <head>
| <meta name="Keywords" content="keys, locks, doors">
| </head>
| test

gives me the correct result:

| <html>
| <head>
| <meta name="Author"    content="Ralf S. Engelschall, rse@engelschall.com">
| <meta name="Generator" content="WML 1.6.7 (02-08-1998)">
| <meta name="Modified"  content="30-08-1998 13:16:18">
| <meta name="Keywords" content="keys, locks, doors">
| </head>
| <body bgcolor="#ffffff" text="#000000" link="#333399" alink="#9999ff"
| vlink="#000066">
| test
| </body>
| </html>

Isn't this exactly what you want?
                                       Ralf S. Engelschall
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com