The update_url feature
The update_url feature allows a plugin developer to specify a url to an xml file containing information about the latest version of his/her plugin.
How to activate it
In your plugin’s index.php file, make sure you have an entry like:
'update_url' => 'http://www.madebyfrog.com/plugin-versions.xml'
The location or name of the xml file are your choice as long as you make sure the link is valid.
Note: it is best to choose your location and name wisely. If you change the url in a later version of your plugin, all current users of the plugin will no longer be notified about any updates.
XML file structure
The xml file you point to with the update_url entry should be well-formed and conform to the example structure below. As you may notice, you can add multiple plugin entries in the same file:
<?xml version="1.0" encoding="iso-8859-1"?>
<frog-plugins>
<frog-plugin>
<id>archive</id>
<version>1.0.0</version>
<status>stable</status>
</frog-plugin>
<frog-plugin>
<id>comment</id>
<version>1.1.0</version>
<status>stable</status>
</frog-plugin>
</frog-plugins>
Note: the “status” entry is currently unused but this may change in the future.
