Use urlparse and display text correctly