Embedded Javascript widget for voting

32 views
Skip to first unread message

Chris Cornutt

unread,
Jun 3, 2010, 9:15:44 AM6/3/10
to joindin-...@googlegroups.com
Okay, so there's a feature that keeps popping up in requests from various event organizers and developers for something they can embed in their own pages (non-joind.in pages) to make it simple for visitors to be able to vote for sessions directly from the page. We've even added it to the roadmap already (http://wiki.github.com/enygma/joind.in/project-roadmap see "Joind.in JS widget") to fill the need.

Now, I don't know too much about this sort of thing, but I'm hoping that one of you out there does (or knows someone who does) and can share some of the implementations or considerations that might have to be made to implement something like this.

The basic idea is to have a a drop-in widget sort of thing that would give people the ability to rate and comment on a session. It'd most likely use the API to handle the calls and show if the user is logged in or not. That's about as far as I've gotten so far on it, but I'd love to hear thoughts from all of you on how this feature can be moved forward.

-chris

--
Senior Editor
PHPDeveloper.org
ccor...@phpdeveloper.org

Chris Cornutt

unread,
Jun 10, 2010, 12:22:51 PM6/10/10
to joindin-features
I'm going to bump this one back out there because I really do want
some feedback on the idea. I think it could be an awesome feature, but
I want to be sure I'm not the only one :)

Discuss!

------------------------
------------------------

-chris

Kevin Bowman

unread,
Jun 10, 2010, 7:11:15 PM6/10/10
to joindin-...@googlegroups.com
Sounds like a good plan - I'd guess it's a case of providing some JS on joind.in for a 3rd-party website to <script> include, and then have the 3rd-party run a function defined in that <script> (probably passing in some relevant parameters to the function, eg the id of a tag to draw into).  If you want it to look different on 3rd-party websites depending on whether the browser is logged-in to joind.in then it'll need some thought about cross-domain logins, but I'm sure it's do-able (maybe having the JS include something from the joind.in domain so that the user's joind.in cookies and logged-in state can be analysed accordingly).

Bit of a brain-dump, but it all seems possible.

Kevin
Reply all
Reply to author
Forward
0 new messages