Add bloginfo parsing and isExternal function