/** * WPSDHits. */ function WPSDHits() { parent::WPSDStats(); if ($this->isOutdated()) { $this->set(); } else { $this->set_cached(); } }
/** * WPSDSocialMention. * * @param string $domain * @param boolean $curl */ function WPSDSocialMention($curl = false) { parent::WPSDStats(); $this->address = 'http://socialmention.com/search?q=' . urlencode(get_bloginfo('url')) . '&t=all&btnG=Search'; if ($this->isOutdated()) { $this->set(); } else { $this->set_cached(); } }
/** * WPSDBing. * @param string $domain * @param boolean $curl */ function WPSDBing($domain, $curl = false) { parent::WPSDStats(); $this->address = 'http://www.bing.com/search?q=site:' . $domain . '&go=&form=QBLH&filt=all&setplang=en-US'; if ($this->isOutdated()) { $this->xml = str_replace(',', '.', $this->fetchDataRemote($this->address, false, 1, true)); $this->set(); } else { $this->set_cached(); } }
/** * __construct function. * * @access public * @return void */ function __construct() { parent::__construct(); $this->address = 'http://profiles.wordpress.org/users/dave.ligthart/profile/public/'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } }
/** * WPSDAlexaRank. * @param string $domain * @param boolean $curl */ function WPSDAlexaRank($domain, $curl = false) { parent::WPSDStats(); $domain = $this->getNormalizedUrl($domain); if ($this->isOutdated() && '' != $domain) { $this->xml = $this->fetchDataRemote($this->address . $domain); $this->set(); } else { $this->set_cached(); } }
/** * WPSDFlickr. * @param string $domain * @param boolean $curl */ function WPSDFlickr() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->address = 'http://www.flickr.com/photos/' . trim($form->getWpsdFlickrUsername()); if ($this->isOutdated() && '' != $this->address) { $this->set(); } else { $this->set_cached(); } }
/** * WPSDFeedBurner. * @param string $domain * @param boolean $curl */ function WPSDFeedBurner() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->address = $form->getWpsdFeedburnerUri(); if ($this->isOutdated() && '' != $this->address) { $this->set(); } else { $this->set_cached(); } }
/** * WPSDGoogleBot. */ function WPSDGoogleBot() { parent::WPSDStats(); $domain = get_bloginfo('url'); $this->address = "http://webcache.googleusercontent.com/search?q=cache:{$domain}&cd=1&hl=en&ct=clnk"; if ($this->isOutdated() && '' != $domain) { $this->xml = $this->fetchDataRemote($this->address, false, 1, true); $this->set(); } else { $this->set_cached(); } }
/** * WPSDW3Validator. */ function WPSDW3Validator() { parent::WPSDStats(); $domain = get_bloginfo('url'); $this->address = "http://validator.w3.org/check?uri={$domain}"; if ($this->isOutdated() && '' != $domain) { $this->xml = $this->fetchDataRemote($this->address, false, 1, true); $this->set(); } else { $this->set_cached(); } }
/** * WPSDScore function. * * @access public * @param mixed $userId * @return void */ function WPSDScore($userId) { parent::WPSDStats(); $this->userId = $userId; if ($this->userId) { if ($this->is_cache_outdated('wpsdscore', $this->userId)) { $this->set(); $this->updated_cache('wpsdscore', $this->userId); } else { $this->set_cached(); } } }
/** * WPSDHunch function. * * @access public * @return void */ function WPSDHunch() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdHunchUn()); $this->address = "http://hunch.com/{$this->un}/"; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } }
/** * WPSDBrazenCareerist. * @param string $domain * @param boolean $curl */ function WPSDBrazenCareerist() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->user = trim($form->getWpsdBrazenCareeristUn()); $this->address .= $this->user; if ($this->isOutdated() && '' != $this->user) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } }
/** * WPSDLastFm. * @param string $domain * @param boolean $curl */ function WPSDLastFm() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->user = trim($form->getWpsdLastFmUn()); $this->address .= $this->user; if ($this->isOutdated() && '' != $this->user) { $this->xml = $this->fetchDataRemote($this->address, false, 1, true); $this->set(); } else { $this->set_cached(); } }
/** * WPSDTechnoratiRank. * @param string $domain * @param boolean $curl */ function WPSDTechnoratiRank($domain, $curl = false) { parent::WPSDStats(); //$this->address = 'http://api.technorati.com/bloginfo?key=&url=' . $domain; $domain = $this->getHost(parse_url($domain)); $this->address = 'http://technorati.com/blogs/' . $domain; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } }
/** * WPSDGoogleWishlist. * * @param boolean $curl */ function WPSDGoogleWishlist($curl = false) { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->address = trim($form->getWpsdGoogleWishlistUri()); if ('' != $this->uri) { if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDTweetMeme. * @param string $domain * @param boolean $curl */ function WPSDTweetMeme($domain, $curl = false) { parent::WPSDStats(); $this->address = 'http://api.tweetmeme.com/url_info.xml?url=' . $domain; $domain = $this->getHost(parse_url($domain)); $domain = str_replace('www.', '', $domain); $this->address2 = 'http://tweetmeme.com/search?q=' . $domain; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } }
/** * WPSDSiteAge function. * * @access public * @param mixed $domain * @return void */ function WPSDSiteAge($domain) { parent::WPSDStats(); if ($this->checkDomain($domain)) { $url = preg_replace("/^(http:\\/\\/)*(www.)*/is", "", $this->getHost(parse_url($domain))); $url = preg_replace("/\\/.*\$/is", "", $url); $this->address = 'http://reports.internic.net/cgi/whois?whois_nic=' . $url . '&type=domain'; if ($this->isOutdated() && '' != $url) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * __construct function. * * @access public * @param string $domain. (default: '') * @return void */ function __construct($domain = '') { parent::__construct(); if ('' != $domain) { $domain = $this->getNormalizedUrl($domain); $this->address = "http://www.blogpulse.com/search?query=" . $domain; $this->domain = $domain; if ($this->isOutdated() && '' != $domain) { $this->xml = $this->fetchDataRemote($this->address, false, 1, true); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDYahooBuzz function. * * @access public * @return void */ function WPSDYahooBuzz() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->uri = trim($form->getWpsdYahooBuzzUri()); if ('' != $this->uri) { $this->address = $this->uri; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDDiigo. * * @param boolean $curl */ function WPSDDiigo($curl = false) { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdDiigoUn()); if ('' != $this->un) { $this->address = 'http://www.diigo.com/profile/' . $this->un; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * __construct function. * * @access public * @return void */ function __construct() { parent::__construct(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdAmplifyUn()); if ('' != $this->un) { $this->address = 'http://' . $this->un . '.amplify.com'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address, false, 3, false); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDBuzz. * * @param boolean $curl */ function WPSDGoogleBuzz($curl = false) { parent::WPSDStats(); $url = get_bloginfo('url'); if ('' != $url) { $url = str_replace('www.', '', $url); $this->address = 'http://www.googleapis.com/buzz/v1/activities/count?url=' . $url; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDTechnoratiRank. * @param string $domain * @param boolean $curl */ function WPSDYahooRank($domain, $curl = false) { parent::WPSDStats(); //$this->address .= $domain; $this->domain = $domain; if ($this->isOutdated()) { $url = sprintf($this->home, str_replace('http://', '', $this->domain)); $this->address = $url; $this->xml = str_replace(',', '', strip_tags($this->fetchDataRemote($url, true, 2, false))); //echo $this->xml; $this->set(); } else { $this->set_cached(); } }
/** * WPSDSixent. * * @param boolean $curl */ function WPSDSixent($curl = false) { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdSixentUn()); if ('' != $this->un) { $this->address = 'http://' . $this->un . '.sixent.com/contacts'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * __construct function. * * @access public * @return void */ function __construct() { parent::__construct(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdMyspaceUn()); if ('' != $this->un) { $this->address = 'http://www.myspace.com/' . $this->un; if ($this->isOutdated()) { $this->xml = str_replace(',', '', $this->fetchDataRemote($this->address, false, 1, true)); $this->set(); } else { $this->set_cached(); } } }
/** * 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(); } } }
/** * WPSDNetlog function. * * @access public * @return void */ function WPSDNetlog() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdNetlogUn()); if ('' != $this->un) { $this->address = 'http://en.netlog.com/' . $this->un . '/'; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDYoutube function. * * @access public * @return void */ function WPSDYoutube() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdYoutubeUn()); if ('' != $this->un) { $this->address = 'http://www.youtube.com/' . $this->un; if ($this->isOutdated()) { $this->xml = str_replace('.', '', str_replace(',', '', $this->fetchDataRemote($this->address))); $this->set(); } else { $this->set_cached(); } } }
/** * WPSDFriendFeed. * * @param boolean $curl */ function WPSDFriendFeed() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdFriendFeedUn()); if ('' != $this->un) { $this->address = 'http://friendfeed.com/' . $this->un; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }
function WPSDSociety() { parent::WPSDStats(); $form = new WPSDAdminConfigForm(); $this->un = trim($form->getWpsdSocietyUn()); if ('' != $this->un) { $this->address = 'http://www.society.me/' . $this->un; if ($this->isOutdated()) { $this->xml = $this->fetchDataRemote($this->address); $this->set(); } else { $this->set_cached(); } } }