PassMark Logo
Home » Forum

Serach content by div

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Franco
    Junior Member
    • Feb 2008
    • 9

    #1

    Serach content by div

    Hi
    I have the following piece of source code
    Code:
    <div id="contentTop">  
    		<h2>Customer Relationship Policy</h2>
    	</div>
    
                                                          
    	<div id="contentNavigation">
    		<div id="contentDocNo"> 
    	   		
    	   		<span>Document No.</span> 1-1-0017PO
    	   		
    		</div>
    		<div id="contentNavBorder">
    Is there a way to search and display the documnet no. (in this case 1-1-0017PO) into the search results?
    I'm using the enterprise edition 6


    Many thanks for your help
    Last edited by Franco; Jul-13-2011, 02:27 PM.
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    If the user searched for 1-1-0017PO, then this would appear in the search results. Or do you mean that you want this number displayed even if this was not the word being searched for.

    In the later case you could place the document number into the page title, or the page meta description to get it displayed all the time.

    Comment

    • Ray
      Administrator
      • Dec 2004
      • 4357

      #3
      Or consider using Custom Meta Fields.
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment

      • Franco
        Junior Member
        • Feb 2008
        • 9

        #4
        Hi

        If the user searched for 1-1-0017PO, then this would appear in the search results
        this is the problem, It doesn't appear in the search result and I can't place the document no. in the header or as meta description

        Comment

        • David
          Administrator
          • Dec 2004
          • 4714

          #5
          If you get no result for this search term, then did you check that this page was actually indexed?

          Is this a public site? What is the URL?

          Comment

          Working...