Hello, Since yahoo changed its search results page the sites that check backlinks need to fix their code to get yahoo backlinks this is a code that will retrieve yahoo backlinks <?php function getBacklinksYahoo () { $url = $this->url['host']; $url = 'http://search.yahoo.com/search?p=' . urlencode("http://$url"); $data = $this->getPage($url); preg_match('#<strong id="resultCount">([0-9\,]+)</strong>#si', $data, $p); $value = ($p[1]) ? number_format($this->toInt($p[1])) : 0; return $value; } ?> PHP:
OK I forgot to post some of the code <?php $url = $_POST['url']; function editurl ($url) { $this->url = parse_url('http://' . ereg_replace('^http://', '', $url)); $this->url['full'] = 'http://' . ereg_replace('^http://', '', $url); } function getBacklinksYahoo () { $url = $this->url['host']; $url = 'http://search.yahoo.com/search?p=' . urlencode("http://$url"); $data = $this->getPage($url); preg_match('#<strong id="resultCount">([0-9\,]+)</strong>#si', $data, $p); $value = ($p[1]) ? number_format($this->toInt($p[1])) : 0; return $value; } ?> PHP:
well I cannot give this away as I am still building my script you can view the demo here: joeyelectric.com/demos/pagerank I will be selling the script for $10.00 when I finish it right now I am working on a whois part -John (I just gave that one piece of code away because the people who own pagerank sites need to update there code)
i think the best way to get yahoo backlink is to listed your website into the yahoo directory listing.
Thanks for the script. I wish it works. For others , it is a PHP Script to fetch backlinks for a page in yahoo SERP (Search Engine Result Page) . So If you are not a programmer it is hard to understand what it is and where to put it. @Jaydesign unfortunately dncheck.info in your signature link doesn't work to check pagerank. Where is the problem?
it does work its just that it is ajax now so you have to give it some time for it to work I need to add a loading indicator to it sorry about that -John
Is it for wordpress user only? If i used this code, does it mean my site will get the backlinks from yahoo automatically? Thanks in advance
thanks for the info but i really would like to get my hands on the script that the OP is working on, plz inform when you are ready to sell. thanks
I think Yahoo backlinks are good. They carry weight, especially if the link is solidly close to your content type. If you are say into golf, then solid Yahoo golf backlinks are really helpful. Cooking links will have minimal effect, etc. I believe that really is true for almost any backlink. One high PR content similar backlink will trump 10 non-related backlinks.