#Ikonoshirt_CustomAdminNotifications
As I wrote in my blog, it is important to keep the people who use our extensions up-to-date. Magento implemented a great feature to do this, the Mage_AdminNotification.
As I wrote, there should be an easy way to add RSS feeds to the existing one, here it is.
Install this module, install your own module and add a few lines to your Package/Extensionname/etc/config.xml
. Just add a node to ikonoshirt/custom_rss_feeds/feeds
with your RSS feed url.
<default>
<ikonoshirt>
<custom_rss_feeds>
<feeds>
<fbfeed>http://blog.fabian-blechschmidt.de/feed.xml</fbfeed>
</feeds>
</custom_rss_feeds>
</ikonoshirt>
</default>
It is important, that the feed have to be an RSS feed. The following nodes are MUST per item:
- date_added
- title
- description
- url
The following SHOULD:
-
severity (int between 4 (NOTICE) and 1 (CRITICAL)) as showed in
Mage_AdminNotification_Model_Inbox
. If no severity is present it is 4.const SEVERITY_CRITICAL = 1; const SEVERITY_MAJOR = 2; const SEVERITY_MINOR = 3; const SEVERITY_NOTICE = 4;
Please don't spam your customers with offers, giftcodes, etc. If they like your software and extensions, they'll come back and check for other interesting stuff. The notifications are NO advertising channel - as I already mentioned in my blog post.