It will only export resources such as html pages and links to files and web pages, activities will be skipped. All of the course files are packed in the export too.
It also exports all of the theme files, icons etc. so you get the course themed web pages "to go".
One caveat though: if you are using the latest 1.5, this block requires one change to the weblib.php file: In function print_header() there is a bit of code that says (around the line 1725)
if ($headerprinted) {This prevents the header to be called twice from the same page. The export "grabs" the header multiple times for one page call, so change this bit to
return;
} else {
$headerprinted = true;
}
if ($headerprinted) {It works "out of the box" for 1.5.3.
return;
} else {
// $headerprinted = true;
}
I might duplicate the print_header() functionality in the block locallib.php later to work around this.
Instructions: just include the block in your Moodle, add it to the course you want to export, and click "HTML Export" (the only thing in the block ). The block generates an exported HTML files in a zip file in In the course backup folder. Download and unpack the zip, and start with the "index.html" in the folder you unpacked the zip to.
If you want to export the course with a different theme, change the theme before clicking "HTML Export".
As far as I know it doesn't delete any files or kill your server, but be careful anyhow