Add date extraction to Page class