Pages

Sunday, July 3, 2011

DHTML News Ticker Wizard: A dynamic visual reminder tool for students:

Ever used a Javascript marquee or news ticker? Chances are you didn’t feel too impressed. Either the motion of the ticker wasn’t smooth enough for your taste. The default layout was too rigid. It wasn’t colourful enough. Perhaps you probably had to hard-code parameters by using a text-editor.
If the previous paragraph describes your experience, then the good news is that DHTML News Ticker, by Gokhan Dagli, is a smooth and highly configurable Javascript news ticker.
You can use it to create visual and animated reminders on your Moodle site. For example, “Reminder: Test1 is on next Monday”.
IMHO, the best part of this software is the process of creating a ticker. It is wizard-based. Just follow a series of 5 steps before publishing. At each step of the way, you can tweak the news ticker. Nearly everything about the ticker can be configured. What’s that? You want the colours to match your Moodle site’s theme? No problem!





The software also comes with a set of 5 pre-designed templates, some complete with images and navigation links!

Marking online submissions of PDF files

Thanks to this UploadPDF module by Davo Smith, and this post by Joseph Thibault, I've now enabled my Moodle site to receive online submissions of PDF files, AND direct annotation on those submissions.

To get the assignment module to work, Ghostscript (GS) has to be installed on your server. If your Moodle server doesn't have GS installed, then you might want to request your Web hosting company to do it for you. Or you might want to DIY it.  I use a Centos Virtual Private Server to host my Moodle site. At this time of posting, the latest version of GS is 9.02. These 2 links helped me to install GS on my VPS:
http://linuxadminzone.com/install-html2pspdf-library-to-create-pdf-files-using-php/
and
http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/
So NOW, I can get my students to save their homework or assignments in PDF format (Ms Word 2010 allows one to save in PDF format), and to submit their work in PDF format. Here's how it worked out for me. I created a dummy PDF file and logged in as a student account and uploaded it as a dummy test file.

Next, I logged in as my usual account and proceeded to annotate the PDF file submission.
After all, I didn't want Shakespeare to roll in his grave as a result of the "howlers" in the submission.
Here's what I did to the original PDF file while online on my Moodle site:

After I have finished annotating the PDF file, the (hypothetical) student is able to access/download the annotated PDF submission while logged in in his or her account. Now is that a great feedback mechanism or what? The best thing is the annotation tools of this module now allow me to give feedback to my students, RIGHT INSIDE THE PDF file itself! AWESOME. Simple AWESOME.

Note: this post was originally posted on http://moodle.org on 19th April 2011.


Thursday, June 16, 2011

Tweaking Marginalia for better visual cues and feedback

Tweak the look-and-feel of Marginalia and you get a whole new visual experience.

Ever since my last post on Marginalia on Moodlenews, I'd been thinking about how to adjust the colour to suit (1) my Moodle theme; and (2) my own taste. I thought to myself, "Why not show the grammar mistakes in red, and the corrections is green?". Plus I really liked the red-bordered effect of the Marginalia demo.

Lately, I've managed to tweak and improve the colour scheme - at least for myself. For example, with due respect to Geoffrey Glass, whom I think did a great job with the block, I felt that the yellow highlighting in the default code was a bit too bright and slightly gaudy looking. So I changed the corrected text to be shaded instead as a rose-coloured highlight. How did I do it? Well, open up /blocks/marginalia/marginalia/marginalia.css and look for the code at line 7:

.hentry .entry-content em.annotation {
   background: #fdf377;
   font-style: inherit;
}

Change the hexadecimal colour code from #fdf377 (bright yellow) to #FFDFDF (rose) to achieve a different coloured highlight!

I also wanted to have, on a mouse hover, red-bordered error text, and green-bordered left-margin corrections. After all, what could be more logical and intuitive than to use red to symbolise errors and green for corrections. Thanks to Firefox's Firebug extension, I was able to "cross-examine" the actual code that was responsible for these colour effects. A special mention also goes to Geoffrey Glass for pointing me to /blocks/marginalia/annotation-styles.php which contains the code:

.hentry .notes li.hover,
.hentry .entry-content em.annotation.hover,
.hentry .entry-content em.annotation.hover ins,
.hentry .entry-content em.annotation.hover del {
   color: red;
}

Changing red to green would mean that both the grammatically-wrong text (in a student's post) and my correction text (in the right annotation margin) would end up as green. After almost an hour, I finally figured it out! Here's the same code split into 2 sections:

.hentry .notes li.hover {
   color: green;
   background: #ccffcc;
   /* By Frankie */
}

.hentry .entry-content em.annotation.hover,
.hentry .entry-content em.annotation.hover ins,
.hentry .entry-content em.annotation.hover del {
   color: red;
   /* By Frankie */
}

Eureka! So that's how I managed to get TWO colours (red for in-forum-post mistakes and green for margin annotation of corrections) with a single mouse hover! But wait, there's more! I really, really wanted to have text-box effect with the mouseover like what you can see in the Marginalia demo by Geoffrey Glass. So I examined Geoffrey's annotation-styles.php file. In the end, after much trial-and-error, I hit pay-dirt. Here's the code that I used to produce the red-box-and-green-box effect:

.hentry .notes li.hover {
color: green;
outline: 1px solid green;
background: #ccffcc;
}

em.annotation.hover {
color: red;
outline: 1px solid red;
}

For some strange reason, I had to remove the code
.hentry .entry-content em.annotation.hover ins,
.hentry .entry-content em.annotation.hover del
in order to achieve the desired effect. Strange and I don't understand why, but it works.

As a summary of my changes made (colour tweaking codes), you can download my tweaked annotation-styles.php and marginalia.css files from here:
http://scm.moodleace.com/file.php/1/public/annotation-styles.php
http://scm.moodleace.com/file.php/1/public/marginalia.css


Here's a screenshot after several hours work of tweaking the code:



So now, you can get the desired effect for your Moodle site in less time than it took me for mine.

Personally I'm having a absolute blast making margin-side corrections to my students' posts. I love seeing those red and green boxes light up when I do a mouseover. I'm also hoping that they (my students) are appreciating my side comments which are actually corrections of their grammar and punctuation mistakes. I hope you enjoy using and tweaking this useful block to suit your theme and colour taste.

This tool can be used not only for language teaching, but for any kind of feedback by the instructor. Lastly, I leave you with some interesting thoughts on Marginalia by Derek Chirnside over at Moodle Lounge.

Cheers!

Thursday, June 9, 2011

A gem of a tool for English teachers: Marginalia forum web annotation tool for Moodle 1.9 and Moodle 2.0.

Marginalia
Add web annotation to your Moodle forums! This is a great pedagogical tool, from 2008, for those of you teaching English. You can use the Marginalia Moodle plugin to type corrections to your students' forum posts.


Here's a Youtube video showing you the plugin in action. No audio, so don't bother turning up the volume knob on your speakers.


I discovered this tool when I was surfing to find if there was something that I could use that was even close to UK Open University''s web annotation system in their Moodle 2.0. Boy was I glad to find this gem from 2008.

Ratings and Recommendations by outbrain