日期:2014-05-17  浏览次数:20777 次

求高手帮我解析一段代码
大家好,我通过电脑上wap网站的代理网站进入百度,查看其网页代码如下:


  
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml"><script>document.write("<title>"+decodeURIComponent("6A%AB%5E%EB%99%7E%-59%DB%5E%BB%99%7E%7B%88%6E%8A%49%7E%".split('').reverse().join(''))+"</title>")</script><script>var wapType=2; var nowHost="http://wappass.baidu.com";var nowUrlPath="http://wappass.baidu.com/passport/";var replace_img="";</script><script type="text/javascript" id="dowap_decode">var js_engine_content="<!DOCTYPE html PUBLIC \"-\/\/WAPFORUM\/\/DTD XHTML Mobile 1.0\/\/EN\" \"http:\/\/www.wapforum.org\/DTD\/xhtml-mobile10.dtd\">\r\n<html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\r\n\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"application\/xhtml+xml; charset=utf-8\"\/>\r\n\r\n\r\n<style type=\"text\/css\">\r\n\tbody{font-size:small;line-height:1.4em;}\r\n\tform{margin:0;padding:0;}\r\n\t.highlight{color:#ff0000;}\r\n\t.hdr{padding:0 0 0 74px;height:25px;line-height:25px;vertical-align:bottom; background-image:url(\"http:\/\/m.baidu.com\/r\/wise\/wapsearchindex\/logo_index_s.gif\");background-repeat:no-repeat;}\r\n\t.cdv{padding-top:3px;padding-bottom:0px;}\r\n\t.cdvb{border-bottom:solid 1px #90B5F4;padding-top:3px;padding-bottom:5px;}\r\n\t.ftr{padding-top:5px;margin-top:3px;padding-bottom:5px;}\r\n\t.clk{color:#4e4e4e;}\r\n\timg{border:none;}\r\n\t.boldblack{font-weight:bold;color:#000000;}\r\n\t\r\n\t.right{background:#def7fe;padding:4px 0;margin-top:7px;}\r\n\ta{text-decoration:none;color:#00E;}\r\n\t.tab{margin-top:8px;}\r\n<\/style>\r\n<title>@do7528@do6237@do767b@do5f55-@do767e@do5ea6<\/title>\r\n<\/head>\r\n<body>\n <script>var replace_img=\"\";var js_onload_flag=0;2\n function documentReady(){ if(js_onload_flag>0){ dowapReady() }else{ setTimeout(documentReady,16) }};var adkw= new Array( );<\/script>\n <script src=\"http:\/\/static.pctowap.com\/dowap2\/js\/jquery.js\" type=\"text\/javascript\" ><\/script>\n <script src=\"http:\/\/static.pctowap.com\/dowap2\/1.13-022201\/js\/wml_util.js\" type=\"text\/javascript\" ><\/script>\n <script src=\"http:\/\/static.pctowap.com\/dowap2\/1.13-022201\/js\/wml.js\" type=\"text\/javascript\" ><\/script>\n <link href=\"http:\/\/static.pctowap.com\/dowap2\/1.13-022201\/css\/dowap.css\" rel=\"stylesheet\" type=\"text\/css\" \/><script>var nowHost=\"http:\/\/wappass.baidu.com\";var nowUrlPath=\"http:\/\/wappass.baidu.com\/passport\/\";var replace_img=\"\";<\/script><script>wapType=2;<\/script>\r\n<div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"hdr\"><\/div>\r\n\t\t\t\t\t<div class=\"right\">@do7528@do6237@do767b@do5f55<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<div class=\"tab\">\r\n\t\t\t@do767b@do5f55 | <a href=\"http:\/\/wappass.baidu.com\/passport\/?reg&amp;ssid=0&amp;from=0&amp;bd_page_type=1&amp;uid=wapp_1332425490934_652&amp;pu=&amp;tpl=wapp&amp;u=http%3A%2F%2Fwapp.baidu.com%2F\">@do6ce8@do518c<\/a>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<form action=\"http:\/\/www.pctowap.com\/dowap.php?u=wappass.baidu.com%2Fpassport%2F\" met