better shorturl from text parsing