/** * WPSDDigg. * @param string $domain * @param boolean $curl */ function WPSDDigg() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdDiggUn()); if ('' != $this->un) { $this->address = 'http://digg.com/' . $this->un; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); $this->set_results(); } else { $this->set_cached(); } } }