Actions

Alternatives to the LimeSurvey import function/de: Difference between revisions

From LimeSurvey Manual

m (FuzzyBot moved page Importing a survey structure/de to Alternatives to the LimeSurvey import function/de without leaving a redirect: Part of translatable page "Importing a survey structure".)
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />
__TOC__
=Import using the commandline utility=


=Import über die Administratorenoberfläche=
From version 1.50 to 1.92 it was possible to import surveys from the command line (or shell). To use this functionality, you need to have access to the shell and the PHP interpreter has to be configured to allow shell execution of scripts.
 
Wenn Sie zuvor eine Umfragestruktur exportiert haben, können Sie diese im "Erstellen, importieren oder kopieren einer Umfrage"-Bildschirm importieren. Um dorthin zu gelangen klicken Sie einfach auf das ''Erstellen, Importieren oder Kopieren einer Umfrage''-Symbol [[File: add.png]] und im folgenden Bildschirm klicken Sie auf den Karteireiter ''Importieren'. Klicken Sie auf die Schaltfläche Durchsuchen, um die Datei zu wählen, und klicken Sie anschließend auf die Schaltfläche ''Umfrage importieren''.
 
The import process reads the following formats:
*.[[Exporting_a_survey_structure#Export_survey_structure_.28.lss.29|LSS files]] (XML-format created by LimeSurvey 1.90 or later)
*.[[Exporting_a_survey_structure#Export_survey_archive_.28.lsa.29|LSA files]] (Survey archive which may include also token, responses and timings - available since LimeSurvey 2.0)
*.[[Exporting_a_survey_structure#Export_tab-separated-values_format_.28.txt.29_.28New_in_2.0_.29|TXT files]] (Text-format created by Excel - available since LimeSurvey 2.0)
*.CSV files (Created by early LimeSurvey versions from 1.50 to 1.90)
 
So können Sie alte Umfragen aus früheren Versionen importieren. Der Import weist der Umfrage und den Gruppen, Fragen, Antworten und Bedingungen 'intelligent' neue IDs zu, so dass sie alle zueinander passen - '''keine bestehenden Umfragen werden überschrieben'''. Siehe den Abschnitt über [[Exporting a survey structure/de|Exportieren einer Umfrage Struktur]] für weitere Informationen.
 
=Import über die Kommandozeile=
 
In LimeSurvey v1.50 bis v1.92 war es möglich, Umfragen über die Kommandozeile zu importieren. Um diese Funktionalität nutzen zu können, benötigen sie Zugang zum Shell und ihr PHP-Interpreter muss so konfiguriert sein, dass er das Ausführen von Skripten auf der Shell-Ebene erlaubt.


Diese Funktion war nützlich, wenn Sie z.B. Probleme mit Timeout in der GUI hatten, wenn man sehr große Umfragen importieren will.
Diese Funktion war nützlich, wenn Sie z.B. Probleme mit Timeout in der GUI hatten, wenn man sehr große Umfragen importieren will.


Um dies in der Kommandozeite zu nutzen, wechseln Sie zum limesurvey/admin Ordner und geben Sie ein:
To use it, go to the limesurvey/admin folder in the shell and execute:


php cmdline_importsurvey <Datei zum Importieren> <nowiki>[</nowiki><Benutzer> <Passwort>]
<code>php cmdline_importsurvey <File to import> <nowiki>[</nowiki><user> <password>]</code>


*<Datei zum Importieren>: Umfrage, welche sie importieren wollen
*<File to import> has to be one of the described above;
*<Benutzer>: Muss ein Benutzer mit den Rechten zum Erstellen einer Umfrage sein
*<user> has to be a user with permission to create surveys;
*<Passwort>: Das entsprechende Passwort zum oben angeführten Benutzer
*<password> the password for the user;


<Benutzer> und <Passwort> werden nur benötigt, falls die Zugriffsteuerung aktiviert ist.
If you need to see the parameters, you can execute:


  php cmdline_importsurvey -h
  <code>php cmdline_importsurvey -h</code>


=Importieren mit der RemoteControl API=  
=Import using RemoteControl API=
Seit LimeSurvey Version 2.0 können Sie eine Umfrage Struktur durch Verwendung der [[RemoteControl_2_API|RemoteControl 2 API (englisch)]] importieren.
Since LimeSurvey version 2.0, you can import a survey structure by using the [[RemoteControl_2_API|RemoteControl 2 API]].


=Umfrage aus anderen Applikationen importieren=
=Umfrage aus anderen Applikationen importieren=


Wir bekommen Anfragen, ob man eine Umfrage aus anderen Anwendungen oder von anderen Umfrage-Anbieter importieren kann. Das Problem ist, dass Anbieter wie SurveyMonkey Sie 'einsperren'- es ist nicht möglich, die Umfragestruktur aus SurveyMonkey zu exportieren, nur die Antwort-Daten.
We are often getting requests to import a survey from other applications or survey providers. The problem is that providers (like SurveyMonkey) lock you in - it is not possible to export the survey structure (e.g. from SurveyMonkey), but only the response data.
Die Verwendung geschlossener proprietärer Software oder Anbietern ist in solchen Fällen von Anfang eine schlechte Idee gewesen.

Revision as of 18:05, 15 September 2017

Import using the commandline utility

From version 1.50 to 1.92 it was possible to import surveys from the command line (or shell). To use this functionality, you need to have access to the shell and the PHP interpreter has to be configured to allow shell execution of scripts.

Diese Funktion war nützlich, wenn Sie z.B. Probleme mit Timeout in der GUI hatten, wenn man sehr große Umfragen importieren will.

To use it, go to the limesurvey/admin folder in the shell and execute:

php cmdline_importsurvey <File to import> [<user> <password>]
  • <File to import> has to be one of the described above;
  • <user> has to be a user with permission to create surveys;
  • <password> the password for the user;

If you need to see the parameters, you can execute:

php cmdline_importsurvey -h

Import using RemoteControl API

Since LimeSurvey version 2.0, you can import a survey structure by using the RemoteControl 2 API.

Umfrage aus anderen Applikationen importieren

We are often getting requests to import a survey from other applications or survey providers. The problem is that providers (like SurveyMonkey) lock you in - it is not possible to export the survey structure (e.g. from SurveyMonkey), but only the response data.