adding badges to news items