<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: Gift with medias format: Comments</title>
    <link>https://moodle.org</link>
    <description>Question import format similar to Gift and uses the same syntax, but instead of a text file it imports a zip file containing the gift text file and media files (images, sounds, ...);</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>(c) 2026 Moodle - Open-source learning platform | Moodle.org</copyright>
    <image>
      <url>https://moodle.org/theme/image.php/moodleorg/core/1779453963/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Saturday, 26 July 2025, 6:24 PM - Aditya Dubay</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-87881</link>
      <pubDate>Sat, 26 Jul 2025 10:24:39 GMT</pubDate>
      <description>by Aditya Dubay. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;How to use it in Moodle 5.0+&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-87881</guid>
    </item>
    <item>
      <title>Friday, 31 May 2024, 5:02 AM - Nicolas Bourré</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-83766</link>
      <pubDate>Thu, 30 May 2024 21:02:20 GMT</pubDate>
      <description>by Nicolas Bourré. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;There's a fixed version available here : &lt;a href=&quot;https://github.com/nbourre/moodle-qformat_giftmedia&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/nbourre/moodle-qformat_giftmedia&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-83766</guid>
    </item>
    <item>
      <title>Thursday, 27 April 2023, 10:18 PM - Florian Leupold</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-79641</link>
      <pubDate>Thu, 27 Apr 2023 14:18:46 GMT</pubDate>
      <description>by Florian Leupold. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;After upgrading Ubuntu and PHP to 8.0, entering the Export section in the question bank caused an error: &lt;br&gt;
Array and string offset access syntax with curly braces is no longer supported in...&lt;br&gt;
&lt;br&gt;
The error could be fixed by replacing the curly brackets in&lt;br&gt;
      } else if ($answertext{0} == '#') {&lt;br&gt;
on line 391 in the file format.php by square brackets:&lt;br&gt;
      } else if ($answertext[0] == '#') {&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-79641</guid>
    </item>
    <item>
      <title>Sunday, 10 July 2022, 8:33 PM - Jean-Michel Védrine</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-76173</link>
      <pubDate>Sun, 10 Jul 2022 12:33:49 GMT</pubDate>
      <description>by Jean-Michel Védrine. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Rajib and Alonso,&lt;br&gt;
As you may know I am now retired, but I still receive mails about this plugin and I had a rapid look at this problem. Rather than modifying the Moodle core file (which is a real pain at each Moodle update) a better solution would be to add the lines&lt;br&gt;
-------------------&lt;br&gt;
public function validate_file(stored_file $file): string {&lt;br&gt;
        return '';&lt;br&gt;
    }&lt;br&gt;
------------------&lt;br&gt;
in the format.php file of the gift with media plugin.&lt;br&gt;
I am unable to test this fix as I don't have a Moodle install anymore (and also no development environment on my computer) but I am quite confident this would solve the problem.&lt;br&gt;
Please note this is not a commitment to maintaining this plugin, because I am now too old and I stopped all programming work but as it was quite an easy fix, better to post it here.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-76173</guid>
    </item>
    <item>
      <title>Sunday, 10 July 2022, 1:54 AM - Alonso Arias</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-76170</link>
      <pubDate>Sat, 09 Jul 2022 17:54:15 GMT</pubDate>
      <description>by Alonso Arias. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Rajib Bhattacharjee&lt;br&gt;
To solve the problem I had to comment out the following lines inside the import_form.php file.&lt;br&gt;
$fileerrors = $qformat-&amp;gt;validate_file($file);&lt;br&gt;
         if ($fileerrors) {&lt;br&gt;
             $errors['newfile'] = $fileerrors;&lt;br&gt;
         }&lt;br&gt;
That file is located in moodle/question folder.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-76170</guid>
    </item>
    <item>
      <title>Wednesday, 4 May 2022, 1:55 AM - Rajib Bhattacharjee</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-75330</link>
      <pubDate>Tue, 03 May 2022 17:55:41 GMT</pubDate>
      <description>by Rajib Bhattacharjee. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;I am facing an issue with this plugin on Moodle v4.0. While trying to import the zip file it is showing this error: &quot;The file you selected does not use UTF-8 character encoding. Gift with medias format files must use UTF-8.&quot; Whereas I was not facing the same issue while importing the same zip file in Moodle v3.11.5. The text file within the zip file is UTF-8 as I have checked it multiple times (also I imported the same text file using the moodle inbuilt GIFT format and it imported fine - without the images of course). Looking for some help on this regard as without the media part we are stuck.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-75330</guid>
    </item>
    <item>
      <title>Sunday, 27 March 2022, 9:44 PM - Петя Петечкин</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-74896</link>
      <pubDate>Sun, 27 Mar 2022 13:44:46 GMT</pubDate>
      <description>by Петя Петечкин. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Doesn't work on version 3.11?&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-74896</guid>
    </item>
    <item>
      <title>Tuesday, 18 January 2022, 7:43 PM - Adam Morrey</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-74041</link>
      <pubDate>Tue, 18 Jan 2022 11:43:40 GMT</pubDate>
      <description>by Adam Morrey. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Does it work with 3.10?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-74041</guid>
    </item>
    <item>
      <title>Friday, 3 September 2021, 11:31 AM - Tharindu Samarasinghe</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-72512</link>
      <pubDate>Fri, 03 Sep 2021 03:31:26 GMT</pubDate>
      <description>by Tharindu Samarasinghe. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Sir,&lt;br&gt;
Thank you for this plugin. Is this works with moodle 3.9?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-72512</guid>
    </item>
    <item>
      <title>Friday, 22 January 2021, 5:37 PM - Filippo Carnevali</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-69101</link>
      <pubDate>Fri, 22 Jan 2021 09:37:11 GMT</pubDate>
      <description>by Filippo Carnevali. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi! Will it be released for Moodle 3.9 aswell? &lt;br&gt;
Thanks!&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-69101</guid>
    </item>
    <item>
      <title>Tuesday, 16 January 2018, 3:50 PM - Jean-Michel Védrine</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-47644</link>
      <pubDate>Tue, 16 Jan 2018 07:50:10 GMT</pubDate>
      <description>by Jean-Michel Védrine. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;You can also have a look at the documentation &lt;a href=&quot;https://docs.moodle.org/34/en/Gift_with_medias_format&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://docs.moodle.org/34/en/Gift_with_medias_format&lt;/a&gt; (english version) or &lt;a href=&quot;https://docs.moodle.org/3x/fr/Format_GIFT_avec_des_m%C3%A9dias&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://docs.moodle.org/3x/fr/Format_GIFT_avec_des_m%C3%A9dias&lt;/a&gt; (french version) or &lt;a href=&quot;https://docs.moodle.org/all/es/Formato_GIFT_con_medios&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://docs.moodle.org/all/es/Formato_GIFT_con_medios&lt;/a&gt; (spanish version)&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-47644</guid>
    </item>
    <item>
      <title>Tuesday, 16 January 2018, 3:44 PM - Jean-Michel Védrine</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-47643</link>
      <pubDate>Tue, 16 Jan 2018 07:44:13 GMT</pubDate>
      <description>by Jean-Michel Védrine. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Mikhail, if you have a problem and your essay questions are not imported you can send me a sample file so that I can see if there is a problem my mail is now vedrine __at__ vedrine __ dot___ net. The most frequent error is that people forget to put a backslash before the equal character when they write src=&quot;...&quot;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-47643</guid>
    </item>
    <item>
      <title>Tuesday, 16 January 2018, 11:50 AM - Mikhail Sabyanin</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-47639</link>
      <pubDate>Tue, 16 Jan 2018 03:50:36 GMT</pubDate>
      <description>by Mikhail Sabyanin. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@Jean-Michel Védrine Thank you friend, i will try to check upload on another server&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-47639</guid>
    </item>
    <item>
      <title>Monday, 15 January 2018, 7:00 PM - Jean-Michel Védrine</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-47625</link>
      <pubDate>Mon, 15 Jan 2018 11:00:04 GMT</pubDate>
      <description>by Jean-Michel Védrine. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;As I was suspecting it works with no problem importing an essay question with images in the question text.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-47625</guid>
    </item>
    <item>
      <title>Monday, 15 January 2018, 6:52 PM - Jean-Michel Védrine</title>
      <link>https://moodle.org/plugins/qformat_giftmedia#comment-47624</link>
      <pubDate>Mon, 15 Jan 2018 10:52:14 GMT</pubDate>
      <description>by Jean-Michel Védrine. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Mikhail.&lt;br&gt;
It should work for all fields that are supported by the GIFT format and that support images in Moodle. But as I have not specifically tested the essay question type, I will make some tests and report.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qformat_giftmedia#comment-47624</guid>
    </item>
  </channel>
</rss>