about xml.php

about xml.php

av errol zantua -
Antall svar: 1

hello. I am using moodle 1.9.x

I would like to know how to put the "content" of a course (the one with <td id="middle-column">...</td>) into an xml file. 

could i do that using xml.php that is located in"/moodle/lib/phpxml/xml.php"?

thanks in advance. 

Gjennomsnittlig vurdering: -
Som svar til errol zantua

Re: about xml.php

av Andrew Normore -

First off, upgrade! smiler

I would build a local plugin, that calls that library and passes the data. Seems like a logical way to do things. 

Open that file up and check out what methods it has avaliable.