change data and data format, prepare for WordPress