近年來因爲 FLASH 优美的视觉效果和广阔的创意空间,FLASH 技术在网页设计和网络广告中的应用非常广泛,很多网站首页甚至全部用 FLASH 设计。但 FLASH 网页有一个非常致命的问题,即大部分搜索引擎无法识别 FLASH 中的信息。Google 也只能检索到部分 Flash 文件中的内嵌链接。
以下列举一个企业网站首页的代码,用 FLASH 制作,请注意是否可以看见有意义的文本:
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" c>
<style type="text/CSS技巧">CSS">
<!-- body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link rel="stylesheet" href="style.txt" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" background="images/bg.jpg"><div align="center">
<center>
<table width="777" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" http://download.macromedia.com/p ... flash.cab#version=6,0,29 < http://download.macromedia.com/p ... s/flash/swflash.cab>
,0" width="777" height="455">
<param name="movie" value="http://www.webjx.com/htmldata/2007-07-10/index.swf">
<param name="quality" value
<embed src="http://www.webjx.com/htmldata/2007-07-10/index.swf" quality="high"
pluginspage="< http://www.macromedia.com/go/getflashplayer>"
type="application/x-shockwave-flash" width="777" height="455"></embed>
</object></td>
</tr>
</table>
<br>
<span class="style2">
给企业做站,老板都喜欢动画站,认为那就是好,同时再采用模拟蜘蛛程序的工具,测试到搜索引擎对该页抓取结果如下:
Spidered Text (蜘蛛可识别的文本):
Welcome 本页使用 FLASH 技术,如果无法正常浏览请下载并 安装插件 或 直接进入 if you are not able to view the animated pleass install plug-in first
Spidered Links(蜘蛛可识别的链接):
< http://www.macromedia.com/shockw> ... gerpages/flash.html
ASP-bin/big5/?page=1 (下载 FLASH 插件的链接地址)
< http://www.macromedia.com/shockw> ... gerpages/flash.html
