PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Does not search within DIV tags

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

  • Does not search within DIV tags

    Dear Zoom search engine makers, please explain, or add this feature to the zoom serach engine.
    currently I am evaluating th version 5, and it is so happens that it does not search within the DIV tags.

    for example:

    create a webpage with the follwoing code

    and have some of the DIV layers hidden:

    <html>
    <head>
    <title>finance</title>
    <script type="text/javascript">

    var blocks_array = new Array("1","2","3","4","5","6","7","8","9","10", "11", "12"); // Put the id's of your hidden divs in this array

    function display_blocks(block_id)
    {
    if (document.getElementById(block_id).style.display== "")
    {
    document.getElementById(block_id).style.display = "none";
    return;
    }
    for (i=0; i<blocks_array.length;i++)
    {
    var blocks = document.getElementById(blocks_array[i]);
    blocks.style.display = "none";
    }
    document.getElementById(block_id).style.display = "";
    }
    </script>
    </head>

    <body>
    some text goes here
    <br>

    <a href="javascript:void(0)" class="headings" onClick="display_blocks('7')" onFocus="if(this.blur)this.blur()";><strong>Financ e</strong> </a>

    <div class="para" id="7" style="display:none">
    <p>
    <!-- finance table starts here -->
    some contents: goes here, for example, name, address, telephone number

    </div>


    for your uinformation if you change
    <div class="para" id="7" style="display:none">

    to
    <div class="para" id="7" style="display:block">

    you can see the content in the Dreamweaver to edit.

    Basically, any word located within the DIV tags is not indexed.

    Please help.

  • #2
    I will move this post to the V5 section of the fourm (you posted it in the V4 section).

    I added closing tags to your example HTML code (</body></html>) and tested it with V5 of Zoom. These are the words that were parsed from the HTML and placed into the Zoom dictionary.
    some
    text
    goes
    here
    Financ
    e
    contents
    example
    name
    address
    telephone
    number
    finance
    Which looks to be 100% correct to me. The words in the div section were picked up.

    Comment


    • #3
      part 2

      Dear wrensoft admin,

      please email me your email address so that I can zip generetated by the zoom engine files and the page in question to you on monday.

      Also, please let me know what options did you use to PICK up the information inside the DIV tags?

      thank you

      dunga

      Comment


      • #4
        I used the default options. Using a good text editor you can see the contents of the dictionary in the zoom_dictionary.zdat file which Zoom generates as one of the output file, (but don't modify this file)

        Support contact details are here.

        Comment

        Working...
        X