Remote version check xml file

From PHPDevShell

Jump to: navigation, search

The update manager can connect to a remote xml file to compare versions and allow the update manager to present a new version. The remote XML file is very simple and can be named anything and placed anywhere on the www net where PHPDevShell can access it.

Lets look at a typical XML update file:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<check type="update">
    <!-- Check against version number and human readable version number of plugin. -->
    <version latest="2100">2.1.0-Stable</version>
    <!-- The URL where the latest version can be downloaded. -->
    <download>http://phpdevshell.org/files/PHPDevShell-V2.1.0-Stable-DB-2100.zip</download>
    <!-- Release note regarding plugin update. -->
    <note>We recommended everyone to upgrade!</note>
</check>

Thats all, there is not much to it.

Personal tools