Alternatives to the LimeSurvey import function/it: Difference between revisions
From LimeSurvey Manual
Maren.fritz (talk | contribs) (Created page with "<code>php cmdline_importsurvey -h</code>") |
Maren.fritz (talk | contribs) (Created page with "=Importa utilizzando l'API RemoteControl= A partire dalla versione 2.0 di LimeSurvey, puoi importare una struttura del sondaggio utilizzando l'RemoteControl_2_API|RemoteCont...") |
||
Line 22: | Line 22: | ||
<code>php cmdline_importsurvey -h</code> | <code>php cmdline_importsurvey -h</code> | ||
= | =Importa utilizzando l'API RemoteControl= | ||
A partire dalla versione 2.0 di LimeSurvey, puoi importare una struttura del sondaggio utilizzando l'[[RemoteControl_2_API|RemoteControl 2 API]]. | |||
=Import surveys from other applications= | =Import surveys from other applications= | ||
We often get 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. | We often get 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. |
Revision as of 07:50, 27 July 2023
La pagina seguente presenta alternative alla funzione di importazione di LimeSurvey.
Importa utilizzando l'utilità della riga di comando
Dalla versione 1.50 alla 1.92 era possibile importare i rilievi dalla riga di comando (o dalla shell). Per utilizzare questa funzionalità, è necessario avere accesso alla shell e l'interprete PHP deve essere configurato per consentire l'esecuzione di script da parte della shell.
Questa funzionalità è utile quando si hanno problemi di timeout con la versione web che potrebbero verificarsi quando si hanno sondaggi molto lunghi da importare.
Per usarlo, vai nella cartella "limesurvey/admin" nella shell ed esegui:
php cmdline_importsurvey [ ]
<File to import> <code>php cmdline_importsurvey [ ]</code><user><password> php cmdline_importsurvey [ ]
- <File to import> : deve essere quello che vuoi importare.
- <user> : deve essere un utente con il permesso di creare sondaggi.
- <password> : la password dell'utente.
Se hai bisogno di vedere i parametri, puoi eseguire:
php cmdline_importsurvey -h
Importa utilizzando l'API RemoteControl
A partire dalla versione 2.0 di LimeSurvey, puoi importare una struttura del sondaggio utilizzando l'RemoteControl 2 API.
Import surveys from other applications
We often get 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.