Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Passing html code for table using elog command, posted by Remington Tyler Thornton on Thu May 22 21:39:55 2014 
    icon2.gif   Re: Passing html code for table using elog command, posted by Andreas Luedeke on Mon May 26 09:55:06 2014 
Message ID: 67687     Entry time: Mon May 26 09:55:06 2014     In reply to: 67686
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.8.1-2350 
Subject: Re: Passing html code for table using elog command 

Remington Tyler Thornton wrote:

Hey,

I am testing out automated entries using elog on the command line. The file I pass has html code for a table; the resulting entry shows the html code for the table instead of generating the table. Is there a way to make elog parse the code to show a formatted table?

Thanks  in advance.

 

 
English (auto-detected) » English
 

The elog command has the option "-n <n>" to tell elog, what type of text it should expect.

[-n 0|1|2]               Encoding: 0:ELcode,1:plain,2:HTML
 
English (auto-detected) » English
 
You'll find it explained in the documentation https://midas.psi.ch/elog/userguide.html#misc

It is necessary for elog to know the type of encoding, otherwise it would not show non-html content correctly.

ELOG V3.1.5-3fb85fa6