title: Creating a program to be broadcasted by avahi
body: <p>I'm trying to write a program that outputs data that can be served over a network with avahi.  The documentation I've looked at seems to say I have to register the service with dbus and then connect it to avahi, but the documentation to do this is pretty sparse. Does anyone know of good documentation for it? I've been looking at these:</p>
  
  <p>python-dbus:
  <a href="http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#exporting-objects" rel="noreferrer">http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#exporting-objects</a></p>
  
  <p>python-avahi:
  <a href="http://www.amk.ca/diary/2007/04/rough_notes_python_and_dbus.html" rel="noreferrer">http://www.amk.ca/diary/2007/04/rough_notes_python_and_dbus.html</a></p>
  
  <p>I'm really unfamiliar with how avahi works at all, so any pointers would be helpful.</p>