I'm making a google version of altavista.cgi for educational purposes and won't be distributing it w/o permission.
I've parsed the html and i'm parsing the results like this
while ($results =~ m#<p><a href=(.+?)>(.+?)</a><br><font size=-1>(.+?)<br><span class=f><font size=-1>Description:</font></span> (.+?)<br>#sog) {
some of the links return ok, but then some come back distorted and i noticed some links don't have a description. So i was wondering if i could make this part:
<br><span class=f><font size=-1>Description:</font></span> (.+?)
optional?
Lavon Russell
LookHard Mods
lavon@lh.links247.net
I've parsed the html and i'm parsing the results like this
while ($results =~ m#<p><a href=(.+?)>(.+?)</a><br><font size=-1>(.+?)<br><span class=f><font size=-1>Description:</font></span> (.+?)<br>#sog) {
some of the links return ok, but then some come back distorted and i noticed some links don't have a description. So i was wondering if i could make this part:
<br><span class=f><font size=-1>Description:</font></span> (.+?)
optional?
Lavon Russell
LookHard Mods
lavon@lh.links247.net