/** * Ping back for the site */ public function pingBackAction() { $feeds = new Feeds(); $feed = $feeds->getByToken($this->getRequest()->getParam('token')); $this->updateFeedPosts($feed); $this->getHelper('viewRenderer')->setNoRender(); $this->_helper->layout->disableLayout(); try { //set up a new factory Zend xmlrpc server and add classes $server = new Zend_XmlRpc_Server(); $server->setClass('Ifphp_Ping_XmlRpc', 'pingback'); //success echo $server->handle(); } catch (Exception $e) { throw $e; } }