Index server and ASP.NET 2.0 master pages

L

Lonnie

I'm trying to use the Microsoft Index Server with ASP.NET 2.0 master
pages. I'm aware that the "doctitle" = the <title> entry and the
"characterization" = the "description" meta tag. If these tags are
maintained in the "master" page, and the index server searches the
"child" pages, these values aren't set in the index. Am I missing
something? Is there a provision for this?

Thanks,
Lonnie
 
L

Lonnie

Answered my own question, yes you can hack your way around this.
I put in a <head> section in my "child" ascx page, something like this:

<asp:content id="mainContent" contentplaceholderid="_mainContent"
runat="server">
<head>
<title>About Us - Who Are We</title>
<meta name="description" content="This page displays a map of our
location" />
</head>

....
</aspx:content>

This does generate a page that violates the HTML standards as it
created a <head> section in the <body> but the browsers seem to just
ignore it. The Index Server seems to be picking it up fine.

Good luck.
-Lonnie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top