Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 503 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  65987   Fri Oct 3 15:29:01 2008 Question Ben Shepherdbjs54@dl.ac.ukQuestionLinux | Windows2.7.2-2041Summary lines spill over

Hi,

I've set up my ELOG configuration to display one summary line in the list view. However, a word from the next line creeps in from time to time. You can see this in my logbook - look at the 'Text' column for entries 805, 802 and 800 for instance. The word 'Shift' is from the second line of the entry, but it has been added to the summary text for some reason. Any ideas how I can fix this?

ben

  65988   Mon Oct 6 08:41:58 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows2.7.2-2041Re: Summary lines spill over

 

Ben Shepherd wrote:

I've set up my ELOG configuration to display one summary line in the list view. However, a word from the next line creeps in from time to time. You can see this in my logbook - look at the 'Text' column for entries 805, 802 and 800 for instance. The word 'Shift' is from the second line of the entry, but it has been added to the summary text for some reason. Any ideas how I can fix this?

 

 Your problem comes from the fact that you probably did not enter the HTML text body with the build-in editor, but copy-and-pasted it from somewhere else. ELOG determines the end of a line by looking at the line-feed character (\n), and your HTML text does sometimes not contain this character at the end, but only the HTML paragraph tag (</p>). I added some code in SVN revision 2131 to look also for the HTML tags properly, so if you upgrade to that version, it should be fine for you.

  65729   Mon Feb 11 19:22:25 2008 Question Uweuweho@web.deQuestionWindows2.7.2-2024'Deactivate' Options

Hello,

one question regard Options: For e. g. I am using the following command: Options Categories = NT, 2000, XP, Linux
Now I would like to delete the entry NT. But that would cause, that NT is no longer available in the search function. So I wonder if there is a way to deactivate an attribute?

Thanks!

Uwe

  65730   Mon Feb 11 19:48:11 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.2-2024Re: 'Deactivate' Options

Uwe wrote:

one question regard Options: For e. g. I am using the following command: Options Categories = NT, 2000, XP, Linux
Now I would like to delete the entry NT. But that would cause, that NT is no longer available in the search function. So I wonder if there is a way to deactivate an attribute?

A deactivate option is not implemented. The only possibility you have is to enter the search string drictly in the url, like

http://<host>/<logbook>/?Category=NT

  65731   Mon Feb 11 19:52:09 2008 Reply Uweuweho@web.deQuestionWindows2.7.2-2024Re: 'Deactivate' Options

Stefan Ritt wrote:

Uwe wrote:

one question regard Options: For e. g. I am using the following command: Options Categories = NT, 2000, XP, Linux
Now I would like to delete the entry NT. But that would cause, that NT is no longer available in the search function. So I wonder if there is a way to deactivate an attribute?

A deactivate option is not implemented. The only possibility you have is to enter the search string drictly in the url, like

http://<host>/<logbook>/?Category=NT

 

Thanks for the quick answer!

best regards,

Uwe

  66517   Wed Aug 19 11:49:37 2009 Question Johannes LieglJohannes.Liegl@gefanuc.comRequestLinux | Windows2.7.2-2012multiple keyword search - regular expression

Dear Sirs,

searching for keywords regular expression becomes very long. Are there any other type easy multiple keyword search supported. For example a keyword search like keyword1 & keyword2 results in different output than a keyword search like keyword2 & keyword1. A simple keyword search like "keyword1 & keyword2 and keyword2 &keyword1 should find all documents in a database containing both keywords resulting in the same output.

Thank you very much for you help in advance.

Best Regards

Johannes Liegl

 

 

  66524   Thu Sep 3 18:14:26 2009 Reply Stefan Rittstefan.ritt@psi.chRequestLinux | Windows2.7.2-2012Re: multiple keyword search - regular expression

Johannes Liegl wrote:

Dear Sirs,

searching for keywords regular expression becomes very long. Are there any other type easy multiple keyword search supported. For example a keyword search like keyword1 & keyword2 results in different output than a keyword search like keyword2 & keyword1. A simple keyword search like "keyword1 & keyword2 and keyword2 &keyword1 should find all documents in a database containing both keywords resulting in the same output. 

I had this request already several times. Indeed I myself am not very happy with regular expressions. If anybody knows of any other convenient search method, together with freely available C code, I'm more than happy to include this into elog. 

  66528   Fri Sep 4 13:59:19 2009 Reply Yoshio ImaiRequestLinux | Windows2.7.2-2012Re: multiple keyword search - regular expression
Maybe there is a simple way.
If I understand it correctly, the entries are accepted/rejected for inclusion in the search result list based on one call to regexec. In order to search for N keywords, you could replace this by a loop of N calls to regexec, and only accept the entry if all of them find a match.
ELOG V3.1.5-3fb85fa6