O'Reilly logo

Moodle 2 for Teaching 4-9 Year Olds Beginner's Guide by Nicholas Freear

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – editing the XML

Return to the XML file in your editor. We are going to add some information that affects the whole document, and some that is specific to each event.

First we'll handle the global changes:

  1. Add a line starting<?xml-stylesheet as shown below. You should replace {MY_MOODLE} with the address of your school's Moodle site. As well as the interactive timeline the filter will display a backup link to the raw XML. This stylesheet instruction will display the raw XML with formatting in most browsers.
  2. Now, add two attributes to the outer<data> element, named wiki-url and wiki-section. Put the URL for the forum discussion from earlier (page 13) into wiki-url, and append&amp;title= (remember the = at the end). Put a keyword ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required