Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 98 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  884   Tue Jan 18 03:37:40 2005 Reply Neil Swartzneilswartz@verizon.netQuestionAll2.5.5Re: Find using multiple values with MOptions
> > I have a logbook with an attribute that has a number of fixed values. I 
> > use MOptions to prevent typos when entering and allow multiple "keywords".
> > When searching the users can only search on one keyword.
> > Is there any way to search on multiple values (AAA|BBB|CCC)? If I do not 
> > use MOption, they can do this, but the users entering logs may mistype the 
> > keywords.
> 
> Even with Moptions, you can put into the "Text:" line
> 
> (AAA|BBB|CCC)
> 
> and click on "Search text also in attributes". This is a valid regular
> expression with searches for AAA or BBB or CCC. Unfortunately you still can
> mistype the values. If I would add check boxes in the find page, it would not
> be clear if one searches for an "AND" of several values or an "OR" (Most people
> would probably think that they want an "AND" because this happens if they
> restrict several attributes).

Yes, I can use the Text: search, but I still have the mistyping problem. (My 
field values are like "ENA, ETB, HRES, etc.) -- Easy to have a typo.

Currently there is a dropdown when searching for MOption fields. Maybe you could 
allow multiple selections in the dropdown. This to me is an "OR" search.
  885   Tue Jan 18 13:06:48 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.5.5Re: Find using multiple values with MOptions
> Currently there is a dropdown when searching for MOption fields. Maybe you could 
> allow multiple selections in the dropdown. This to me is an "OR" search.

Multiple selections are not possible in HTML, only a single value can be selected at
a time.
  888   Thu Jan 20 17:40:33 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: increasing the height of the attribute display field
> Was wondering  if it was possible to increase the height that the text box
> for an attribute is displayed as.

What you ask for is multi-line attributes. This is not implemented, but on the
wishlist since some time, where I added your vote.

Best regards,

  Stefan
  889   Thu Jan 20 23:59:19 2005 Reply John Habermannjohn.habermann@wilderness.org.auQuestionLinux Re: increasing the height of the attribute display field
Sorry I didn't see the wishlist but I see what you mean. I have just found out
that pasting content that contains more than 1 line into an attribute field
crashes elog.  

I have a play with the Preset text setting and see what I can come up with. By the
way there is a spelling mistake in the config.html page. In the Conditional
Attributes section you use the Preset text setting as an example but have spelt it
as "Prset text ="

Thank you for you help

John

> > Was wondering  if it was possible to increase the height that the text box
> > for an attribute is displayed as.
> 
> What you ask for is multi-line attributes. This is not implemented, but on the
> wishlist since some time, where I added your vote.
> 
> Best regards,
> 
>   Stefan
  890   Fri Jan 21 10:43:21 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: increasing the height of the attribute display field
> I have a play with the Preset text setting and see what I can come up with. By the
> way there is a spelling mistake in the config.html page. In the Conditional
> Attributes section you use the Preset text setting as an example but have spelt it
> as "Prset text ="

Thanks, fixed.
  891   Fri Jan 21 23:30:35 2005 Reply Stefan Rittstefan.ritt@psi.chInfoAll2.5.5Re: Find using multiple values with MOptions
<SELECT NAME="lid" multiple size="5">

Oh, nice, I didn't know of that. However, I prefer to have multiple options to be selected
with individual check boxes, this saves more vertical window space. So I added that
functionality to the find page. If more than one option of a MOptions attribute are
selected, they are or'ed together during the search. You can try that in this forum with
the "OS" for example.
  893   Tue Jan 25 21:48:52 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.5+r152Re: mirroring specific logbooks
> I was just wondering if it is possible to define what logbooks you want
> mirrored in the [Global] part of the elogd.conf file.

I added a new option

Mirror exclude = 1

which has to be put into the individual logbook section (not the [global] one).
The modification will be contained in the next release.
  896   Fri Jan 28 08:33:49 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinux | Windows2.5.5-3Re: Automatic Export
> Is there any way to automatically export the logbook(s)? 

Kind of. You can use "wget" under Linux (use cygwin under Windows to get wget
under Windows). Then issue a

wget "http://midas.psi.ch/elogs/forum/?cmd=Search&mode=xml"

and you will get an XML export. Same works with CSV export. If you put that
command in cron, you have this on an automatic basis.
ELOG V3.1.5-3fb85fa6