XML formatting w/e 23 May 2008
Thursday, May 22nd, 2008On Tuesday I finally uploaded an XML file of new content onto the Open University LabSpace. The content is the first unit of the Customer Service Skills module and is a very draft version at the moment! Although the content still needs a lot of changes, the process of uploading to the LabSpace has been very useful in increasing my knowledge about how to do this. I gained experience in writing the XML file. I chose to associate the XML file with the latest OU Schema as this looks like it has the most flexibility for the content (see the OU site for further information on this). I found it useful to download a file from the LabSpace (one that was already associated with this latest schema) and use the XML content file as a kind of template. This also provided me with the other files I needed to include in my own material, such as the XML file list, metadata file and the schema file and also the help documents like the ‘Hints and Tips for Using OpenLearn XML’ and the Creative Commons License. I downloaded a few different files as different units contained different media and content and I wanted to see the correct way to include video files and how to name them. I found the French unit ‘French: Bien dans sa peau‘ very helpful for this purpose.
When it came to uploading the files I hit a few problems. At first the folder uploaded without any error messages but was just displaying on the page as spearate files and not appearing as the other units in OpenLearn. From communicating with the OU’s Jenny Gray in the Help and Support forum I discovered that this was because I was zipping up the whole folder and not the individual files. I also needed to make sure that the content XML file was labelled ‘content.xml’. I got one error message because I’d associated the CSS file contained in the folder to my XML file. After communicating again with Jenny Gray I discovered that this style sheet was only meant to be used when previewing XML files, Jenny advised that:
“…the upload process will complain if you try to put anything other than the schema xsd declaration in the xml file, as you saw.”
I think there could be more detailed instructions for uploading onto the LabSpace, but the Help and Support Forum is a very helpful feature with swift replies from the OU staff.