Fedora notifications system

Prologue/Introduction
Given the circunstances of the Update Bug in Fedora 13 (Please refer to: http://lists.fedoraproject.org/pipermail/announce/2010-July/002843.html) A new idea was born: HERMES. This project aims to build a "Notifier App" for Fedora News wich helps the final user to be awared of important announcements about the Fedora World like the Update Bug One, this because we know that active Fedora Members often visit the Fedora Project site and well, they can read about this kind of news, but let's think about the "Normal Users" Those who asked a friend to install Fedora in their computers, those who only use Fedora as a normal software, those who are not involved in the Fedora Project Community and because of that never visit the Project's Webpage because they actually don't really care about what's happening there.

This concern gave us the idea to build Hermes, a Fedora News Notification System. If we include this kind of attention/service into our distribution we're on the way to becoming Fedora, something more than a simple group of software created with one purpose; we're becoming Fedora, an intelligent enviroment powered by its users and community. Hermes is looking into becoming a Next Generation Feature for Fedora.

The Reason
A large number of Fedora users don't read the Fedora wiki & websites, thus, they miss important news, tips & notifications.

The Concept
A simple application that reads a multilanguage web feed & post a new notification to the system using a D-Bus notifications system.

Early Versions
A git repository have been made to implement all the ideas we gathered in the last days. You can check it through gitweb, using this link: Or, you can clone it from: Please change the  file value to an earlier date, so you can get some notifications. & don't forget to make it writeable by the world.

Todo

 * Find a sufficient way to keep the user in touch with those notifications.
 * Add more interaction to the notifications.
 * Decide when and how the application should start checking for notifications.

Python D-Bus Notifications Example
This is a simple Python application to post a notification to the system D-Bus notifications system: import dbus bus = dbus.SessionBus notifications = bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications') interface = dbus.Interface(notifications, 'org.freedesktop.Notifications') id = 4856 timeout = 2500 interface.Notify('name',id,,'summary','body',,'',timeout)

RSS Feed Python Reader Example
A cool tutorial from  teach how to create a simple Python application to read any RSS feed (I tweaked the script a bit little). import urllib2 from xml.dom import minidom, Node xmldoc = minidom.parse(urllib2.urlopen('https://fedoraproject.org/w/index.php?title=Special:RecentChanges&feed=rss')) if (xmldoc): rootNode = xmldoc.documentElement for node in rootNode.childNodes: if node.nodeName == "channel": rootNode = node break for node in rootNode.childNodes: if (node.nodeName == "item"): for item_node in node.childNodes: if (item_node.nodeName == "title"): title = "" for text_node in item_node.childNodes: if (text_node.nodeType == node.TEXT_NODE): title += text_node.nodeValue if (len(title)>0): print title if (item_node.nodeName == "description"): description = "" for text_node in item_node.childNodes: if (text_node.nodeType == node.TEXT_NODE): description += text_node.nodeValue if (len(description)>0): print description + "\n" else: print "Error getting XML document!"

Benefit to Fedora
More interaction from the users and the community. With this, they keep in touch with Fedora.

How can I Help?
If you want to be fully informed read the thread were hermes born:

http://lists.fedoraproject.org/pipermail/ambassadors/2010-August/015238.html

In order to Help the Hermes Project, please Join us in the Conversation at Google Wave:

http://links-box.appspot.com/fedorahermes/wave

Or in case you don't have a Google Wave account, please talk to one of the project team using IRC, on freenode channel #fedora-ambassadors

Also, we're posting in the fedora-devel Mailing List, if you're interested in the project, suscribe to this list please:

Developer's Mailing List

(Our thread is titled: "Fedora Notifications System")

Who's Helping?
If you're helping to make this true, please put yourself below:

Manuel Escudero

Mahmoud Abdul Jawad