PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Can not search telephone no.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can not search telephone no.

    Hello

    I have a problem with the zoom search engine.
    We have a page whit telephone no. but zoom can not find the names or tel. no. Her is a part of the source code from the page.

    Code preview

    Code:
    ..........
    
               	  	  </td>
        </tr>
    </table>
    
    
    
    <BR><script>
    
    	var cells= [
    		["Alain Mazzuchelli","AMZ","","3693","7520 (+33637886951)",""],
    ["Bertrand Valentin","BVA","","9699","7525 (+33603313431)","7526 (+33145485634)"],
    ["Cécile Goubert","CGO","","","7516 (+33623963385)",""],
    ["Cindy Seremes","CSE","","Reception","",""],
    ["Dina Lourenco","DL","","3694","7529 (+33620576695)",""],
    ["Emeric Katona","EK","","","7515 (+33674562693)",""],
    ["Marina Tabarant","MT","","3696","7513 (+33623963349)",""],
    ["Nicolas Thomas","NT","","","7530 (+33613290199)",""],
    ["Pierre Guilbaud","PGU","","","7531 (+33623880245)",""],
    ["Sandrine Magne","SAM","","3698","7517 (+33678786631)",""],
    ["Thierry Pawelczyk","TP","","3692","7509 (+33685108109)",""],
    ["Thierry de Catheu","TDC","","3697","7510 (+33673312484)",""]	];
    	
    	var cols = [
    		["Name","s","left","180",false,false,true],
    ["Initial","s","left","70",false,false,true],
    ["Short","s","left","70",false,false,false],
    ["Direct","s","left","80",false,false,false],
    ["Mobile Phones","s","left","200",false,false,false],
    ["Home","s","left","",false,false,false]	];
    	
    	var sortCol=0;
    	var sortDesc=false;
    	
    	function makeTable() {
    		var html="<table border=0 cellpadding=2 cellspacing=0 style=\"background-color: #FFFFFF;\">";
    	.................
    Best regards
    Franco
    Last edited by Franco; Feb-22-2008, 02:20 PM.

  • #2
    If the name and phone numbers were in an ordinary HTML or Text page it would work fine. Becuase you have embedded the data within a Javascript code, you are preventing the spidering of the data. It is the same problem as putting links inside Javascript code.

    Comment


    • #3
      Hi and thanks for your answer.

      I fully understand why links created by javascript are not supported.
      However, in my case the Names I want to search for are written plain text in the html file (even they're inside a <script> </script>). Is it not possible that ZoomSearch finds these pages if it finds the text string? (a way to override the 'skip indexing javascript' or something similar)

      Thanks again.

      Comment


      • #4
        Looking at the code you posted above, the names and phone numbers are part of the source code of a Javascript script. (I don't know why you would want to do this, when the same list could be in plain HTML).

        Zoom deliberately doesn't index script source code. If it did you would have text like
        "var sortDesc=false function makeTable () { var html"
        being indexed for the page, which doesn't make any sense.

        Comment

        Working...
        X