Re: HTML-File as attachement, posted by Becher on Wed Apr 6 14:45:22 2005
|
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? |
Re: HTML-File as attachement, posted by Stefan Ritt on Wed Apr 6 14:56:09 2005
|
> 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? |
Re: HTML-File as attachement, posted by Stefan Ritt on Wed Apr 6 21:26:19 2005
|
Ok, I turned display of HTML attachments completely off in 2.5.8-3. So if one wants to see
it, on has to click on it. Otherwise there is no way to ensure a correct web page, so
people would complain again that the page does not pass the HTML validator if someone
attached an invalid HTML file. |
Re: HTML-File as attachement, posted by Becher on Wed Apr 6 23:02:47 2005
|
I think this is reasonable. All the HTML-files which I want insert (created with the software
INCA) are not shown correctly. My testfiles made with OpenOffice are shown correctly. Maybe
you have the time to program an option for the attachement "Show inside/Show in new window or
tab", so that the user can choose, how his HTML file is shown. Similiar to the option "Submit
as HTML text". |
Re: HTML-File as attachement, posted by Stefan Ritt on Thu Apr 7 22:18:04 2005
|
> I think this is reasonable. All the HTML-files which I want insert (created with the software
> INCA) are not shown correctly. My testfiles made with OpenOffice are shown correctly. Maybe
> you have the time to program an option for the attachement "Show inside/Show in new window or
> tab", so that the user can choose, how his HTML file is shown. Similiar to the option "Submit
> as HTML text".
I changed it such that all attachment are shown in a separate browser window if clicked. Hope
this satisfies most people. I believe an extra switch in the config file is too much for this
little thing, unless someone absolutely wants back the old behaviour. |
Howto subscribe to ELOG RSS feeds in Mozilla Thunderbird, posted by Stefan Ritt on Fri Apr 8 14:35:19 2005
|
So subscribe to ELOG RSS feeds, do the following:
- In Thunderbird, click "Tools/Account setting", then click "Add account",
"RSS News & Blogs", "Next", "Finish", "Ok".
- Select "News & Blogs" in the "Folders" pane, right-click and select
"Properties"
- Click on "Manage Subscriptions..."
- Click on "Add"
- Enter the Feed URL of elog. Use your logbook URL and add "elog.rdf". For
this forum for example, enter
http://midas.psi.ch/elogs/Forum/elog.rdf
- Click OK. That's all.
See how the RSS feed shows up in the attached image. Please note that you
need public read access to your logbook for this to work (via "Guest menu
commands"), since the RSS mechanism does not support authentication. |
Directories in top groups, posted by Stephen A. Wood on Mon Apr 18 17:02:20 2005
|
I am trying to unify several existing logbook collections that run on
seperate servers under a single server using groups. For a top group, under
"[global topgroupname]", I would like to redefine the resource directory or
the logbook directory so that everything except for the .cfg is at it
original location. However, it seems like "Resource dir" and "Logbook dir"
can not be redefined in the global section for specific groups. Is it
possible to redefine these directories for each top group, or is it feature
that could be added?
I could probably do what I want with soft-links, but redefining the resource
dir just seems to be right way to do this. (For one thing, I would like
different favicons for each group.) |
Re: Directories in top groups, posted by Stefan Ritt on Mon Apr 18 21:57:19 2005
|
> I am trying to unify several existing logbook collections that run on
> seperate servers under a single server using groups. For a top group, under
> "[global topgroupname]", I would like to redefine the resource directory or
> the logbook directory so that everything except for the .cfg is at it
> original location. However, it seems like "Resource dir" and "Logbook dir"
> can not be redefined in the global section for specific groups. Is it
> possible to redefine these directories for each top group, or is it feature
> that could be added?
Not easily. There is only a single logbook and resource directory inside elogd.
The reason is that these are constants which can be fixed during compile time.
The Debian package uses this extensively. So having multiple directories would
break that scheme.
> I could probably do what I want with soft-links, but redefining the resource
> dir just seems to be right way to do this. (For one thing, I would like
> different favicons for each group.)
I'm afraid you have to use soft links. The favicons you can define however via
the theme, which is a per-logbook option, so it would work in the [global
topgroupname] section as well. |
|