Yes, it is a mixed multi-part nph-cgi script. 

Like this:

print <<ENDofHTMLSTART;
HTTP/1.0 200 OK
Content-type: multipart/x-mixed-replace;
  boundary=RandommodnaR

--RandommodnaR
Content-type: text/html

<HTML>
and so on....
print your various lines

<p>
ENDofHTMLSTART

do some perl stuff
then finish (you can do multiple pages if you want with more of above)

then

print <<ENDofEMBlocks;
</body>
--RandommodnaR--
Content-type: text/html

<HEAD>
etc....
ENDofEMBlocks


Michael

On Mon, 19 Apr 1999, Adam Gifford wrote:

> hello, I was wondering if anyone knows how www.metacrawler.com produces
> the status screen
> when you do a search.  (and how i could do a similar thing with jserv,
> as i have some reports that
> take several minutes to generate).
> 
> Doing a 'save as html' produced the following curious results:
> 
> --TextString
> Content-Type: text/html
> 
> <html><head><title>MetaCrawler getting results: dummy
> search</title></head>
> <body bgcolor="#FFFFFF"><font face="Arial, Helvetica">
> <h2>Getting results for query: dummy search</h2></font>
> <p>
> <h3>Infoseek: 10 references returned.</h3>
> (snip)
> <h4>Waiting, 0 sources left.</h4>
> <h3>Finished, sending hits...</h3>
> </body>
> 
> 
> --TextString
> Content-Type: text/html
> (second page complete with <html><body> etc)
> 
> 
> 
> 
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]
> 


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to