parse metadata on each page