User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27

Thread: XML Spreadsheet -> MMF2 Array Converter

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    XML Spreadsheet -> MMF2 Array Converter

    Merry Christmas everyone

    Just thought I'd upload a little app I made, which converts XML Spreadsheet files (generated by Excel or OpenOffice) to 3-dimensional MMF2 array files.
    Instructions are included in the zip.
    Attached files Attached files

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    Hi Muddy mole ,
    too late to reply to your merry christmas, soI'll wish you a great and happy year 2011!

    Thanks for this app !

    I was wondering if the reverse way were possible for the following :

    clickteam's quiz object lets you export the quiz parameters as a text file , which in return it can load to load a quiz.

    Now I'd like my mmf app to be able to interact with a Learning Management System ( such as moodle ) . I have a LOOOOOOOOOONG way to go but it seems those systems can "import" / integrate data in the xml format...

    SO to be able to convert the quiz parameter text into xml could come in handy.

    For for sharing your views on that,
    eric

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    Well, my app loads XML Spreadsheet files, which are XML files with a very specific structure and set of tags (specified by Microsoft). Because the specification is so complicated, exporting to an XML spreadsheet is actually pretty tricky.

    However, the good news is that you probably don't need to do that.
    You may be able to use a custom XML structure, something like this:

    <Question type="multiple-choice" name="Question 1">Where is Paris?</Question>
    <Answer result="correct">France</Answer>
    <Answer result="wrong">Jamaica</Answer>
    <Answer result="correct">Earth</Answer>
    <Answer result="wrong">The Moon</Answer>

    It's possible that this "LMS / Moodle" thing already specifies an XML structure and set of tags.
    In that case, you'd have to use those, instead of customizing them. I don't know - I'm really not familiar with the systems you're talking about.

    Either way, it shouldn't be too challenging to generate a suitably structured XML file, from the text file made by the Quiz Object - and I could certainly help you with that, if you want.

    First thing you need to do though, is find a page that explains *exactly* how the LMS system loads the XML data.
    Once you've done that, get back to me (if you want my help).

    I tend to be on TDC a lot more than these forums, so that's a better way to get in touch:
    http://www.create-games.com/profile.asp?id=19898

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    Okay, I just googled it, and came up with this:
    http://docs.moodle.org/en/Moodle_XML

    That tells you everything you need to know about the XML format, and has some links to other relevant information.

    It's definitely very do-able.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    I made an example file for you:
    http://cid-b1e7ee094271bbda.office.live.com/self.aspx/Public/XMLQuiz.zip

    It only supports multiple choice quizzes, but you should be able to get the general idea from it.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    Whoa ! Thanks a lot for the replies + the research and finally the example file !

    It will probably take me a while to understand how everything works, ( don't know much about xml ) but really what you've done is a great and much appreciated way to point me to the right direction!


  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    No worries. Let me know if you have trouble and want help.

    XML is super-easy.
    It'll take you about 5 minutes to understand the general concept of tags/attributes/content, and then it's just a question of learning the tags & structure for the specific version of XML you are working with.

    That's what's so great about XML - it's so flexible, you can invent tags to suit almost any application.

    eg. Recognize this?

    <street color="brown">
    <property square=1 value=60>Old Kent Rd.</property>
    <property square=3 value=60>Whitechapel Ln.</property>
    </street>

    <street color="blue">
    <property square=6 value=100>The Angel Islington</property>
    <property square=8 value=100>Euston Rd.</property>
    <property square=9 value=100>Pentonville Rd.</property>
    </street>

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    somewhere near Islington I guess not sure though

    Well I get the picture I think...
    in the examples above , "street" and "property" are tags
    "square" and "value" are attributes
    and "Euston Rd" should be the content.... it seems.


  9. #9
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    I take it you're not English then...
    http://www.edinphoto.org.uk/0_MY_P_I/0_my_photographs_london_monopoly_board_ju31_1024.j pg

  10. #10
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: XML Spreadsheet -> MMF2 Array Converter

    oups...

    I was wondering about the meaning of "square"....

    I have only played the French version of Monopoly...sorry for my ignorance, but I keep the nice picture of the board !
    I haven't played the game for ages. I played Scrabble yesterday though ( yet another British game, if I'm correct )

    By the way if I remember correctly, in the French version they kept the wording " chance" for the question mark squares and cards , but "chance" is a false friend because in French, it means "good luck" whereas" chance" in English can be either good or bad luck...

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Data Spreadsheet
    By Catastrophic in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th October 2013, 08:17 AM
  2. XML to Array Converter with Special Character Support
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 21st November 2011, 06:25 PM
  3. Did anyone order MMF2 with SWF Converter?
    By AlexPoe in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 25th June 2010, 06:07 PM
  4. Load database/array into spreadsheet
    By danworth in forum File Archive
    Replies: 1
    Last Post: 21st February 2010, 03:00 AM
  5. Database (Spreadsheet) Help.
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 1st September 2007, 03:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •