请问,搜索引擎能够识别JAVA输出到客户端的HTML文字代码吗?

weilf 2004-11-11 01:46:44
如题,我的一个站点使用的是静态页面,目的是为了方便搜索引擎识别登陆,但同时,为了减少维护量,我把站点里的栏目头和栏目尾通过JAVA编一个JS文件输出,这样便于维护!

现在的问题是,这些通过JAVA输出的HTML代码,搜索引擎能不能识别,因为我所有的首页到内页的连接都是在这些JS文件里的,如果不能被识别,不就意味着这个站点的页面不能被收录吗?请知情者指点,谢谢,我的JS头文件代码如下,其实就是在客户端简单输出网站的栏目头代码而已:

// JavaScript Document
<!--
document.write('<span id=unicityfj style="behavior:url(#default#homepage)"></span>');
function shouye(){
unicityfj.setHomePage('http://www.unicityfj.com/');
return(false);
}
function shoucan()
{
window.external.AddFavorite('http://www.unicityfj.com/','福建立新世纪')
}
document.write('<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>');
document.write('<TR>');
document.write('<TD align=right background=images/top2.gif height=22><a href="#" onClick="shouye()" target=_self>设为首页</a>  <a href="#" onClick="shoucan()" target=_self>收藏本站</a>  <A href="http://www.unicity.com/guestbook/">客户反馈</A></TD></TR>');
document.write('<TR>');
document.write('<TD align=middle><DIV id=Layer1 style="Z-INDEX: 1; LEFT: 138px; WIDTH: 290px; POSITION: absolute; TOP: 22px; HEIGHT: 100px">');
document.write('<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 height=100 width=280 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="images/f.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent"><PARAM NAME="menu" VALUE="false">');
document.write('<embed src="images/f.swf" width="280" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" menu="false"></embed></OBJECT></DIV>');
document.write('<IMG src="images/mianlogo.jpg" alt="福建立新世纪" width=748 height=100 border=1></TD></TR></TBODY></TABLE>');
document.write('<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0><TBODY><TR>');
document.write('<TD width=1 bgColor=#615f64><BR></TD><TD width=748 background=images/qback.gif height=37>');
document.write('<TABLE cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD width=10><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="index.htm"><FONT color=#ffffff>立新简介</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="product.asp"><FONT color=#ffffff>立新产品</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="busness.htm"><FONT color=#ffffff>事业商机</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="ours.htm"><FONT color=#ffffff>我的团队</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="price.htm"><FONT color=#ffffff>奖金制度</FONT></A> </TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="join.htm"><FONT color=#ffffff>加盟合作</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="guestbook/"><FONT color=#ffffff>客户留言</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('<TD><IMG height=22 src="images/butleft.gif" width=21 border=0></TD><TD class=nav noWrap background=images/butback.gif width="55"><A href="website.htm"><FONT color=#ffffff>相关网站</FONT></A></TD><TD><IMG height=22 src="images/butright.gif" width=8 border=0></TD><TD width=1><BR></TD>');
document.write('</TR></TBODY></TABLE></TD><TD width=1 bgColor=#615f64><BR></TD></TR></TBODY></TABLE>');
-->
...全文
87 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
weilf 2004-11-14
  • 打赏
  • 举报
回复
tt
weilf 2004-11-12
  • 打赏
  • 举报
回复
TT
weilf 2004-11-11
  • 打赏
  • 举报
回复
咋就没人回答,这里没有人对搜索引擎优化了解的人么!~`

87,997

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧