Addons usually consist of one or more functions in the userfuncs.php. To enable an update check, I propose to include in the phpdoc comment of the main addon-function the following 3 items
Code: Select all
/**
* @name NAMEOFTHEADDON
* @version VERSIONNR
* @nfo http://URL-TO-REMOTE-NFO-FILE
*/
I think, these 3 items @name, @version, @nfo would be sufficient. I have omitted the "Readable Version", as I think, addons are usually so simple that just the version would do.
The rest of the information can be put into the .nfo-file, which should be a standard .nfo-file.