Re: generate HTML

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 10/29/04


Date: Fri, 29 Oct 2004 06:43:33 GMT

On Thu, 28 Oct 2004 12:31:31 +0200, Petterson Mikael
<mikael.petterson@ericsson.se> wrote:

> Hi,
>
> I have a script that makes nightly builds (with different
> config spec:s) of java applications. My problem is that I need
> to present the result on a web page.
>
> I need some good advice on how to proceed.
>
> Shall I generate information to a log and then parse the log
> and transform it into HTML? Are there any easy tools for this?
>
> All advice is very welcome.
>
> //Mikael
>

How fancy does the HTML have to be? You can use this to wrap any
text to be displayed just as it is (call the *file* blank.html
for the moment):

<html><head><title>whatever</title></head><body><pre>

        insert text here

</pre></body></html>

With that in a file (sans "insert text here"), all you have to
do is use sed or ed or vi to insert the text you want and the
title and ftp it up to the server.

#!/bin/bash

ed -s blank.html <<XXX
/<pre>/r logfile
wq
XXX

That would insert logfile after the HTML header and before the
HTML footer.

AC



Relevant Pages

  • Re: Simple HTML table structure issue/question.
    ... >> Thanks for the advice.. ... Im sure your recommendations are what I SHOULD ... but unfortunetly I know little of html .. ... > this mess in the first place. ...
    (alt.html)
  • Re: How to speed up a code loop with INSERT INTO query?
    ... Thanks everyone for the help and advice. ... I tried the link to html, ... Set rsEWB = CurrentDb.OpenRecordset ... Later, I can then loop through and parse these 800,000 strings into ...
    (comp.databases.ms-access)
  • Re: Help -- getting 100% height on borders
    ... have the slightest interest in actually understanding my question and ... content as text/html, then IE is treating it as HTML - regardless of the ... asking for advice and I've always had polite, ... Web Hosting by West Virginians, ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Simple HTML table structure issue/question.
    ... > Thanks for the advice.. ... Im sure your recommendations are what I SHOULD ... but unfortunetly I know little of html .. ... then the kind of variation between browsers that you're complaining ...
    (alt.html)
  • RE: Web-design in Fedora
    ... > intended to run under Apache/Fedora? ... > Any advice or suggestions gratefully received. ... I learned from a book called "HTML 4 for the world wide web" by Elizabeth Castro. ... But HTML 4 is a very solid, basic language that should run on most browsers. ...
    (Fedora)