/** * WPSDDeliciousRank function. * * @access public * @param mixed $domain * @param bool $curl. (default: false) * @return void */ function WPSDDeliciousRank($domain, $curl = false) { parent::WPSDStats(); $this->domain = $domain; if (substr($domain, strlen($domain) - 1) != '/') { $domain .= '/'; } $this->domain = md5($domain); $form = new WPSDAdminConfigForm(); //$search = urlencode(trim($form->getWpsdDeliciousSearch())); $this->address2 = trim($form->getWpsdDeliciousUri()); //if('' != $search) { //$this->address .= "{$search}&chk=&fr=del_icio_us&lc=1&atags=&rtags=&context=all"; //echo $this->address; if ($this->isOutdated()) { //$this->xml = $this->fetchDataRemote($this->address,false,1,true); //$this->result = $this->get_data_curl(); $this->xml2 = $this->fetchDataRemote($this->address2, false, 1, true); $this->set(); } else { $this->set_cached(); } //} }