Adding code to parse publication date