Skip to content

Moodle Automation: fill in the exam questions bank automatically from external web-resources and opensource online-tests

License

Notifications You must be signed in to change notification settings

nakigoe/moodle-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ENGLISH | РУССКИЙ | 日本語

Moodle Automation: mass-fill in the questions bank in one click!

The current version is written for a very specific school in mind. You might need to adapt the code and the urls to target Your school Moodle. You definetely need to have Your active Moodle username and password.

To automatically generate your own xml file with questions, answers and dummies, You might want to cast an eye on my another repository: github.com/nakigoe/any-test-ru-reaper

How To Use

Change:

• The link to Your school Moodle login page login_page

• Your Moodle login username

• Your Moodle password password

• Generate Your own questions-answers-dummies.xml file, see github.com/nakigoe/any-test-ru-reaper

• The link to the Moodle pre-created course page course_page

• The link to the Moodle question creation page question_url

• You might need to change some selectors in the moodle-fill-in.py file inside the open_new_question() and input_data_from_xml_into_the_form() FUNCTIONS, since it could very well be Your customized school Moodle.

Be sure to write me to nakigoetenshi@gmail.com if You would like me to customize either the script or the xml file for Your school. And remember, there is a default PHP script to import a customized Moodle xml file with questions inside Your Moodle system also!

Install Python:

https://www.python.org/downloads/

Install PIP If it Has Not been Installed With Python Automatically:

https://pip.pypa.io/en/stable/installation/

Install Libraries (please open the command line interface):

• Selenium pip install selenium

Moodleの問題銀行に記入してください!

• double-click on start.bat


© NAKIGOE.ORG

All rights reserved and no permissions are granted.

Please add stars to the repositories!


Moodle 自動化: 一回のクリックで Moodle 問題銀行を大量に記入!

現在のバージョンは非常に特定の学校のために書かれています。自分の学校の Moodle を対象とするためにコードと URL を適応させる必要があるかもしれません。Moodle のユーザー名とパスワードを持っている必要が絶対にあります。

自動的に質問、回答、ダミーの xml ファイルを生成する場合、補完プロジェクトも見てみるとよいでしょう: github.com/nakigoe/any-test-ru-reaper

使い方 変更: • 学校の Moodle ログインページへのリンク login_page

• Moodle のログイン username

• Moodle のパスワード password

• 自分自身の questions-answers-dummies.xml ファイルを生成するには、github.com/nakigoe/any-test-ru-reaper を参照してください

• Moodle の事前作成されたコースページへのリンク course_page

• Moodle の問題作成ページへのリンク question_url

• 学校カスタム Moodle の場合、moodle-fill-in.py ファイル内の open_new_question()input_data_from_xml_into_the_form() 関数内でセレクターを変更する必要があるかもしれません。

学校用にスクリプトまたは xml ファイルをカスタマイズしてほしい場合は、nakigoetenshi@gmail.com に連絡してください。そして、Moodle システムの Moodle Questions Bank に質問と回答の Moodle xml ファイルをインポートするデフォルトの PHP スクリプトも存在することを忘れないでください!

Python をインストールなさってください:

https://www.python.org/downloads/

PIP が Python とともに自動的にインストールされていない場合は、PIP をインストールします:

https://pip.pypa.io/en/stable/installation/

Python ライブラリをインストールなさってください (コマンド プロンプトを開いてください):

• Selenium pip install selenium

すべての方々へ友達リクエストとメッセージをお送りくださいませ!

start.bat をダブルクリックをなさってください。


© NAKIGOE.ORG

全ての権利を保有し、許可は一切与えられません。

リポジトリに星を付けてください!


Автоматизация Moodle: массовое заполнение банка вопросов Moodle одним кликом!

Данный код написан имея в виду конкретный ВУЗ. Для использования ПО для Вашей школы, скорее всего, потребуется внести изменения в код и селекторы. Наличие актуального логина и пароля к Вашему Moodle обязательно.

Чтобы автоматически сгенерировать Ваш собственный файл xml с вопросами и ответами (правильными и неправильными), смотрите мой проект github.com/nakigoe/any-test-ru-reaper

Инструкция

Замените:

• сноску на страницу логина в Moodle Вашей школы login_page

• имя пользователя username

• пароль password

• сгенерируйте Вас собственный файл questions-answers-dummies.xml, смотрите github.com/nakigoe/any-test-ru-reaper

• сноску на заранее созданный курс Moodle course_page

• сноску на создание вопроса Moodle question_url

• Вероятно, потребуется заменить селекторы внутри файла moodle-fill-in.py в ФУНКЦИЯХ open_new_question() и input_data_from_xml_into_the_form() так как это кастомизированный Moodle Вашей конкретной школы.

Пишите мне на почту nakigoetenshi@gmail.com, если необходимо кастомизировать скрипт либо файл xml специально для Вашей школы. Помните о наличии встоенного в Moodle скрипта PHP для импорта файла xml в специальном формате Moodle внутри системы Moodle Вашей школы!

Установите Python:

https://www.python.org/downloads/

Установите PIP, если он не установился с Python автоматически:

https://pip.pypa.io/en/stable/installation/

Установите библиотеки (откройте командную строку):

• Selenium pip install selenium

Запускайте и массово заполняйте банк вопросов Moodle одним мановением руки!

• двойной щелчок мыши по start.bat


© NAKIGOE.ORG

Все права сохраняются и никаких разрешений не предоставляется.

Ставьте звёзды на репозитории!



Please cast an eye on my website:

© NAKIGOE.ORG

All rights reserved and no permissions are granted.

Please add stars to the repositories!

About

Moodle Automation: fill in the exam questions bank automatically from external web-resources and opensource online-tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published