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

Re: Downstripped meta-html



On Mon, 27 Dec 1999, Oliver Paukstadt wrote:

> HY HY
> 
> I have problems with the downsized version of mhtml.
> 
> 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.
Suggestion:
 Use ePerl to generate a file containing wml_p1_ipp directives. 
* create an empty file named ``contents''
* load this file during pass 1 (with flags or wml_p1_ipp directives)
* during pass 3,
  o parse this file to read which files were included during pass 1
  o read directory contents
  o if files included during pass 1 do not exactly match directory
    contents, overwrite the ``contents'' file and write a message to
    stderr telling to rerun WML and exit

-- 
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