Modified encoding of atom feed

Signed-off-by: Martin Evans <martindevans@gmail.com>