init with url or content