parses the name and content of the page