Re: Tail a logfile to a web page



Dan Olson wrote:
>
> David Ross <nobody@xxxxxxxxxxx> writes:
>
> > I assume you are creating the Web page's HTML dynamically from the
> > log file via some kind of script operating outside the Web page.
>
> Yes. Basically I'm going down the path of using a web based interface
> embedded in a network device for setup and monitoring. As opposed to
> the good old RS232 or telnet console interface. Anyway, I'm more of
> an embedded software developer so am not familiar with all the
> different techniques usable with a web browser. A HTML interface
> seemed nice in that the end user doesn't need to install any software
> on their computer to configure and monitor the device I'm working on.
>
> > In the HEAD section of the generated HTML file, include the
> > following line:
> > <meta http-equiv="Refresh" content="nn">
> > where nn is some integer. The page will refresh every nn seconds.
> >
> > See <URL:http://cad.chp.ca.gov/>. The middle frame has nn=30.
>
> This sounds like it will work for what I want to do. I'll see if I
> can figure out how to use the refresh tag when the browser doesn't
> support Java.

REFRESH is not a tag. It's a value for a META tag, which in turn
is a substitute for a field on the HTML tag.

This does not require Java. However, not all browsers support
REFRESH. I know that Mozlla and Firefox support it, and I think IE
supports it. If you're not sure about your browser, test it with
my <URL:http://www.rossde.com/get_index.html>. If you get my Index
without selecting the "Go" button, your browser supports REFRESH.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
.