/** * WPSDWeRead. * * @param boolean $curl */ function WPSDWeRead($curl = false) { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->id = trim($form->getWpsdWeReadId()); if ('' != $this->id) { $this->address = 'http://weread.com/profile/' . str_replace(' ', '+', $this->id) . '/'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }