Sign in to follow this  
rick_appleton

Unity [web] LogViewer

Recommended Posts

I've created a client-side dynamic page that imports log files and displays them in tabs. Pleas also see here and the example page. However, as my journal details there are still a few bugs. And a friend of mine on a Mac says it's all borked up (but useable). So I'm looking for testers and some feedback as well. If possible I'd like to get this working everywhere.

Share this post


Link to post
Share on other sites
It looks OK in Konqueror, but since the files are embedded as a txt in the inline frame, Konqueror asks to download the file. Only when you click 'Open' the log will appear in the frame.


What you could try is to read in the file, put < html >< body >< pre > tags in front of it, and close them at the end.


/edit:
Gah, the forum changed < pre > into [ code ]...

Share this post


Link to post
Share on other sites
Thanks for the report Sijmen. It's odd though, since it works for me in Konqueror. You probably wouldn't know a way to insert the < html > < body > < pre > tags into the stream on opening the file? I'd rather not impose that as a requirement for the files that it's able to read. But I haven't been able to find a satisfactory way of embedding the files.

I've tried using the < object > tag, and now I'm using the < iframe > tag. Both work okay, but they don't allow me to write anything into them using javascript (as far as I know).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this