This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Description
Don't know how to put this in Git and make a pull request, but I spent a few hours putting a new Javascript widget together today and hope it's useful to share with you:
http://jsbin.com/ojevos/4/edit#html
Also as a Gist, which has a Git repo apparently: https://gist.github.com/3040924
The main part of the code is a 'date/time formatting' library which I used in-line because I couldn't find a reliable CDN or hosted version. My actual widget is toward the end and is only a few lines. It's meant as a straightforward way of getting the next N events from a specific meetup and showing compact details encouraging a click-through to the main site for more. It's simple, unstyled and should fit anywhere. I've made it self-contained since I need it to work in a 'paste your HTML/widget code here' in a CMS.
This code could be used as a base for a 'Widget foundry' where you select which of the JSON object attributes you want to display in what format and it generates the code for you. That's what I was looking for and found nothing like it in the current list.
Hopefully someone may find this useful.