<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Import and export of projects and entries — Labfolder at FHI 1.0 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Importing projects from e.g. the ELOGbook to Labfolder at the FHI" href="importing_from_elog.html" />
<link rel="prev" title="Groups, ownership and sharing in labfolder" href="groups.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head>
<body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="import-and-export-of-projects-and-entries">
<h1>Import and export of projects and entries<a class="headerlink" href="#import-and-export-of-projects-and-entries" title="Permalink to this headline">¶</a></h1>
<div class="section" id="import">
<h2>Import<a class="headerlink" href="#import" title="Permalink to this headline">¶</a></h2>
<p>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:</p>
<div class="line-block">
<div class="line">Version 1: <a class="reference external" href="http://labfolder.rz-berlin.mpg.de:9091/api/v1">http://labfolder.rz-berlin.mpg.de:9091/api/v1</a></div>
<div class="line">Version 2: <a class="reference external" href="https://labfolder.rz-berlin.mpg.de/api/v2/docs/development.html">https://labfolder.rz-berlin.mpg.de/api/v2/docs/development.html</a></div>
</div>
<p>Version 2 is still in the development phase.</p>
</div>
<div class="section" id="export">
<h2>Export<a class="headerlink" href="#export" title="Permalink to this headline">¶</a></h2>
<p>Exporting projects (or just single entries) is possible in three different formats: PDF, XHTML and JSON. The <strong>export as PDF</strong> can be done from within a project …</p>
<a class="reference internal image-reference" href="_images/export_of_projects.png"><img alt="_images/export_of_projects.png" class="align-center" src="_images/export_of_projects.png" style="width: 70%;" /></a>
<p>… or from the project overview (<em>Manage > Projects</em>):</p>
<a class="reference internal image-reference" href="_images/export_of_projects2.png"><img alt="_images/export_of_projects2.png" class="align-center" src="_images/export_of_projects2.png" style="width: 70%;" /></a>
<p>The <strong>XHTML export</strong> can be done via the settings:</p>
<a class="reference internal image-reference" href="_images/export_xhtml.png"><img alt="_images/export_xhtml.png" class="align-center" src="_images/export_xhtml.png" style="width: 70%;" /></a>
<p>However, to use this type of export it has to be installed first in the <em>Manage > Apps</em> 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 <em>Data exports</em>. 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.</p>
<p>The <strong>JSON export</strong> is only useable via the API endpoint <code class="docutils literal"><span class="pre">GET</span> <span class="pre">/entries</span></code>. 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.</p>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper"><div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="groups.html" title="previous chapter">Groups, ownership and sharing in labfolder</a></li>
<li>Next: <a href="importing_from_elog.html" title="next chapter">Importing projects from e.g. the ELOGbook to Labfolder at the FHI</a></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©2018, Stefan Weiher.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.6</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>
|
<a href="_sources/import_export.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>