When we set out to create a static version of our WordPress based online courses we thought that with a little bit of clever programming we could make the conversion in no time. The process turned out to be a lot harder than we had envisaged but we worked out a basic methodology for getting the job done and we would like to share that with you below.
The first step was to download and use Teleport Pro software which crawls through a web site and downloads each page, graphic, etc. and rewrites the links to make the site locally referenced. Paying attention to unnecessary links such as comments and rss feeds while setting up a Teleport project will save you a lot of time later on.
Once the whole site was downloaded we started the tedious process of going through every page and doing a search and replace of multiple lines of html. After trying to do this manually, we realised the best way to proceed was to write a batch script to do the same thing to every html file and this saved a lot of time.
Other issues appeared when we discovered that Teleport Pro does not replace some of the javascript lines included by some of the plug-ins we are using our Wordpress site. This required more manual updating of pages. Also, the “SWF plug-in” we were using caused some minor problems when it created a new version of the player for each instance of a flash video appearing on a page. Our general approach was to keep testing the pages, checking outstanding issues and repeating until each page was working 100%.
The last outstanding issue and one of the largest challenges was to replicate the Wordpress search function by adding a Javascript search function to each page for locally based search. Well, all that sounds simpler than it actually was, but in the end it has been possible to convert three course modules so far from dynamic to static sites. This means that people who want to download the entire course modules can do so and can run them locally or on CD-ROM. This is very important in the parts of the world that are only occasionally connected to the Internet.
|
Hi Sean and anyone who are interested in creation of downloadable courses based on Wordpress.
Sean shortly describe a process of creation static versions of courses. I hope you will also review courses we already done, and if you have some questions about it i will be happy to answer you via email witch you can find at my site.
List of courses that i have done static
SEA Open Educational Resource
EIA Environmental Impact Assessment
Forest Policy and Economics Education and Research (FOPER)
Woo!, I was wondering the methodology Oleg used to do the static version, i will try Teleport pro in my next experiments!
Thank you for the post Sean, Thanks Oleg.
Very nice