sulfericacid
Programmer
%searchengines=( "MSN"," "Lycos"," "Altavista"," "Google"," "AOL"," "IWON"," "WISENUT"," #"HotBot"," );
#This library contains a list of function that parse out
#The number of links to a home page.
#Each function parses out a different string
%commonurls=("AOL"," "CNET"," "FREEPERL"," "USARMY"," "NAPSTER"," "EBAY"," "CNN"," "HOMEWORKHELP"," "HIGHSCHOOLCLUB"," "GAMES"," );
#the following string represent the criteria needed to parse through
#the HTML page to find link popularity
%hitstring=( "MSN","of about",
"Lycos","articles were found",
"Altavista","We found \\d+ result",
"HotBot","WEB\ RESULTS\ </SPAN> \ \\d+\ Matches",
"Google","Results \<b\>1\<\/b\> - \<b\>\\d+\<\/b\> of about \<b\>\\d+",
"AOL","\\(1 - \\d+ of \\d+",
"IWON","var IWtotalresults = \\d+",
"WISENUT","\<B\>Results\<\/B\> : \\d+",
);
%startindexstring=("MSN","of about",
"Lycos","\<b\>",
"Altavista","We found",
"HotBot","WEB\ RESULTS\ </SPAN> \ \\d+\ Matches",
"Google","of about \<b\>",
"AOL"," of ",
"IWON","=",
"WISENUT","\<B\>Results\<\/B\> :",
);
%endindexstring=(
"MSN","containing",
"Lycos","\<\/b\>",
"Altavista","results:",
"HotBot","Matches",
"Google","\<\/b\>. Search",
"AOL","\)",
"IWON",";",
"WISENUT","document",
);
#this contains the number of characters in the string before
#the number of hits can be dissected
%offsetstr=(
"MSN","8",
"Lycos","3",
"Altavista","9",
"HotBot","35",
"Google","12",
"AOL","4",
"IWON","1",
"WISENUT","17",
*** I was wondering if anyone could tell me what this last segment of codes is doing, the %iffsetstr=( . What do these numbers actually mean? ***
Thanks.
sulfericacid
#This library contains a list of function that parse out
#The number of links to a home page.
#Each function parses out a different string
%commonurls=("AOL"," "CNET"," "FREEPERL"," "USARMY"," "NAPSTER"," "EBAY"," "CNN"," "HOMEWORKHELP"," "HIGHSCHOOLCLUB"," "GAMES"," );
#the following string represent the criteria needed to parse through
#the HTML page to find link popularity
%hitstring=( "MSN","of about",
"Lycos","articles were found",
"Altavista","We found \\d+ result",
"HotBot","WEB\ RESULTS\ </SPAN> \ \\d+\ Matches",
"Google","Results \<b\>1\<\/b\> - \<b\>\\d+\<\/b\> of about \<b\>\\d+",
"AOL","\\(1 - \\d+ of \\d+",
"IWON","var IWtotalresults = \\d+",
"WISENUT","\<B\>Results\<\/B\> : \\d+",
);
%startindexstring=("MSN","of about",
"Lycos","\<b\>",
"Altavista","We found",
"HotBot","WEB\ RESULTS\ </SPAN> \ \\d+\ Matches",
"Google","of about \<b\>",
"AOL"," of ",
"IWON","=",
"WISENUT","\<B\>Results\<\/B\> :",
);
%endindexstring=(
"MSN","containing",
"Lycos","\<\/b\>",
"Altavista","results:",
"HotBot","Matches",
"Google","\<\/b\>. Search",
"AOL","\)",
"IWON",";",
"WISENUT","document",
);
#this contains the number of characters in the string before
#the number of hits can be dissected
%offsetstr=(
"MSN","8",
"Lycos","3",
"Altavista","9",
"HotBot","35",
"Google","12",
"AOL","4",
"IWON","1",
"WISENUT","17",
*** I was wondering if anyone could tell me what this last segment of codes is doing, the %iffsetstr=( . What do these numbers actually mean? ***
Thanks.
sulfericacid