![]() |
Enterprise Systems »
Content Management Server »
General
Intermediate
License: The Code Project Open License (CPOL)
Microsoft Content Management Server Crawl Page for SearchBy Stephen HuenProvides a start page for search engines to crawl a Content Management Server (MCMS) web site. |
C#, VB, SQL.NET 1.1, .NET 2.0, Win2K, Win2003, ASP.NET, SQL 2000, IIS 5.1, IIS 6, VS.NET2003, VS2005, DBA, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||

This Crawl Results user control provides a start page for a search engine to crawl a Content Management Server (MCMS) web site.
For search purposes, it is recommended to hide a site's navigation menus when the browser user agent is detected to be a robot. This prevents words in the navigation menus from appearing in every page of the search result when a user searches for those words. With the navigation menus turned off, the search crawler will have no way to crawl through all the pages. This user control generates links to channels and postings, and allows a search engine to recursively crawl through all the pages.
As the user control does not generate links to all the channels and postings in one go, it is scalable to large sites. A meta robot tag of NOINDEX,FOLLOW should be included in the crawl page using the user control so that the crawler will not index the channel and posting lists but follow them.
Both C# and VB.NET versions are included.
StartChannelPath property to the root of your MCMS site. For example: <%@ Register TagPrefix="uc1" TagName="CrawlResults"
Src="~/UserControls/CrawlResults.ascx" %>
. . .
. . .
<uc1:CrawlResults id="CrawlResults"
StartChannelPath="/Channels/WoodgroveNet" runat="server">
</uc1:CrawlResults>
<meta name="ROBOTS" CONTENT="NOINDEX,FOLLOW">
| You must Sign In to use this message board. | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 17 May 2006 Editor: Smitha Vijayan |
Copyright 2004 by Stephen Huen Everything else Copyright © CodeProject, 1999-2009 Web10 | Advertise on the Code Project |