I (KevinLawver) think this is a perfect opportunity to create a microformat for creating, delivering and discovery of small (micro, even) content on the web.
See the examples on widget-examples for current implementations.
There are several things that need to be known about a widget, including:
- Any configuration options that need to be set.
- Associated files
- XOXO 1.0: Extensible Open XHTML Outlines - to hold configuration or meta data about the widget.
- rel="license" - link to license for widget.