[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: wml::std::page
- From: Denis Barbier <nospam@thanx>
- Date: Thu, 11 May 2000 21:24:11 +0200 (CET)
On Thu, 11 May 2000, Jan Holler wrote:
> Tue, 9 May 2000 23:20:08 +0200 (CET), Denis Barbier wrote:
> > Anyway, i now agree that this patch is useless (and will be removed),
> > an efficient solution (certainly what Jan had in mind) is to write
> >
> > #use wml::std::page
> > #use wml::std::info
> >
> > <page
> > title="Some title"
> > >
> > <head>
> > <info style=meta
> > description="This is a fabolous site"
> > keywords="Sex, drugs, rock, roll"
> > >
> > </head>
>
> Yes, of course, forgot the <head>-tag. I suggest to enhance the
> <info>-tag to include custom headers. I have modified it a little to
> have it include cascading style sheets. But it would be fine to
> have a more flexible way, e.g. like the following:
>
> <info style=custom
> <meta http-equiv="content-style-type" content="text/css">
> <link rel="stylesheet" type="text/css" href="$(STYLESHEETS)/screen.css">
> >
>
> Those two lines would be taken by <info> and (without
> modifacation) placed in the header-section.
With wml::std::page, this is exactly what <head> is for, it puts its
body into the HTML header section, so you may write
#use wml::std::page
#use wml::std::info
<page>
<head>
<meta http-equiv="content-style-type" content="text/css">
<link rel="stylesheet" type="text/css" href="$(STYLESHEETS)/screen.css">
<info style=meta>
</head>
I added a note in WML 2.0 about the <title> and <head> tags defined in
wml::std::page.
--
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com