You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.
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:
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.
The text was updated successfully, but these errors were encountered:
You can fork the widget repo into your own account by clicking the "fork" button in the top right of your screen. From there you can just add a new widget html files. See the project's readme notes for using your api key. When you think you are ready you can submit a pull request to us by clicking the "pull request" button, also in the top right.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: