extract publishing from appointment controller