changed getPageNameAndLink() and getPageContent()