W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1998

Re: script processing

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Wed, 29 Apr 1998 09:30:55 +0200
Message-Id: <199804290730.JAA01569@www43.inria.fr>
To: Roman Dusek <dusek@kolej.mff.cuni.cz>
cc: www-jigsaw@w3.org
dusek@kolej.mff.cuni.cz writes:

> Hi all,
> is there any way how to process some kind of script in Jigsaw? I mean, if I
> have for example counterFilter attached to HTTPFrame resource, can I
> include the value of counter into a web page (You are visior number
> <%=count%>) ?
> Well, solution would be to write my own HTTPFrame and catch this <%...%>
> marks in getFileResource method - bud isn't there some smarter (and
> quicker) solution?
> Thanks for suggestions,
> R. Dusek

 If you just want to display a counter, use SSIFrame [1] with this
 SSI call in the file.

    <title>Count SSI</title>
      <h1>Count SSI</h1>
       access nb : <!--#hitcount -->

 (The full documentation for SSI in Jigsaw is not available yet)

 But If you want to make more complicated things you could also write your
 own frame [2], or use CGI script with a CgiFrame [3], or a Servlet [4] ...

 [1] http://www.w3.org/Jigsaw/Doc/Reference/org.w3c.jigsaw.ssi.SSIFrame.html
 [2] http://www.w3.org/Jigsaw/Doc/Programmer/writing-frames.html
 [3] http://www.w3.org/Jigsaw/Doc/FAQ.html#CGI-scripts
 [4] http://www.w3.org/Jigsaw/Doc/FAQ.html#what-are-servlets


- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - + 
Received on Wednesday, 29 April 1998 03:34:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT