Login   Register  
PHP Classes
elePHPant
Icontem

This is a good idea but not very fool proof.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Google - Did You Mean  >  All threads  >  This is a good idea but not very fool proof.  >  (Un) Subscribe thread alerts  
Subject:This is a good idea but not very fool proof.
Summary:Package rating comment
Messages:1
Author:Michael Strelan
Date:2008-06-02 03:44:33
 

Michael Strelan rated this package as follows:

Utility: Sufficient
Consistency: Sufficient

  1. This is a good idea but not very fool proof.   Reply   Report abuse  
Picture of Michael Strelan
Michael Strelan
2008-06-02 03:44:33
This is a good idea but not very fool proof. If Google decided to change something minor in their layout it could easily break. For example the <font> tag.

I think the regular expression should be rewritten to search for the contents of <div id=res> and then strip out any tags that isn't an <a> tag then return the contents of the <a>. At the moment it relies on the font tag being set to that red colour Google uses.