Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PHP JavaScript Shell
Failed to load latest commit information.
css Design updates
javascript
language French language pack
libraries Moved all the files into the main directory.
views/accessory add-on now still uses a single ajax call to get the add-on statuses a…
.gitattributes
.gitignore Polishing the file
CHANGELOG.md version bump to 1.3.0 and updated changelog
LICENSE.md Whole bunch of changes
README.md Updated url for ee-garage.com
acc.nsm_addon_updater.php version bump to 1.3.0 and updated changelog
build.sh
config.php version bump to 1.3.0 and updated changelog

README.md

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

Developers

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

<?php
    $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="http://ee-garage.com/nsm_addon_updater/#rss-xml">
    <channel>
        <title>NSM Addon Updater Changelog</title>
        <link>http://yourdomain.com/nsm.addon_updater.ee_addon/appcast.xml</link>
        <description>Most recent changes with links to updates.</description>
        <item>
            <title>Version 0.1.0</title>
            <!-- Additional tag required for NSM Addon Updater -->
            <ee_addon:version>0.1.0</ee_addon:version>
            <link>http://yourdomain.com/nsm.addon_updater.ee_addon/0.1.0/</link>
            <pubDate>Wed, 09 Jan 2006 19:20:11 +0000</pubDate>
            <description><![CDATA[
                <ul>
                    <li>Initial Release</li>
                </ul>
            ]]>
            </description>
            <enclosure url="http://yourdomain.com/nsm.addon_updater.ee_addon/download.zip?version=0.1.0" length="1623481" type="application/zip" />
         </item>
    </channel>
</rss>

Acknowledgements:

Accessory approach born from discussions with @jamierumbelow

Something went wrong with that request. Please try again.