[WM] update 2.1 -> 2.2
Thomas Mueller
twm.s2h.cx
Thu Dec 6 10:21:02 GMT 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I just tried to update from webmake 2.1 to 2.2 but had to go back
because my wmk files no longer worked. I got lots of error messages
saying:
webmake: no value defined for metadata or content $[this.thetitle]
in "deutsch.html".
webmake: no value defined for metadata or content $[this.header] in
"deutsch.html".
I tried it with 2.3 and just got the same problem. This worked with
2.1. Has anything changed regarding the way how meta data is
defined and used? I tried to find something in the Changes file but
there is just too much in there.
I am using a fairly complex system with several nested metadata
defines like this:
- ----------- schnipp --------
<template name="header_template">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta name="author" content="Thomas Müller
webmaster at s2h.cx">
<title>$[this.thetitle]</title>
</head>
</template>
<template name="deutsch_pagetitle_template">
<wmmeta name="thetitle">twms Homepage - $[this.pagetitle]
(deutsch)</wmmeta>
</template>
<template name="deutsch_product_template">
<wmmeta name="pagetitle">$[this.product]</wmmeta>
<ol>
<li><a href="#wasist">Was ist $[this.product]?</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#bezug">Download</a></li>
<li><a href="#register">Rechtlicher Status</a></li>
</ol>
<hr>
<a name="wasist"></a><h2>1. Was ist $[this.product]?</h2>
$[this.wasist]
${deutsch_backtotop}
<a name="features"></a><h2>2. Features</h2>
$[this.features]
${deutsch_backtotop}
<a name="bezug"></a><h2>3. Download</h2>
$[this.bezug]
${deutsch_backtotop}
<a name="register"></a><h2>4. Rechtlicher Status</h2>
$[this.register]
${deutsch_backtotop}
</template>
- ----------- schnipp --------
And this is how it is used:
- ----------- schnipp --------
<content name="deutsch_product.txt">
<wmmeta name="product">Produktname</wmmeta>
<wmmeta name="wasist">
<p>
$[this.product] ist ...
</p>
</wmmeta>
<wmmeta name="features">
</wmmeta>
<wmmeta name="bezug">
</wmmeta>
<wmmeta name="register">
${deutsch_gpl_template}
</wmmeta>
${deutsch_product_template}
</content>
<content name="out_deutsch_helper">
<{set page_text="${${WebMake.OutName}.txt}" }>
${deutsch_page_template}
</content>
<out name="deutsch_product" file="product/deutsch.html">
${out_deutsch_helper}
</out>
- ----------- schnipp --------
I would appreciate any hints on how to solve the problem.
MfG :-)
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1e-SuSE (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8D7ayDtyzLLSz5eMRAt1IAJ47FHUjag4pAQzSy5QT0REF/K3teQCfdkf8
6iT+f+lQw+vmN3CO0W/QBlw=
=hQEx
-----END PGP SIGNATURE-----
More information about the Webmake-talk
mailing list