<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Gift_with_medias_format</id>
	<title>Gift with medias format - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Gift_with_medias_format"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Gift_with_medias_format&amp;action=history"/>
	<updated>2026-05-06T17:45:02Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Gift_with_medias_format&amp;diff=1169&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Gift_with_medias_format&amp;diff=1169&amp;oldid=prev"/>
		<updated>2024-10-14T18:17:54Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 18:17, 14 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Gift_with_medias_format&amp;diff=1168&amp;oldid=prev</id>
		<title>1&gt;Tim@horizoneducationnetwork.org: clean up, typos fixed: begining → beginning</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Gift_with_medias_format&amp;diff=1168&amp;oldid=prev"/>
		<updated>2022-05-20T14:18:17Z</updated>

		<summary type="html">&lt;p&gt;clean up, typos fixed: begining → beginning&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Question format, Gift with medias format &lt;br /&gt;
|entry = https://moodle.org/plugins/qformat_giftmedia&lt;br /&gt;
|tracker = https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Question+format%3A+Gift+media%22&lt;br /&gt;
|discussion = https://moodle.org/mod/forum/discuss.php?d=170493&lt;br /&gt;
|maintainer = [[User:Jean-Michel Vedrine|Jean-Michel Védrine]]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
Gift with medias is a Moodle plugin that allows to import questions written with the same syntax used by the [[GIFT format]], but instead of a text file it imports a zip file containing the gift text file and media files (images, sounds, ...);.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
&lt;br /&gt;
This is a contributed plugin, so must be installed separately to Moodle and is available in the Moodle Plugins Directory at [http://moodle.org/plugins/view.php?plugin=qformat_giftmedia  GIFT with media import format].&lt;br /&gt;
&lt;br /&gt;
One way to understand how to prepare your questions to be imported using this format is to look at the included sample file that you will find in question/format/giftmedia/giftmedia_example.zip.&lt;br /&gt;
This is zip archive so if you open it you will find&lt;br /&gt;
*A text file named giftmediaexample.txt written using the GIFT syntax&lt;br /&gt;
*An images subfolder with 4 images: 93px-Zuckermann_ZBox_harpsichord.JPG, 99px-SMV_organ.jpg, 120px-MIM_Clavichord_CN344.jpg and 120px-Perzina_pianos.JPG&lt;br /&gt;
*A sounds subfolder with only one file piano.mp3 (please note that in a real question for students this would be a bad name as it would give a clue to the correct answer !)&lt;br /&gt;
&lt;br /&gt;
The content of the giftmediaexample.txt file is&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
//This is a simple MC question linked to a single MP3 file which is included in the archive. &lt;br /&gt;
::MC question with images and an MP3 file::&lt;br /&gt;
Listen to this&amp;lt;a href\=&amp;quot;@@PLUGINFILE@@/sounds/piano.mp3&amp;quot;&amp;gt;:&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
What is it?&lt;br /&gt;
{=&amp;lt;img style\=&amp;quot;vertical-align: middle; margin: 10px;&amp;quot; src\=&amp;quot;@@PLUGINFILE@@/images/120px-Perzina_pianos.JPG&amp;quot; alt\=&amp;quot;a piano&amp;quot; /&amp;gt;a piano&lt;br /&gt;
~&amp;lt;img style\=&amp;quot;vertical-align: middle; margin: 10px;&amp;quot; src\=&amp;quot;@@PLUGINFILE@@/images/93px-Zuckermann_ZBox_harpsichord.JPG&amp;quot; alt\=&amp;quot;a harpsichord&amp;quot; /&amp;gt;a harpsichord&lt;br /&gt;
~&amp;lt;img style\=&amp;quot;vertical-align: middle; margin: 10px;&amp;quot; src\=&amp;quot;@@PLUGINFILE@@/images/99px-SMV_organ.jpg&amp;quot; alt\=&amp;quot;an organ&amp;quot; /&amp;gt;an organ&lt;br /&gt;
~&amp;lt;img style\=&amp;quot;vertical-align: middle; margin: 10px;&amp;quot; src\=&amp;quot;@@PLUGINFILE@@/images/120px-MIM_Clavichord_CN344.jpg&amp;quot; alt\=&amp;quot;a clavichord&amp;quot; /&amp;gt;a clavichord}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
You can recognize a question using the GIFT syntax, and see how the sound file and the images are included : the special word @@PLUGINFILE@@ is added at the beginning of the path to the file.&lt;br /&gt;
&lt;br /&gt;
If you import this zip archive into the question bank (this also works for a [[Adding_a_question_page#Importing_questions|Lesson]]) you will get a [[Multiple_Choice_question_type|multichoice question]] that will display as:&lt;br /&gt;
&lt;br /&gt;
[[{{ns:file}}:mediaquestion.png]]&lt;br /&gt;
&lt;br /&gt;
As you see the link to the sound file has been replaced by a media player and the images are displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TIPS ==&lt;br /&gt;
&lt;br /&gt;
Currently the text file containing the questions must be at the root level of the zip archive,&lt;br /&gt;
and it must have a .txt extension to be correctly found and parsed.&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t forget that in the GIFT syntax the `=` character is a [[GIFT_format#Special_Characters_.7E_.3D_.23_.7B_.7D|special character]], so each `=` in your HTML &lt;br /&gt;
has to be written as `\=` (see example above). It is very easy to make this mistake and then wonder why no questions are imported, so you have been warned.&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t forget also that your GIFT text file must must be correctly encoded in [[GIFT_format#UTF-8_encoding|UTF-8]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Quiz]]&lt;br /&gt;
[[Category:Questions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:Formato GIFT con medios]]&lt;/div&gt;</summary>
		<author><name>1&gt;Tim@horizoneducationnetwork.org</name></author>
	</entry>
</feed>