Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   HTML-File as attachement, posted by Becher on Tue Apr 5 22:39:20 2005 
    icon2.gif   Re: HTML-File as attachement, posted by Stefan Ritt on Tue Apr 5 22:45:22 2005 
       icon2.gif   Re: HTML-File as attachement, posted by Becher on Wed Apr 6 14:45:22 2005 
          icon2.gif   Re: HTML-File as attachement, posted by Stefan Ritt on Wed Apr 6 14:56:09 2005 
             icon2.gif   Re: HTML-File as attachement, posted by Stefan Ritt on Wed Apr 6 21:26:19 2005 
                icon14.gif   Re: HTML-File as attachement, posted by Becher on Wed Apr 6 23:02:47 2005 
                   icon2.gif   Re: HTML-File as attachement, posted by Stefan Ritt on Thu Apr 7 22:18:04 2005 
Message ID: 1059     Entry time: Wed Apr 6 14:56:09 2005     In reply to: 1058     Reply to this: 1061
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category:   OS:   ELOG Version:  
Subject: Re: HTML-File as attachement 
> Yesterday I mad a little experiment:
> I copied in OpenOffice the content from my HTML file, which was not shown correctly
> in ELOG, to a new HTML file, uploaded it in ELOG, and now my file was shown
> correctly formatted. The only one problem is that not all lines are shown, in the
> last line is written ...1753 more lines... . How can I show all lines? Do I have to
> recompile ELOG?

The reason for the "...1753 more lines..." is the following: Sometimes people upload
really huge files (10 MB or so). If they are displayed as ASCII attachments, each time
you access the entry you have to DOWNLOAD 10 MB. Sometimes even the browser crashes.
That's why I limited the display of the ASCII attachments to the first 1000 lines. To
see the complete file, just lick on the attachment name.

Concerning the inline display of HTML documents, I'm currently thinking of checking if
there is an <HTML> or <BODY> statement inside the file. If not, it might be just some
HTML fraction in which case it could be shown. If yes, it cannot be shown inline, but
if you click on it's name a new browser windows is opened containing the full document.
Does that sound reasonable to you?
ELOG V3.1.5-fe60aaf