Alternatives to the LimeSurvey import function/ja: Difference between revisions
From LimeSurvey Manual
Bravehorse (talk | contribs) (Created page with "バージョン1.50から1.92までは、コマンドライン(またはシェル)からアンケートをインポートすることができました。この機能を...") |
Bravehorse (talk | contribs) (Created page with "この機能は、非常に長いアンケートをウェブでインポートするとき、タイムアウトの問題が発生する場合に役立ちます。") |
||
Line 8: | Line 8: | ||
バージョン1.50から1.92までは、コマンドライン(またはシェル)からアンケートをインポートすることができました。この機能を使用するには、シェルにアクセスする必要があり、スクリプトのシェル実行を許可するよう、PHPインタプリターを設定する必要があります。 | バージョン1.50から1.92までは、コマンドライン(またはシェル)からアンケートをインポートすることができました。この機能を使用するには、シェルにアクセスする必要があり、スクリプトのシェル実行を許可するよう、PHPインタプリターを設定する必要があります。 | ||
この機能は、非常に長いアンケートをウェブでインポートするとき、タイムアウトの問題が発生する場合に役立ちます。 | |||
To use it, go to the "limesurvey/admin" folder in the shell and execute: | To use it, go to the "limesurvey/admin" folder in the shell and execute: |
Revision as of 10:29, 16 June 2018
これから、LimeSurveyのインポート機能の代替手段を紹介します。
コマンドラインユーティリティを使用してインポートする
バージョン1.50から1.92までは、コマンドライン(またはシェル)からアンケートをインポートすることができました。この機能を使用するには、シェルにアクセスする必要があり、スクリプトのシェル実行を許可するよう、PHPインタプリターを設定する必要があります。
この機能は、非常に長いアンケートをウェブでインポートするとき、タイムアウトの問題が発生する場合に役立ちます。
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 the one you wish to import.
- <user>: has to be a user that holds the 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.
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.