Generalize the announcements widget