Microsoft KB Archive/243162

= Searching and Retrieving HTML META Tags that Represent Dates =

Article ID: 243162

Article Last Modified on 6/30/2006

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition
 * Microsoft Site Server 3.0 Commerce Edition

-



This article was previously published under Q243162



SUMMARY
This article describes the correct method to configure Microsoft Search Server so that it will properly search and retrieve dates stored in custom HTML META tags.



MORE INFORMATION
Microsoft Site Server requires dates that will be crawled and indexed using Search Server must be in one of a few specific formats. Assuming you have an HTML page similar to the following:   Sample Web Page    Sample web page.   you can search and retrieve information on the DateTag META tag with a few simple steps:  In the Site Server MMC, double-click Search, and then double-click your server. Double-click Catalog Build Server, double-click the desired catalog, and click Schema.</li>  Using the following parameters, add a schema entry:

<pre class="fixed_text">Property Name: DateTag Property Set: Standard Property Set - HTML META Property ID: DateTag Type: Date Index: Yes Retrieve: Yes </li> Click Submit, and then click Create Custom Schema.</li>  Using a standard results display page, use the DefineColumns method to define the custom column: objQuery.DefineColumn "DateTag (VT_FILETIME) = d1b5d3f0-c0b3-11cf-9a92-00a0c908dbf1 DateTag" </li>  Add the DateTag column to the list of columns you want to retrieve: objQuery.Columns = "Title, DocAddress, Description, Rank, DateTag" </li>  Using the search page, perform a search using standard search syntax against DateTag. For example: @DateTag > 1994-11-6 @DateTag < 1994/12/31 </li></ol>

Keywords: kbhowto KB243162

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.