Since the tsunami is upon us, why fight the MOOCarama? As a public service for those ready to join the fray, I have create a new web tool that, via new biometric code sensors, reads he aura of your interests, and generates the name and hashtag for your new MOOC. And then you can start the angel funding by tweeting it!

Try out the new MOOC Shaker

This is totally one of those things where I get silly and see if I can make it happen in code. It’s nothing fancy, just a php series of four arrays and a function that randomly pulls words from each to make a title, and from there also yanks out the first letters of a string to make a hash tag. Add in a twitter button, and there ya go.

The basic structure is a set of words as a “prefix”, then an adjective, then a topic, then a colon and a cheesy subtitle. I found a lot of material Absurd College Course generator as well as from the sources Stephen Downes lists in his corral of MOOCs.

Just to make it more fun, I opened up a Google doc so you can add more to the mix– it is not sophisticated yet so my script automatically reads them (hmm, but that is not too hard).

Go ahead, you know you want to shake, rattle, and roll a MOOC!

Here is the code gunk-

Here’s a bit of the basic code in the header:

< ?php
// First part of name is an array of Intro words
$mooc_subject = array(
	'Advanced Design of',
	'Introduction to',
// the rest left off

// next we sprinkle in an adjective
$mooc_adjectives = array(
// the rest left off);

// now we get the actual topic
$mooc_topics = array(
	'Learning Theory',
// the rest left off

// Here is the cool subtitle for after the colon- an interesting course must have a colon
$mooc_colon = array(
	'How to Make it Fail',
	'Gender Dynamics',
	'Methods and Best Practices',
// the rest left off

function make_acronym($str) {
// creates a lower case acronym for a string
// thanks Stack Overflow

	$words = explode(" ", "$str");
	$acronym = "";
	foreach ($words as $w) {
  		$acronym .= $w[0];
	return strtolower($acronym);

function make_a_mooc($subject, $adjectives, $topics, $colon) {
// the shaker- gets a random word from each, and returns the name of the course, plus a hash tag
	$s = $subject[array_rand($subject)];
	$a = $adjectives[array_rand($adjectives)];
	$t = $topics[array_rand($topics)];
	$c = $colon[array_rand($colon)];
	return ("$s $a $t: $c #" . make_acronym("$s $a $t") . date('y'));


and then the bulk of the work in the web page

		<h1>Make a MOOC</h1>
		<p><em>why not? everyone else is! here is your course</em></p>
		<h2>< ?php
		$da_mooc = make_a_mooc($mooc_subject, $mooc_adjectives, $mooc_topics, $mooc_colon);
echo $da_mooc;


	<a href="" class="twitter-share-button" data-text="Announcing my MOOC <?php echo $da_mooc?> shaken via "  data-size="large" data-dnt="true">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src="//";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

The post "Make a MOOC: Shaken or Stirred" was originally pulled like taffy through a needle's eye at CogDogBlog ( on November 4, 2012.


Leave a Comment

All fields are required. Your email address will not be published.