I’m awarding badges – Google Apps Script integration with Persona and Mozilla Openbadges

Deprecated
There is now a new Mozilla Web API that you can find here. My codes don’t work anymore but you can adapt them. I am publishing some below

I’m finally awarding  Mozilla Open Badges through a  complete badge environment that handles questions, marking, badge assertion, persona authentication and Mozilla backpack awards. I introduced this in a previous post, but now that I’ve added the last stage of Persona and Mozilla integration, you can actually move these badges into your openbadges backpack.

It ended up being a bit of mashup of various technologies, but the main one is Google Apps Script and ScriptDB to handle the award and badge management, with a jQuery panel that can be embedded in any blog or web page.

Most of the code is in a library, so the amount of code needed to implement your own environment is minimal. Look out for a step by step guide soon.

To see how you would earn a badge, click on one of the badges on the below right, and take the associated quiz.

The panel on the right is just an iframe with this embedded link.

https://storage.googleapis.com/toasty/s/badgemanager.html?panelset=xliberation

The panelset id is all that’s needed to defined the  set of badges to show, along with their associated questions. Click on a badge to take a quiz.

For more information on how all this works, and to see this embedded in Google Sites see Excel Liberation.

 

About brucemcp 225 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.