Importing projects from e.g. the ELOGbook to Labfolder at the FHI
=================================================================
The ELOG entries of a certain project need to be exported as *Raw* which looks like this::
$@MID@$: 12
Date: Tue, 03 Dec 2013 12:15:14 +0100
Author: Wieland Schöllkopf
Author Email: mailto:wschoell@fhi-berlin.mpg.de
Category: Shift summary
Subject: 1st solid-state experiment with FHI FEL
Severity: DOCU
Keywords:
Record date: 1386069171
Attachment:
Encoding: HTML
========================================
<p>Today Alex Paarmann and Marc Herzog are measuring in the wavelength range from 10 to 20 micron with a 0.5 mm thick GGG (Gadolinium Gallium Garnet, <a title="Gadolinium" href="http://en.wikipedia.org/wiki/Gadolinium">Gd</a><sub>3</sub><a title="Gallium" href="http://en.wikipedia.org/wiki/Gallium">Ga</a><sub>5</sub><a title="Oxygen" href="http://en.wikipedia.org/wiki/Oxygen">O</a><sub>12</sub>). Electron energy is set to 26 MeV.</p>
This ASCII export looks like this in the ELOG webinterface:
.. image:: _static/elog_entry.png
:width: 100 %
:align: center
What is noticeable is that the ELOG export comes with a "ö" instead of an "ö". Interestingly, if only entries done by Wieland are exported the export file has UTF-8 encoding which can actually print German "Umlaute" (ö, ä, ü). If all entries are exported the encoding changes to an encoding that cannot handle e.g. "ö".
After importing the above ELOG entry into labfolder this entry appears like that:
.. image:: _static/entry_after_import.png
:width: 100 %
:align: center