One of the things that I thought it’d be cool to be able to do with Idno, is to be able to embed a post into a blog post, rather like you can with a tweet or public Facebook posting.

Embedding posts mean that you can take a posting that you or someone else has written on their Idno site, and then build up a conversation around it.


So, I wrote a quick plugin that provides this functionality!

This current version uses an iframe to display an embed view of the selected object, using code inserted using the JSONP api, which gives you a live view of the object complete with latest comment count and using your site’s theme choices. Future versions of the plugin may make more use of the raw data returned via the JSONP endpoint.

All links will open in a new tab, so if you want to see the comments (or comment directly, if the site in question uses my in place comments plugin), then you can follow links without causing problems.

Have fun!

» Visit the project on Github…

idnoJSONP, or json with padding, is a technique hack that allows you to retrieve json content from a remote page, and pass that content to a Javascript function, without falling foul of the browser XSS same origin policy.

Idno has had a JSON view of it’s data objects for some time, but up until now it has been hard to call that data from within javascript, unless you were doing it from the same domain.

So, I sent Ben a pull request which adds JSONP support to Idno core, together with some enhancements to the data the standard JSON view provides.

During one of the intervals at the recent TEDx Oxford conference, after Peter Millican’s session in which he used simple computer programs to gain insights of the world around him, I was approached by a very good friend of mine. She was keen, as are a number of my friends, male and female alike, to learn how to code, but she was struggling with how to get started.

The issue she was having with the currently available classes were too formal, often very demanding on time, and she often found them to be very competitive. This didn’t produce a very supportive or effective learning environment. Online courses on the other hand were often were very simplistic, and were hard to stick to, possibly because they were often worked at in isolation.

As a teacher, she is keen to try and get something short, with a large practical element, which would fit in the few weeks every year that all teachers have free at the same time – the summer break.

How did you learn?

The conversation turned to how I learned to code…

While I had some formal education it is true, which was good to address gaps in my theoretical knowledge, I had learnt the bulk of my coding skills long before I sat in my first Computer Science class at 15. Despite having not been formally “taught” how to code, I had managed to absorb a comprehensive understanding of the subject, so how did this come about?

Through our conversation, I realised that it seemed I had largely learnt through self directed play (aka, pissing about trying to do cool shit), combined by having a couple of more experienced friends, who helped guide me when I got completely stuck. Another aspect that helped was the weekly computer club I attended, together with Ben Werdmuller and a few other friends, where (as well as playing Monkey Island for hours) we demoed our latest code, and exchanged tips hand tricks we had learnt.

This provided a supportive environment in which to sharpen my tools, and the aura of good natured competition the weekly informal show and tell generated didn’t hurt.

What could this look like as a course?

So, could this experience be replicated? Could we put together a course, which would be fun, nurturing, fit in with people’s limited time and allow people to drop in and out without falling behind? I’m assuming this is going to be for adults here, but I can’t imagine it being a significantly different problem for children.

I imagine this working more like a club or craft group, rather than a course, where students play with various bits of kit and work on their own projects. Where they’re encouraged to learn off other students, and where more experienced people are largely there as mentors rather than to set agendas. For complete beginners, perhaps an orientation session covering some of the basic basics would be useful to bring people up to speed, but I think lectures and theory should be minimised – this should be hands on!

What are your thoughts?