|
|
发表于 2007-6-15 01:37:48
|
显示全部楼层
测试的时候是可以发表文章的,但是采集的时候就不行了,会出现这样的代码:
- 【序号】:1
- 【返回信息】:web在线发布错误 注意查看返回源代码(只显示一次,以下雷同): <!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">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>控制面板 - 中华网BLOG</title>
- <link href="http://blog.china.com/css/style.css" rel="stylesheet" type="text/css" />
- <script>
- function $(_sId){
- return document.getElementById(_sId);
- }
- function hide(_sId){
- $(_sId).style.display = $(_sId).style.display == "none" ? "" : "none";
- }
- function scroll_to_top()
- {
- document.body.scrollTop=0;
- }
- function mainFrameRedirect(url)
- {
- oo = document.getElementById("mainFrame");
- oo.url = url;
- }
- </script>
- </head>
- <body style='background:url(screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://blog.china.com/images/bg_header.jpg');}" alt="" src="http://blog.china.com/images/bg_header.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>) left top repeat-x;'>
- <div id="main">
- <div id="header">
- <div class="logo"><a href="http://blog.china.com"><img src="http://blog.china.com/jsp/main/images/logo_chinadotcom.gif" border="0" width="124" height="44" hspace="10" align="absmiddle" /></a>
- <a href="http://blog.china.com"><img src="http://blog.china.com/jsp/main/images/logo_blog20.gif" width="70" height="34" border="0" align="absmiddle" /></a></div>
- <div class="links"><a href="http://www.china.com">首页</a>┊ <a href="http://blog.china.com">BLOG首页</a>┊ <a href="http://blog.china.com/control">我的控制面板</a>┊ <a href="http://blog.china.com/SearchAction.do">搜索</a>┊ <a href="#">帮助</a></div>
- <div class="clear"><img name="" src="" width="1" height="1" alt="" /></div>
- </div>
- <div id="content">
- <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#B1AFAA">
- <tr>
- <td class="tit00">系统提示页面</td>
- </tr>
- <tr>
- <td valign="top" class="error">出错啦!<br />
- <a href="javascript:history.go(-1)"><< 请返回</a></td>
- </tr>
- </table>
- </div>
- <script type='text/javascript' language='javascript' src='http://blog.china.com/js/footer.js'></script></div>
- <script type="text/javascript">
- <!--
- function iframeResize()
- {
- var dyniframe = null;
- var indexwin = null;
- if (document.getElementById)
- {
- dyniframe = document.getElementById("mainFrame");
- indexwin = window;
- if (dyniframe)
- {
- if (dyniframe.contentDocument)
- {
- dyniframe.height = dyniframe.contentDocument.body.scrollHeight + 10;
- }
- else if (dyniframe.document && dyniframe.document.body.scrollHeight)
- {
- iframeheight = mainFrame.document.body.scrollHeight + 10;
- windowheight = indexwin.document.body.scrollHeight - 150;
- dyniframe.height = (iframeheight < windowheight) ? windowheight : iframeheight;
- }
- }
- }
- }
- if (window.addEventListener)
- window.addEventListener("load", iframeResize, false)
- else if (window.attachEvent)
- window.attachEvent("onload", iframeResize)
- else
- window.onload=iframeResize
- -->
- </script>
- </body>
- </html>
复制代码 |
|