I (User: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