Parse post metadata, extract titles, fix html output bug