changes to use it together with rssdemon