write story data to output HTML