No description, website, or topics provided.
PHP JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

NSM Addon Updater

Written by: Leevi Graham, Technical Director of Newism and Anthony Short based on LG Addon Updater (EE1.x)

NSM Addon Updater is an EE 2.0 accessory that checks an external RSS feed for version updates and displays them in your extension admin.

NSM Addon Updater


If you want to include NSM Addon updater support in your addon create a config.php file in your addon folder and add:

	$config['name'] = 'Addon Name';
	$config['version'] = '0.1.0';
	$config['nsm_addon_updater']['versions_xml'] = 'http://your_domain/versions.xml';

The url should point to a valid RSS 2.0 XML feed that lists individual versions of your addon as <items>. There is only one required addition to a standard feed: <ee_addon:version>1.0.0b1</ee_addon:version> which is used for version comparison.

Each feed is individually cached so that the CURL calls don't stall the loading of the CP. Additionally the calls are made via AJAX so there should be no negative affect on CP load.

Example RSS 2.0 XML Feed

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:ee_addon="">
		<title>NSM Addon Updater Changelog</title>
		<description>Most recent changes with links to updates.</description>
			<title>Version 0.1.0</title>
			<!-- Additional tag required for NSM Addon Updater -->
			<pubDate>Wed, 09 Jan 2006 19:20:11 +0000</pubDate>
					<li>Initial Release</li>
			<enclosure url="" length="1623481" type="application/zip" />


Accessory approach born from discussions with @jamierumbelow