There are really only two requirements for a gadget. One is that it must have a web page/address that can be reached at a real URL — one that starts with http:// (or https://) and ends with a slash. It doesn't necessarily have to be a static HTML file, as it can be a generated web page such as when using PHP. This web address for the gadget must be accessible to the OU Campus users for whom the gadget is intended.
The second requirement is that it has to have a configuration file named config.xml, which must be in the root directory of the gadget. The config.xml file contains key/value pairs for various attributes that describe the gadget to OU Campus and, optionally, create persistent variables for the gadget's own use. For example:
<entry key="title">My First Gadget</entry>
In this case, the value of "title" is "My First Gadget" and this is what the user will see in the gadget's title bar.
After the developer has written the gadget, the gadget files are added to the system by an administrator from Setup > Gadgets > New.
For complete instructions to add a gadget to the system, visit the New Gadget page.
An error message displays for non-HTTPS gadgets if the user navigates into any HTTPS view in OU Campus.