finally, it can get&parse template from server....