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

Re: Downstripped meta-html



On Tue, 28 Dec 1999, Denis Barbier wrote:

> On Mon, 27 Dec 1999, Oliver Paukstadt wrote:
> > I need to include all files in a special directory during the mhtml-pass
> > because all defined tags in those files should be parsed.
> 
> Doing this with mhtml is not trivial.
;-) Got it ;-) 

<set-var ndir=/a/path/to/a/dir >
<directory-contents <get-var ndir> dirlist >
<unset-var dirlist::. >
<unset-var dirlist::.. >
<set-var files[]=<package-vars dirlist > >
<foreach file files>
<set-var full=<alist-get-var <get-var file> FULL-NAME> >
<include <get-var full>>
</foreach>

a bad thing is that the <thisdir>-Function doesn't work in the WML-mhtml,
but I'm happy now ;-)

BYtE Oli

+++Microsoft is not the answer +++++++++++++++++++++++++++++++++++++++++++
+++it's the question and the answer is NO! +++++++++++++++++++++++++++++++
+++oliver@paukstadt.de+++http://www.paukstadt.de/ ++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 


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