Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 717 of 806  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  763   Tue Nov 2 18:15:09 2004 Reply Kristinn B. Gylfasonelog@askur.orgQuestionLinux2.5.4Re: Can the elog client submit an entry with a html body?
> > Is it possible to submit an entry with a html body using the elog client?
> 
> I added a "-H" flag for that. New version of elog.c under CVS and in the next
> release.

Great!  Thanks.

Kristinn
  762   Tue Nov 2 17:47:43 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.4Re: Can the elog client submit an entry with a html body?
> Is it possible to submit an entry with a html body using the elog client?

I added a "-H" flag for that. New version of elog.c under CVS and in the next
release.
  761   Tue Nov 2 02:51:09 2004 Question Kristinn B. Gylfasonelog@askur.orgQuestionLinux2.5.4Can the elog client submit an entry with a html body?
I'm running a Debian package of elog with verision number 2.5.4+r1480-1. 
The revision of the elog client in this package is 1.21. 

I'm using the elog client to send entries generated by a script to my
logbook.  I want to format the body text of the entry using HTML, to include
links and images.  When I submit the entry with the elog client it is
submited as text and not HTML.  

The man page for the elog client does not mention any commandline options to
specify the formating of the entry and I have not found any info in this
forum on the issue.

Is it possible to submit an entry with a html body using the elog client?
  760   Mon Nov 1 13:49:12 2004 Reply Stefan Rittstefan.ritt@psi.ch All Re:
> 2) default page view per user, i.e. the 'Back' link goes to                     
>    ?mode=Full,summary,... depending on the user that is logged in.              
>    Some users complained that 'Back' is not really back.  Maybe                 
>    consider renaming 'Back' to 'Default View' or something.                     

I replaced the "back" link with a "list" link, hope that this makes now more sense.
  759   Mon Nov 1 13:45:47 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.5.4-6Re: Compile of Elog
> If I make changes to the elog source, How do I re-compile it and not 
> distrupt the program??????

You first have to stop the running elogd server, then replace the executable,
then restart the server.
  758   Mon Nov 1 10:32:57 2004 Question Stefan Rittstefan.ritt@psi.chQuestion 2.5.4-6Re: Compile of Elog
> If I make changes to the elog source, How do I re-compile it and not 
> distrupt the program??????

There ist only a problem if you replace the currently running executable. You
sould first stop elogd, then replace the executable, then restart it. This ist
true both for Windows and Linux.
  757   Fri Oct 29 20:14:17 2004        
> 1) elogd should report quota or disk-full problem:  In case a logbook           
>    entry cannot be saved (quota or disk full) then a message like               
>    'Could not save last entry.  Please contact administrator.' should           
>    be displayed.  Currently nothing happens.  Only the submitted                
>    entries 'vanish'.                                                            

That has been fixed in meantime.

> 4) mark messages as unread/read on a per user basis: The                        
>    implementation of this might be quite involved but it would be               
>    rather useful.  One way would be to add a default attribute 'Seen            
>    by' to each entry, which lists the login names of the users.  Or 
>    files LOGIN_NAME.has_seen can be created which contain the entry 
>    IDs of the viewed entries for each user.

There is an elegant way to achieve this already now: Use an RSS reader (like
SharpReader for Windows or Straw from Linux) and subscribe to a logbook. Then don't
read the entries directly in the logbook, but read them in your RSS reader. Once you
read them, they become automatically marked read.   

> 5) alignment of attribute table (using <td colspan=2> for multi line            
>    stuff): see elog:669 :)                                                      

Has been fixed as well.

> - Use "and" and "or" operands in queries                                        

Elog supports now regular expressions. So for a "<str1> OR <str2>" one can write

<str1>|<str2>

and for a "<str1> AND <str2>" one can write

<str1>.*<str2>|<str2>.*<str1>

Looks a bit complicated, but maybe some day we will get some code which rewrites
"AND" and "OR" as regular expressions.
  756   Mon Nov 1 03:08:34 2004 Question Martin R. Picchiompicchio@chpnet.orgQuestion 2.5.4-6Compile of Elog
If I make changes to the elog source, How do I re-compile it and not 
distrupt the program??????
ELOG V3.1.5-3fb85fa6