Coder Social home page Coder Social logo

widgets's Introduction

Meetup API Widget Foundry, Source Repository

This is the repository that drives our Widget Foundry.

To test widgets locally, you'll need to create a file called api_key.js in your checked out directory of the repository. In that file, assign your API key to a global variable:

$api_key = "my-api-key-goes-here"

The key is only used for local testing. When a widget is published to the foundry, its request urls will be signed for whichever user is logged in.

With a key file in place you should be able to preview any of the widget HTML sources in a browser, especially the ones with "live" in their filename as they have been tested and are live on our site. (For new widgets, please leave "live" out of the name; we'll add that after it's tested.)

To try out your widget inside the foundry, paste it over the source of any other widget there; just click on its Edit Source link. And when you're finished, send us a pull request!

For any questions about using the foundry or the Meetup API in general, see the the API list.

widgets's People

Contributors

aquillano avatar softprops avatar ulysses-sl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

widgets's Issues

Insecure stylesheet and script

This issue is the same as the one reported here: https://groups.google.com/forum/#!topic/meetup-api/4gki83Icrjo

Mixed Content: The page at 'https://api.meetup.com/widget?p_width=680&p_urlname=Bucharest-Java-User-Gro…+Group+Stats&sig_id=139593502&sig=e852710f2ad1e000fe9bcd22411feeef494f59d2' was loaded over HTTPS, but requested an insecure stylesheet 'http://static2.meetupstatic.com/style/widget.css'. This request has been blocked; the content must be served over HTTPS.

The same happens with jquery.min.js:

Mixed Content: The page at 'https://api.meetup.com/widget?p_width=680&p_urlname=Bucharest-Java-User-Gro…+Group+Stats&sig_id=139593502&sig=e852710f2ad1e000fe9bcd22411feeef494f59d2' was loaded over HTTPS, but requested an insecure script 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.
widget?p_width=680&p_urlname=Bucharest-Java-User-Group&head=62c4a5d4f8cdc15b3e8064f03129a6e9310eb83…:22

Thanks!

Editable Widget auto-hides Join button and Event title

Is the code for the "Standard" Meetup Group Stats option available somewhere?

I'd love to create a Standard widget that is skinned with different colors, but when I chose the editable option on the Foundry and create a widget, it's behavior is different. It auto-hides elements that the Standard one does not. Not sure if that is intended or not.

Contribution: simple JS widget

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.