When I use webCT, I use a lot of "hacks" to work around the linear way webCT likes content to be organised. To do this I really need to know actual locations of files. Because campus version 6 is based around a database this is easier said that done. For a while I was starting to think about ways to get rid of webCT completely, and work totally beyond an LMS.
I went for a swim and come back and realise I could find the local of page via javascript. So this bit script gives the location of files.
<script>
theloc = location.pathname;
document.write(theloc);
</script>
The location ends up being some like
http://yourwebcturl.edu.au/webct/ContentPageServerServlet/javasctipttest.html
Now I'm sure I could hack together a piece of javascript that adds, http://yourwebcturl.edu.au/webct/ContentPageServerServlet/ to url's when they are uploaded to webCT but will allow me to preview the content locally in dreamweaver. hmm maybe I don't need this.
Still don't know if I still really need webCT.
update: Well there is another of doing this, in the file manager you just click on the control thing and then can get the href.
Posted by robin at January 19, 2006 02:58 PM