feeds: share common code