Click here to Skip to main content
13,345,954 members (55,135 online)
Click here to Skip to main content
Add your own
alternative version


28 bookmarked
Posted 1 Aug 2003

Dynamic HTML Page creation & Search through Free Text and Meta Tags of HTML by Using Index Server

, 1 Aug 2003
Rate this:
Please Sign up or sign in to vote.
The article mainly focuses on the problem faced in jobs portal to provide the mechanism to employers/recruiters to search job seeker’s uploaded and created resumes on the basis of given template, and vice versa for the job seekers to search the jobs on the basis of the specified criteria.


The article mainly focuses on the problem faced in jobs portal to provide the mechanism to employers/recruiters to search job seeker’s uploaded and created resumes on the basis of given template, and vice versa for the job seekers to search the jobs on the basis of the specified criteria.


There are two solutions to cater this issue.

  • Solution No.1:

    All the relevant information regarding the job seeker should be stored in the database including their resumes. When employers fetch the resume on the basis of specified criteria, the records matching the certain criteria is fetched from the database by using normal SQL Query Language. But when employers specify the free text searching criteria (Free Text searching means specifying the keywords matching the result like Visual Basic developer, SQL Server experts etc.), the records are fetched from the database by using Free Text searching mechanism. SQL Server handles those fields in which Free Text searching applies separately to other fields by using separate pages, which in some extent, improve the performance but not always the better choice.

    The main drawback in the solution is that in jobs portal, we have millions of job seekers' (e.g. In etc.) profiles and this number increases day by day. So fetching the resumes from millions of records by using Free Text searching of SQL Server drastically degrades the performance of query execution time. We have inserted the resume (which normally in any case not less than 2 pages of MS Word document), so fetching those fields is also a teasing time query execution plan for SQL server.

  • Solution No.2:

    The 2nd and the most efficient way is to save the resumes in the HTML file format by specifying the meta tags (Meta tags is used to uniquely identify the HTML documents) and search those resumes by using the Index Server which is a part of Windows 2000/Windows Xp/Windows Server 2003.

Part A) Dynamic HTML Creation

The technique that I have used here is the creation of HTML templates, defined relevant fields and Meta tags names, through which I will be able to search the resumes in the 2nd part. (HTML template file is available with source code).

When job seekers create their profile and enter all the relevant information, I can retrieve all the contents of the template HTML page in the memory by using the StreamReader class in the System.IO namespace and one by one replace all the user’s provided credentials in the template HTML page and also set the meta tags name’s contents value from the user's given information and save the resume to HTML page by giving the filename like profileId.html (Profile ID is unique in any circumstance).

Part B) Search through Free Text and Meta Tags of HTML Pages by using Index Server

Index Server is a part of Windows 2000/Windows XP/Windows Server 2003, so there is no extra cost involved by using Index Server.

To configure Index Server, follow these steps:

  1. Locate the Index Server

    Start --> Setting --> Control Panel --> Administrative Tools --> Services and Applications --> Index Service

  2. Create a new catalogue

    Right click Index Server --> New --> Catalogue by providing the Catalogue name and folder in which Index Server manages the catalogue

  3. Map the searched folder

    Right click Directories under Catalogue name and then Select New --> Directory --> Locate the mapped directory and give it alias (UNC) like Profiles.

  4. Setting Catalogue’s Properties

    Right Click Catalogue --> Properties -->(Tracking --> WWW Server --> Select Default Website --> OK )

  5. Restart Index Server

    Restart the Index Server.

  6. Full Rescan the Mapped Folder

    Right Click the Mapped Folder --> All Task --> Rescan (Full)

  7. Refresh the Mapped folder meta tag properties

    Right Click Properties --> All Task --> Refresh List

  8. Cache the Meta Tag Properties

    Select catalogue --> Properties --> Select the Meta Tag properties one by one.

    Double click (Meta Tag Property) --> check the Cached Option and Select "VT_LPWSTR" option for string properties.

    Now from the development environment, I have used Index Server data access "ixssco control" type library with ASP.NET for Visual Basic. NET, but we can also use ASP 3.0, Visual Basic 6.0, ASP.NET for C#.NET etc. First, I have gathered all the information in which employee wants to see the resume, and then on the basis of information, built the dynamic query to send to Index Server object after defining the columns of meta tags and then displayed the result in the data grid.


This application is not only used for Job Portal but can be used to search specific data from an HTML page by using Index Server. And to make the dynamic HTML pages, we can not only generate the HTML but can also generate MS Word, Text Format, RTF format document as well.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Syed Adnan Ahmed
Architect Version 1
Ireland Ireland
Adnan Ahmed is SharePoint Architect in Version 1(, the IT Consulting Company in Ireland and has involved with many large enterprises to help them realise real benefits of SharePoint 2007|2010.

SharePoint Architect | Blogger | IT Evangelist | MCPD SharePoint 2010 Developer| MCITP SharePoint Administrator 2010

Linked In Profile:

My Blogs:

You may also be interested in...


Comments and Discussions

GeneralNext step Pin
pburns5-Aug-03 11:21
memberpburns5-Aug-03 11:21 
GeneralRe: Next step Pin
Syed Adnan Ahmed5-Aug-03 20:02
memberSyed Adnan Ahmed5-Aug-03 20:02 
GeneralRe: Next step Pin
alhambra-eidos6-Oct-08 8:50
memberalhambra-eidos6-Oct-08 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180111.1 | Last Updated 2 Aug 2003
Article Copyright 2003 by Syed Adnan Ahmed
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid