I cannot get the crawler to recognize the links in the following HTML. The profile was created with the default settings. Javascript walking appears to be enabled by default. Will any settings make this work?
I'm assuming that it is not working because if the link is followed ,the page is regenereted with standard hyperlinks to files in the same directory that I would expect the crawler to index. I am also not seeing multiple hits in the web server log which leads me to believe it is not following the links.
In case it matters, this is being generated by an asp.net application that is using the LinkButton control.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body>
<form name="Form1" method="post" action="WebForm1.aspx" id="Form1">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="dDwtMjA0ODM4MjIwNzs7PohhKNmpjnpA8Ex+vrCDtuH0g9EQ" />
<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.Form1;
}
else {
theform = document.forms["Form1"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
<a id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')">Link Button 1</a>
<br>
<br>
<a id="Linkbutton2" href="javascript:__doPostBack('Linkbutton2','')">Link Button 2</a>
<br>
<br>
<a id="Linkbutton3" href="javascript:__doPostBack('Linkbutton3','')">Link Button 3</a>
</form>
</body>
</HTML>
I'm assuming that it is not working because if the link is followed ,the page is regenereted with standard hyperlinks to files in the same directory that I would expect the crawler to index. I am also not seeing multiple hits in the web server log which leads me to believe it is not following the links.
In case it matters, this is being generated by an asp.net application that is using the LinkButton control.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body>
<form name="Form1" method="post" action="WebForm1.aspx" id="Form1">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="dDwtMjA0ODM4MjIwNzs7PohhKNmpjnpA8Ex+vrCDtuH0g9EQ" />
<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.Form1;
}
else {
theform = document.forms["Form1"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
<a id="LinkButton1" href="javascript:__doPostBack('LinkButton1','')">Link Button 1</a>
<br>
<br>
<a id="Linkbutton2" href="javascript:__doPostBack('Linkbutton2','')">Link Button 2</a>
<br>
<br>
<a id="Linkbutton3" href="javascript:__doPostBack('Linkbutton3','')">Link Button 3</a>
</form>
</body>
</HTML>