Add smarter page title parsing