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

Re: feature query



On Sun, 28 May 2000, Tom Gilbert wrote:

TG> Right now, I can bring this stuff in, but either have to mark it up
TG> previously, or pull it into a file, run that through a separate wml
TG> process and then import the result (messy).

You could use a Makefile if you want, eg.

Makefile:
-----8<-----
index.html: index.wml
	fortune >fortune.wml
	wml index.wml >index.html
----->8-----

index.wml:
-----8<-----
<define-tag fortune>
#include fortune.wml
</define-tag>

<p>
Today's Fortune is:
</p>

<table bgcolor="cccccc" width="80%" cellpadding="20">
<tr><td>
<pre><fortune></pre>
</td></tr>
</table>
----->8-----

The Makefile would keep you from forgetting to do it manually.
Sorry, that I'm so keen on Make, but since I use it anyway, so
in my environment it wouldn't be much of a change. You may as
well prefer Denis' more universal solution.

Greets, Matthias


----------------------------------------------------------------
http://www.guxhagen.net/matthb/       mailto:matthb@guxhagen.net

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