Content Deployment HTTP Pull Does Not Replicate Hyperlinks with Space Characters (263972)



The information in this article applies to:

  • Microsoft Site Server 3.0
  • Microsoft Site Server 3.0 Commerce Edition

This article was previously published under Q263972

SYMPTOMS

HTTP Pull (Internet Retrieval) projects in Site Server 3.0 Publishing cannot detect the space character in HREF hyperlinks in HTML or ASP pages.

For example, HTML code at the replication root-level starting page "default.htm" may contain hyperlinks that use the following code:
<a href = "subfolder1\mypage1.htm"> 
				

The linked page may not be replicated over when the HTTP Pull project from the URL "http://mysite.com/default.htm" is set with the Following All links option or Limit by correct levels.

CAUSE

The linked pages are not replicated if there is any space character before or after the equal sign (=) in the code. For example:
<a href ="subfolder1\mypage1.htm">
-OR-
<a href= "subfolder1\mypage1.htm">
-OR-
<a href = "subfolder1\mypage1.htm">

Pages from all of these links fail to be pulled from the HTTP replication project.

WORKAROUND

Remove any space character in the HREF links in the HTML code. For example, the code in the "Symptoms" section would have the following syntax:
<a href="subfolder1\mypage1.htm">

MORE INFORMATION

Using HTTP Pull Projects

  • An HTTP Pull project requires a direct URL to the page level. Using a URL to the virtual directory level without the default page specified does not work. For example, the replication source URL needs to be specified as "http://mysite/vdir/default.asp," instead of "http://mysite/vdir."
  • An HTTP Pull project only natively detects the hyperlinks coded in HTML. ASP pages and HTML pages can behave differently in the replication. Links in the ASP scripts or dynamic links in the code are not replicated.
  • HTTP Pull projects are used to download Web content from an HTTP server with proper permissions. Replicating Web content by using HTTP Pull should only be considered when the Web site has a simple structure or some straight HTML pages. Regular Content Deployment projects or FTP Pull projects are recommended for replicating Web content instead.

Modification Type:MajorLast Reviewed:6/29/2004
Keywords:kbprb KB263972 kbAudDeveloper