parse url for DOM