Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 98 of 806  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  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.
  897   Fri Jan 28 18:04:03 2005 Reply Tim Fowlertimfowler1@gmail.comRequestLinux | 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.

Thanks Stefan! That was exactly what I was looking for!
  899   Tue Feb 1 14:44:00 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.5.5-2Re: Finding Last Changed Entries
> Is there an inbuilt way to find the last entries changed in an elog?
> 
> I could add a "Last Mod" attribute and then config "Subst on edit Last Mod =
> $date", but it occurred to me that this functionality might already be in
> this wonderful tool somewhere, but I just haven't found it yet.
> 
> So, is it?

No it isn't. Not everybody wants it. So you have to do it in the way you
outlined it. Also have a look at http://midas.psi.ch/elog/faq.html#11

- Stefan
  901   Thu Feb 3 16:48:41 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | WindowsV2.5.6-1Re: Conditional attributes does not work in French
> I am very much interested in using elog as a shift logbook for SOLEIL
> accelerators.

Hey, elog made it to SOLEIL! You know, we run it here at the SLS...

> I tested most of the options. Every thing works well except the conditional
> attributs when French language is selected. In this case, I lost the
> selected list option in the Field Equipement.

There was indeed a bug which only happend when switching to French! Some
javascript code contained

confirm('Erreur: l'attribute .... ')

So the "'" in l'attribute finished the string and Javascript stopped working. I
changed the quotes to

confirm("Erreur: l'attribute .... ")

so it works now. The new version is under CVS.

- Stefan
  903   Sun Feb 6 12:44:03 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.5.6+r154Re: $user_email variable causes problems in Use Email From setting
> header. I saw that elog:333 reported a similar problem but this was listed
> as fixed.

Yes, this was fixed in revision 1.550 of elogd.c. You apparently have revision 1.54x
which does not yet contain the patch. You need to donwload the newest version from
CVS and compile it by hand (or wait for the next major release).
  905   Mon Feb 7 10:00:42 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: repository of elog configuration files
> Is there a repository of elog configuration files for newbies to lookup and
> learn ? I have seen the 'contributions' elog - useful as it is ... it is not
> much. I would appreciate if someone can point out such a site where people
> have contributed their elog configuration files.

Have a look at the elog:Config+Examples. The configuration of this Forum for
example is there, covering most of the available options.

- Stefan
  908   Mon Feb 7 13:34:17 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.5.6Re: images attached shown as inline
> One of the main and mandatory feature they cannot renunce is the possibility
> of displaying every attached image just inline, without having to click over
> the file name or to enter the entry view (in which the attachment can
> already be displayed inline) ...  

Displaying images in the list view is possible by going to the "Find" page and
checking "Display full entries" and "Show attachments". This can even be
automatized by putting

Start page = ?mode=full&attach=1

into the configuration file. 

> - images (and hopefully ps, eps, pdf) be displayed inline just after the
> text body of the message in the main "List" view

PS, EPS and PDF files cannot be displayed inline by the browser (at least not
the browsers I know). I guess what you want is that users submit PDFs, and elog
should convert the PDF automatically into JPG and display a reduced version of
it. Unfortunately this is not possible, and it never will be, since one of the
design prinicples of elog is to be independent of any other package, and with
the requested functionality you would need lots of helper functions (like
ghostview, pbmtools, etc.) which some of which are not present under Windows.

> - possibility to configure the scale of this view
> - possibility of build some thumbs in order to save BW and time

Using a HTML <img width=100 ...> does not help. The image is then shown in a
smaller scale, but still the full picture has to be transferred. For making
thumbnails, you again need external libraries (see point above).

So if you want extensive image processing, you might be better of with a picture
gallery like applications, but maybe the automatic attachment display shown
above helps a little bit.
  913   Mon Feb 7 20:13:28 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll2.5.6Re: HTML 4.1 transitional validation fails
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp

> it should be used an HTML entity instead of the ampersand sign.<p> Can you please be a bit more specific? In which URL should the ampersand be replaced?
ELOG V3.1.5-3fb85fa6