toolness / hive-django

A Django-based Hive website for member organizations, their employees, and other community members.
https://directory.hivelearningnetworks.org
1 stars 10 forks source link

Add a widget that lists Hive members for a city #42

Closed toolness closed 10 years ago

toolness commented 10 years ago

This adds an endpoint at /widgets/ (optionally prefixed by city on multi-city installs) that documents available embeddable widgets hosted by the directory. Currently, the only one is a member list widget:

capture

This widget is essentially an alternative to #34, which provides a JSON API that includes similar information. The difference is that this doesn't require extra code (e.g. a Wordpress plugin) to be written by API clients, and it also allows us to quickly iterate on the widget without needing to update clients.