parse extension of portal