W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Re: SSI support

From: Sebastian Lange <lange@cyperfection.de>
Date: Wed, 10 May 2000 11:55:30 +0200
Message-Id: <>
To: "Egor Shokurov" <yeghors@netreflector.com>, "HTML Tidy MailList" <html-tidy@w3.org>
Hello Egor,

with minor modifications, you could use the PERL wrapper for tidy that I am 
currently writing. It should do what you want - parse and correct the 
content of your shtml-file and strip tidy's added document tags.

I am going to think a bit about how to make more flexible, thus more 
suitable for your needs, and implement that then... I expect it to be done 
by Friday or the following Monday.


At 13:33 10.05.2000 +0400, Egor Shokurov wrote:
>Hello guys
>I'm new in this list and may be what I'll say is an old grievous story 
>many times in this list, but:
>Many people use Server Side Include in their work, either in pure SHTML or ASP
>or whatever. That would be AWESOME if Tidy could parse included files.
>My understanding is that it should not modify included files or, at least,
>that should be an option. Good example of what i'm talking about is a
>standard header and footer for all pages, looking like following:
><TITLE>Our beautiful site</TITLE>
><P>Copyright (C) 2000 SomeCompany Ltd.</P>
><!--#INCLUDE VIRTUAL="ssiStdHeader.txt"-->
><H1>Welcome to SomeCompany Ltd. Corporate site !!!</H1>
><!--#INCLUDE VIRTUAL="ssiStdFooter.txt"-->
>When tidy parses this file you know it adds empty <TITLE> at the beginning 
>and </BODY> at the end of file.
>So I have to remove them each time I clean up my HTML with Tidy. I did not 
>look at Tidy sources yet, but
>I guess that would be very easy to implement SSI support in it.
>Any opinions how to do that without modifying Tidy ?
>Egor A. Shokurov
>Senior Software Developer
>Netreflector.com Inc.
>email: yeghors@netreflector.com
>Phone: int+7-095-532-89-65

Sebastian Lange
Maybe the first chat site that validates as HTML
4.0 even though user input may contain HTML codes.

Courtesy to Dave Raggett's HTML Tidy:
Received on Wednesday, 10 May 2000 05:53:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC