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

Re: <page> and <info> tags




Ralf S. Engelschall writes:
 > 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.
 > 
 > The wml::std::page also overwrites the <head> container tag, so you simply can
 > use:
 > 
 > | #use wml::std::page
 > | <page info>
 > | <head>
 > | <meta name="Keywords" content="keys, locks, doors">
 > | </head>
 > | test
 > 
 > 
 > Isn't this exactly what you want?

oh. Thanks a bunch for the help, and for wml in general!

No to grousing: it isn't clear to me from the wml:std:page man page
what the syntax for a wml <head> (or <title> is. There is a fair bit
about <page> but as for head and title, they are only mentioned in the
synopsis area, and then we are refered to standard HTML documentation
for <head> and <title>. I assumed the message was that page replaces
head and title... 

No man page exists for wml::std::head or wml::std::title, so logically
they should be documented in man::std:page, right?



EN Tools                                        WML::STD::PAGE(1)

NAME
     wml::std::page - Standard HTML Page Header and Footer

SYNOPSIS
      #use wml::std::page

      <page [attributes]>
      [<page_end>]

      <head>...</head>
      <title>...</title>


DESCRIPTION
     This include file provides the new <page> tag which is a
     advanced combination of the HTML <body> and <head> container
     tags. The idea is to provide complete header and footer tags
     via one single tag while providing new features like page
     indentation, easy title specificattion and setup of default
     values for the page colors.

     The generated page skeleton is additionally structured via
     three slices:  WML_STDPAGE_HEAD, WML_STDPAGE_BODY and
     WML_STDPAGE_FOOT. Use these slices to cut out some parts.

ATTRIBUTES
     title
         This is a shorthand for the container tag <title>. The
         value of this attribute is placed in the <head> section
         of the page, surrounded with the <title> tag.

     indent
         This sets the indentation level of the page in units of
         <blockquote>'s.  Default is no indentation. Setting
         intent to a value of N means the page is surrounded by N
         <blockquote>> tags.  The attribute indent=1 or indent=2
         usually provides the best readable layout.

     background
         This just corresponds to the same attribute of the
         <body> tag and sets the background image.  This is per
         default not used.

     bgcolor
         This just corresponds to the same attribute of the
         <body> tag and sets the background color.  Default is
         bgcolor="#ffffff" (white).

     text
         This just corresponds to the same attribute of the
         <body> tag and sets the text color.  Default is
         text="#000000" (black).
     link
         This just corresponds to the same attribute of the
         <body> tag and sets the normal hyperlink color. Default
         is text="#333399" (medium blue).

     alink
         This just corresponds to the same attribute of the
         <body> tag and sets the color for activated hyperlinks.
         Default is text="#9999ff" (light blue).

     vlink
         This just corresponds to the same attribute of the
         <body> tag and sets the color for already visited
         hyperlinks. Default is text="#000066" (dark blue).

     onload
         This just corresponds to the same attribute of the
         <body> tag and sets a JavaScript even handler which is
         activated after page was loaded.  This is per default
         not used.

     info
         This automatically puts a <info style=meta> tag into the
         <head> section of the page. See wml::std::info(3) for
         more details.

     slices
         This enables the creating of the WML_PAGE_* slices.
         These can be used in Pass 9 (Slice) later.

AUTHOR
      Ralf S. Engelschall
      rse@engelschall.com
      www.engelschall.com


REQUIRES
      Internal: P1, P2, P5
      External: --


SEEALSO
     HTML <head>, <body> and <title> tags

1/Jul/98              Last change: EN Tools                     3
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com