Add a getURL method in PageInfoStruct