3
|
1 |
Import and export of projects and entries
|
|
2 |
=========================================
|
|
3 |
|
|
4 |
Import
|
|
5 |
------
|
|
6 |
|
|
7 |
The import of projects (from another labfolder instance or from another logbook software) is only possible via the labfolder API. An import of labfolder-own projects via webinterface is not possible to date. You can find the API documentation here:
|
|
8 |
|
|
9 |
| Version 1: http://labfolder.rz-berlin.mpg.de:9091/api/v1
|
|
10 |
| Version 2: https://labfolder.rz-berlin.mpg.de/api/v2/docs/development.html
|
|
11 |
|
|
12 |
Version 2 is still in the development phase.
|
|
13 |
|
|
14 |
Export
|
|
15 |
------
|
|
16 |
Exporting projects (or just single entries) is possible in three different formats: PDF, XHTML and JSON. The export as PDF can be done from within a project ...
|
|
17 |
|
|
18 |
.. image:: _static/export_of_projects.png
|
|
19 |
:width: 70 %
|
|
20 |
:align: center
|
|
21 |
|
|
22 |
... or from the project overview (*Manage > Projects*):
|
|
23 |
|
|
24 |
.. image:: _static/export_of_projects2.png
|
|
25 |
:width: 70 %
|
|
26 |
:align: center
|
|
27 |
|
|
28 |
The XHTML export can be done via the settings:
|
|
29 |
|
|
30 |
.. image:: _static/export_xhtml.png
|
|
31 |
:width: 70 %
|
|
32 |
:align: center
|
|
33 |
|
|
34 |
However, to use this type of export it has to be installed first in the *Manage > Apps* section. By means of the XHTML export all projects that one owns will be exported. A detailled selection of projects or entries to be exported is not possible. As soon as the export process is finished a download link appears in the settings in *Data exports*. The downloadable ZIP file contains all images and files along with an index.html file that contains information about all entries. You could open and view the index.html file in a browser similar to the view in labfolder.
|
|
35 |
|
|
36 |
The JSON export is only useable via the API endpoint ``GET /entries``. However, at the moment the response only contains useful information such as dates and tags. The author name is hidden behind the author ID and the entry text content is completely missing.
|
|
37 |
|