Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin for displaying current global foundation stats on an external site #159

Open
jcn opened this issue Sep 22, 2014 · 0 comments
Open
Labels

Comments

@jcn
Copy link
Member

jcn commented Sep 22, 2014

This is a request from Dionne Mahaffey (Awesome Atlanta). The Awesome Atlanta page displays the current stats for Awesome (number of chapters and amount given out) on their homepage. However, this number is just updated manually every so often. It would be nice if there could be some kind of JS that could be embedded on a page that would dynamically pull from an endpoint on the global site.

An example of how this could work:

  • Embed code on third-party site to display a stat:
  • Link to a script to do the replacement on the page that would hit code on our site: <script src="..."></script>

Open questions:

  • How does this work with cross-site scripting stuff? I assume there's a way around it, but it has to be considered
  • What happens if the JS doesn't fire? How do we make sure the page continues to display something that makes sense?
@jcn jcn added the idea label Sep 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant