-
1. Re: Importing GIFT format files from Moodle 2.7
Russ_E Jul 4, 2014 2:09 PM (in response to David-OZ)I have faced similar challenges with using GIFT data between different systems.
It all depends on having the GIFT file formatted correctly before you import it.
It's just a text file, so the simplest way to fix it is this.
Open the file in notepad (or other text editor).
Run find/replace twice.
First time, replace "<p>" with "", (in other words you are replacing it with nothing).
Then do the same for the closing tag, replace "</p>" with nothing.
That should remove all of the opening and closing paragraph tags and not add any extra spaces to your file.
The file will actually get a little smaller as a result.
Just make sure you are using a pure text editor, like notepad, and not a document editor.
Sometimes the latter can add in extra formatting you don't want or need.
And for the "replace with", you are leaving it completely blank; not typing a space or empty quotes or anything.
Let me know if that does not make sense or if I missed the point of your question.
Hope it helps.
Russ
-
2. Re: Importing GIFT format files from Moodle 2.7
David-OZ Jul 6, 2014 7:08 PM (in response to Russ_E)Ahh thanks Russ. That sounds like a useful work around.
I wonder why this HTML <p> </p> text gets included in the Moodle exported GIFT file?
Do you think this is a fault with Moodle? or a fault with the Adobe Captivate import function?
Surely this text either is or isn't a part of the standard GIFT format.
Thanks,
David -
3. Re: Importing GIFT format files from Moodle 2.7
Russ_E Jul 7, 2014 8:11 AM (in response to David-OZ)Don't think it's necessarily a fault of either.
There are always nuances of difference between systems.
But there is usually a work around.
-
4. Re: Importing GIFT format files from Moodle 2.7
David-OZ Jul 7, 2014 5:55 PM (in response to Russ_E)So is HTML "<p>" and "</p>" in the GIFT standard or not? That would seem to answer the question of where the solution lies.
-
5. Re: Importing GIFT format files from Moodle 2.7
Captiv8r Jul 7, 2014 6:02 PM (in response to David-OZ) -
6. Re: Importing GIFT format files from Moodle 2.7
David-OZ Jul 8, 2014 6:15 PM (in response to Captiv8r)Thanks, yes I looked at the Moodle docs on GIFT format. GIFT seems to support HTML and plain text formats, but the export function only seems to include html tags by default and there does not seem any option to strip html tags out of the exported data. Seems the default format is [moodle], whatever that is.
From Moodle Docs if this is relevant to this matter;
"[...format...] The format of the following bit of text. Options are [html], [moodle], [plain] and [markdown]. The default is [moodle] for the question text, other parts of the question default to the format used for the question text. "
-
7. Re: Importing GIFT format files from Moodle 2.7
David-OZ Jul 15, 2014 10:54 PM (in response to David-OZ)Would be good if Captivate either properly interpreted html tags, rather than treat them as part of the question text and or had an import option to ignore html tags.



