发布出问题
火车头是2009sp4的宏博是v1.8.3的
测试没问题,
采集也没问题
就是发布成这样
发内容--WEB发布是否成功未知,请到网站查看:http://soft.pcpop.com/
发内容--WEB发布是否成功未知,请到网站查看:http://product.pcpop.com/
发内容--WEB发布是否成功未知,请到网站查看:http://buy.pcpop.com/
发内容--WEB发布是否成功未知,请到网站查看:http://news.pcpop.com/
发内容--WEB发布是否成功未知,请到网站查看:http://topic.pcpop.com/
发内容--WEB发布是否成功未知,请到网站查看:http://labs.pcpop.com/
顺便,我的模板是HBcms1.8,从官网上下载的,我就改了个关键字
有人说我是采集规则设错了,可是我采集的测试也是没错的···
到底是怎么回事,请大家指教 对了,发布错误的第一条
发内容--WEB发布错误,返回代码请查看:File:///C:\Users\Owner\Desktop\火车头\Data\1-测试\WebError.log
WebError.log的内容如下
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加文章 - HBcms</title>
<style> body,td{font-size:9pt;} </style>
<link rel="stylesheet" href="/./script/admin_main_css_3.css" type="text/css" />
<script src="/./script/admin_main_js.js"></script>
<script type="text/javascript"src="/./script/jquery/jquery.js"></script>
</head>
<base target="_self"></base>
<body leftmargin="0" topmargin="0" bgcolor="white"><TABLE align=center cellSpacing=0 cellPadding=0 class="tb_width link_black nav_table" border=0><tr><td width=150 align=center rowspan=3 vlign=top id="hbcms_logo_area"><a href="http://www.hbcms.com/" target=_blank style="text-decoration:none;"><IMG SRC="/./image/icon/hbcms_logo_120_60.gif" WIDTH="120" HEIGHT="60" BORDER="0" ALT="宏博内容管理系统"></a></td><td valign=bottom><A HREF="main.php">系统后台首页</A> |<A HREF="type_list.php">网站栏目管理</A> | <A HREF="article_batch.php">文章批量管理</A> | <A HREF="type_batch.php">栏目批量管理</A> | <A HREF="article_add.php">添加新的文章</A> | <A HREF="article_list.php">文章高级搜索</A>
</td></tr><tr><td>
<A HREF="my_index_page.php">更新网站首页</A> | <A HREF="mytpl_list.php">网站模板管理</A> | <A HREF="mytag_list.php">自定义的标记</A> | <A HREF="cfg_edit.php">系统配置管理</A> | <A HREF="file_manager.php">在线文件管理</A> | <A HREF="login.php?logout=1">安全退出系统</A></td></tr></table><SCRIPT>top_ad();</SCRIPT><a name=main></a><style type="text/css">
.form_danxuan,.form_duoxuan {width:530px;}
.form_danxuan label,.form_duoxuan label {display:block;float:left;width:130px;font-weight:normal;}
</style>
<CENTER><IMG SRC="../image/icon/addedit.png" WIDTH="48" HEIGHT="48" BORDER="0" ALT="" align=absmiddle><span class=title_1>添加文章</span></CENTER>
<TABLE width=95% align=center>
<TR>
<TD align=right>
<A HREF="article_list.php?type_id=16" class=red>- 文章 -</A>
</TD>
</TR>
</TABLE>
<TABLE class=tb_1 align=centercellpadding='0' cellspacing='0'>
<tr class=tb_title_1><th align=center>
添加文章 </th></tr>
<TR>
<TD><CENTER>
<script type="text/javascript">
//<![CDATA[
function validate_form_article(frm) {
var value = '';
var errFlag = new Array();
var _qfGroups = {};
_qfMsg = '';
value = frm.elements['title'].value;
if (value == '' && !errFlag['title']) {
errFlag['title'] = true;
_qfMsg = _qfMsg + '\n - 文章标题: 必须填写';
}
value = frm.elements['title'].value;
if (value != '' && value.length < 2 && !errFlag['title']) {
errFlag['title'] = true;
_qfMsg = _qfMsg + '\n - 文章标题: 至少需要 2 个字母!';
}
value = frm.elements['title'].value;
if (value != '' && value.length > 200 && !errFlag['title']) {
errFlag['title'] = true;
_qfMsg = _qfMsg + '\n - 文章最多不超过 200 个字符';
}
value = frm.elements['type_id'].selectedIndex == -1? '': frm.elements['type_id'].options.selectedIndex].value;
var regex = /^-?*/;
if (value != '' && !regex.test(value) && !errFlag['type_id']) {
errFlag['type_id'] = true;
_qfMsg = _qfMsg + '\n - 主栏目: 必须填写';
}
value = frm.elements['hits'].value;
var regex = /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/;
if (value != '' && !regex.test(value) && !errFlag['hits']) {
errFlag['hits'] = true;
_qfMsg = _qfMsg + '\n - 文章点击: 必须是数字';
}
if (_qfMsg != '') {
_qfMsg = '\n=== 有如下错误需要修改 ===\n' + _qfMsg;
_qfMsg = _qfMsg + '\n\n- 请修改上述错误后再重新提交';
alert(_qfMsg);
return false;
}
return true;
}
//]]>
</script>
<form width="100%" action="/admin/article_add.php" method="post" name="form_article" id="form_article" target="_self" onsubmit="try { var myValidator = validate_form_article; } catch(e) { return true; } return myValidator(this);">
<div>
<input name="add_date" type="hidden" value="" />
<input name="mod" type="hidden" value="" />
<input name="article_id" type="hidden" value="" />
<input name="user_id" type="hidden" value="1" />
<table border="0">
<tr>
<td align="right" valign="top"><span style="color: #ff0000">*</span><b>文章标题</b></td>
<td valign="top" align="left"> <input size="80" name="title" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>高级属性</b></td>
<td valign="top" align="left"> <A HREF="###" onclick="return hbcmsShowTr('form_article');" hidefocus="true" style="text-decoration: none;">点这里显示或隐藏 标题颜色,副栏目,图标,作者,来源,分页,关键字,简介,权限,模板,商品 等属性</A></td>
</tr>
<tr>
<td align="right" valign="top"><b>链接网址<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="80" name="jump_url" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>标题颜色<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="10" onclick="getMyColor(this)" onmouseover="this.style.color=this.value;" style="color:black" name="title_color" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>主栏目</b></td>
<td valign="top" align="left"> <select name="type_id">
<option value="0">==== 请选择 ====</option>
<option value="11"> -爱情笑话- </option>
<option value="12"> -贬人笑话- </option>
<option value="13"> -成人笑话- </option>
<option value="20"> -军旅笑话- </option>
<option value="14"> -动物笑话- </option>
<option value="15"> -儿童笑话- </option>
<option value="16" selected="selected"> -夫妻笑话- </option>
<option value="17"> -工作笑话- </option>
<option value="18"> -交通笑话- </option>
<option value="19"> -酒笑话- </option>
<option value="25"> -网络笑话- </option>
<option value="21"> -口误笑话- </option>
<option value="22"> -冷笑话- </option>
<option value="23"> -手机笑话- </option>
<option value="24"> -体育笑话- </option>
<option value="26"> -校园笑话- </option>
<option value="29"> -哲理小思- </option>
<option value="27"> -医疗笑话- </option>
<option value="30"> -脑筋急转弯- </option>
<option value="28"> -愚人笑话- </option>
<option value="31"> -一句话集- </option>
<option value="32"> -名人笑话- </option>
<option value="6"> -新闻公告- </option>
<option value="4"> -友情连接- </option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>副栏目<span class="hbcms_adv_item a"></span></b></td>
<td valign="top" align="left"> <select name="type_id_2">
<option value="0" selected="selected">==== 请选择 ====</option>
<option value="11"> -爱情笑话- </option>
<option value="12"> -贬人笑话- </option>
<option value="13"> -成人笑话- </option>
<option value="20"> -军旅笑话- </option>
<option value="14"> -动物笑话- </option>
<option value="15"> -儿童笑话- </option>
<option value="16"> -夫妻笑话- </option>
<option value="17"> -工作笑话- </option>
<option value="18"> -交通笑话- </option>
<option value="19"> -酒笑话- </option>
<option value="25"> -网络笑话- </option>
<option value="21"> -口误笑话- </option>
<option value="22"> -冷笑话- </option>
<option value="23"> -手机笑话- </option>
<option value="24"> -体育笑话- </option>
<option value="26"> -校园笑话- </option>
<option value="29"> -哲理小思- </option>
<option value="27"> -医疗笑话- </option>
<option value="30"> -脑筋急转弯- </option>
<option value="28"> -愚人笑话- </option>
<option value="31"> -一句话集- </option>
<option value="32"> -名人笑话- </option>
<option value="6"> -新闻公告- </option>
<option value="4"> -友情连接- </option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>作者<span class="hbcms_adv_item a"></span></b></td>
<td valign="top" align="left"> <input name="author" type="text" value="网络" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>来源<span class="hbcms_adv_item bb"></span></b></td>
<td valign="top" align="left"> <input name="from" type="text" value="网络" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>图标网址<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="70" onchange="show_pic_preview(this,0);" id="file_0" name="icon_url" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b><span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <span id=pic_preview_0></span> <A HREF="file_upload_image.php?js_function=insertPic2icon&show_top_part=no&total_file_num=1" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);"><IMG SRC="../image/icon/upload_f2.png" WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>上传图片</A>/<A HREF="resource_list.php?js_function=insertPic2icon&show_top_part=no&total_file_num=1" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);">选择图片</A> </td>
</tr>
<tr>
<td align="right" valign="top"><b>编辑评价</b></td>
<td valign="top" align="left"> <select name="editor_mark">
<option value="0">未审核</option>
<option value="2">预备发布</option>
<option value="3">低质</option>
<option value="5" selected="selected">普通</option>
<option value="8">较好</option>
<option value="10">推荐</option>
<option value="14">重点推荐</option>
<option value="18">强烈推荐</option>
<option value="20">置顶</option>
<option value="24">重点置顶</option>
<option value="28">永久置顶</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>发表时间<span class="hbcms_adv_item ccc"></span></b></td>
<td valign="top" align="left"> <select name="write_date">
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009" selected="selected">2009</option>
</select>-<select name="write_date">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10" selected="selected">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>-<select name="write_date">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6" selected="selected">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> <select name="write_date">
<option value="0">00</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18" selected="selected">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
</select>:<select name="write_date">
<option value="0">00</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34" selected="selected">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
</select>:<select name="write_date">
<option value="0" selected="selected">00</option>
<option value="5">05</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
<option value="35">35</option>
<option value="40">40</option>
<option value="45">45</option>
<option value="50">50</option>
<option value="55">55</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章分页<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="split_size">
<option value="0">手工分页:请在需要分页的地方添加 #p#page_title#e# 标记</option>
<option value="1">自动分页:每页1000个字符</option>
<option value="2">自动分页:每页2000个字符</option>
<option value="3" selected="selected">自动分页:每页3000个字符</option>
<option value="5">自动分页:每页5000个字符</option>
<option value="8">自动分页:每页8000个字符</option>
<option value="10">自动分页:每页1万个字符</option>
<option value="15">自动分页:每页1.5万个字符</option>
<option value="20">自动分页:每页2万个字符</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章内容<br /><table height=26><tr><td valign=bottom><a href="http://www.hbcms.com/cms/bb/604.html" target=_blank><IMG SRC="../image/icon/upload_f2.png" WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>上传视频</a></td></tr></table></b></td>
<td valign="top" align="left"> <input checked="checked" name="body_ctrl" type="checkbox" value="1" id="qf_438d16" /><label for="qf_438d16">自动提取第一张图片为文章图标(缩略图)</label> <input name="body_ctrl" type="checkbox" value="1" id="qf_dbaf1a" /><label for="qf_dbaf1a">下载远程图片文件</label> <input name="body_ctrl" type="checkbox" value="1" id="qf_9d8507" checked="checked" /><label for="qf_9d8507">远程链接SEO</label> <BR> <input name="body_ctrl" type="checkbox" value="1" id="qf_5a6533" /><label for="qf_5a6533">除去内容中的超级链接</label> <input name="body_ctrl" type="checkbox" value="1" id="qf_93e04d" /><label for="qf_93e04d">除去内容中的图片</label> <A HREF="file_upload_image.php?js_function=insertPic2article&show_top_part=no" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);"><IMG SRC="../image/icon/upload_f2.png" WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>上传图片<fontcolor=black>/</font>上传文件</A>/<A HREF="resource_list.php?js_function=insertPic2article&show_top_part=no" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);">选择文件</A><A HREF="article_list.php?js_function=insertArticleLinks&show_top_part=no" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);"><img src="../image/icon/addedit.png"WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>添加文章链接</A>(制作专题)<span id=upload_file></span></td>
</tr><tr><td colspan="2"><div><input type="hidden" id="body" name="body" value="" style="display:none" /><input type="hidden" id="body___Config" value="" style="display:none" /><iframe id="body___Frame" src="/./script/FCKeditor/editor/fckeditor.html?InstanceName=body&Toolbar=myDefault" width="680px" height="400px" frameborder="0" scrolling="no"></iframe></div><a name="article_keyword"></a></td></tr>
<tr>
<td align="right" valign="top"><b>文章关键字<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="70" title="Meta keywords: Search Engine Optimization(SEO)recommended" name="keyword" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>自动填写<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input onclick="form.keyword.disabled=this.checked;" name="key_auto" type="checkbox" value="1" id="qf_1c7991" /><label for="qf_1c7991">关键字</label></td>
</tr>
<tr>
<td align="right" valign="top"><b>简介<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <textarea rows="3" cols="76" style="width:560px;" title="Meta description: Search Engine Optimization(SEO) recommended" name="desc"></textarea></td>
</tr>
<tr>
<td align="right" valign="top"><b>自动填写<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input onclick="form.desc.disabled=this.checked;" name="desc_auto" type="checkbox" value="1" id="qf_84ca37" checked="checked" /><label for="qf_84ca37">截取详细内容最前面的120个汉字,将其设为简介</label></td>
</tr>
<tr>
<td align="right" valign="top"><b>查看权限<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="article_rank">
<option value="0">所有的</option>
<option value="1">普通会员</option>
<option value="2">VIP会员</option>
<option value="3">高级VIP会员</option>
<option value="4">高级管理员</option>
<option value="5">超级管理员</option>
<option value="6">站长</option>
</select> 需要金币: <input size="4" name="need_money" type="text" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章页面模板<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select multiple="multiple" size="5" name="tpl_dir[]">
<option value="0">- 使用栏目默认的 -</option>
<option value="zh-gb2312.tpl_001:article_detail.tpl.html">自带DIV+CSS框架模板001:详细内容页</option>
<option value="zh-gb2312.tpl_001:article_detail_pic.tpl.html">自带DIV+CSS框架模板001:视频flash图片页面</option>
<option value="zh-gb2312.tpl_7.blue:article_detail.tpl.html">冰蓝简洁风格:详细内容页</option>
<option value="zh-gb2312.tpl_7.blue:article_detail_pic.tpl.html">冰蓝简洁风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_12.lightblue:article_detail.tpl.html">蓝色朴素风格:详细内容页</option>
<option value="zh-gb2312.tpl_12.lightblue:article_detail_pic.tpl.html">蓝色朴素风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_9.gray:article_detail.tpl.html">灰白简洁风格:详细内容页</option>
<option value="zh-gb2312.tpl_9.gray:article_detail_pic.tpl.html">灰白简洁风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_11.black:article_detail.tpl.html">黑色非主流风格:详细内容页</option>
<option value="zh-gb2312.tpl_11.black:article_detail_pic.tpl.html">黑色非主流风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_10.pink:article_detail.tpl.html">粉红靓丽风格:详细内容页</option>
<option value="zh-gb2312.tpl_10.pink:article_detail_pic.tpl.html">粉红靓丽风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_6.red:article_detail.tpl.html">五彩明朗风格:详细内容页</option>
<option value="zh-gb2312.tpl_6.red:article_detail_pic.tpl.html">五彩明朗风格:视频flash图片页面</option>
<option value="en-iso-8859-1.tpl_1">English template: Pink</option>
<option value="en-iso-8859-1.tpl_2">English template: Blue</option>
<option value="en-iso-8859-1.tpl_3">English template: Red</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>商品属性<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="goods_status">
<option value="0">非商品,关闭购买功能</option>
<option value="5">有货</option>
<option value="6">热销</option>
<option value="7">促销</option>
<option value="3">缺货</option>
<option value="4">暂停</option>
</select> 市场价格: <input size="6" name="market_price" type="text" value="0" /> 会员价格: <input size="6" name="member_price" type="text" value="0" /> <A HREF="shopping_cfg.php" target=_blank>配置</A></td>
</tr>
<tr>
<td align="right" valign="top"><b>返回页面<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="return_page">
<option value="list" selected="selected">文章列表</option>
<option value="add">添加文章</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>自定义偏好<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input name="save_preference" type="checkbox" value="1" id="qf_26db7b" /><label for="qf_26db7b">保存偏好</label></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章点击<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input name="hits" type="text" value="1" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>增加字段<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> 如果您觉得内容字段不够用,<A HREF="cfg_custom_field.php?mod=add&db_table_name=article_base" target=_blank>请点击这里,添加自定义字段</A></td>
</tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> <divstyle="display:block;"> </div></td>
</tr>
<tr>
<td align="right" valign="top"><b>高级</b></td>
<td valign="top" align="left"> <A HREF="#article_keyword" onclick="hbcmsShowTr('form_article');" name=advance_link>显示高级属性</A></td>
</tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> </td>
</tr>
<tr>
<td align="right" valign="top"><b>帮助</b></td>
<td valign="top" align="left"> <A HREF="http://www.hbcms.com/hbcms/php/search.php?page_name=article_add.php&anchor=" target=_blank><IMG SRC="../image/icon/help1.gif" WIDTH="13" HEIGHT="13" BORDER="0" align=absmiddle>点击这里查看操作指南</A></td>
</tr><tr><td colspan="2"> </td></tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> <input name="btnSubmit" value="添加文章" type="submit" />     <input name="btnReset" value="重置" type="reset" /></td>
</tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> </td>
</tr>
<tr>
<td></td>
<td align="left" valign="top"><font color=red>*</font> 表示该字段必须填写</td>
</tr>
</table>
</div>
</form> <BR> <BR>
</CENTER></TD>
</TR>
</TABLE>
<script>hbcmsShowTr("form_article");</script><script type="text/javascript" src="/./script/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
myInstanceName = "body";
delay_sec = "0";
function load_fck_editor(InstanceName) {
var oFCKeditor = new FCKeditor(InstanceName) ;
oFCKeditor.BasePath = "/./script/FCKeditor/" ;
oFCKeditor.Width = "680";
oFCKeditor.Height = "400";
/*
oFCKeditor.DefaultLanguage = "zh-cn";
oFCKeditor.TabSpaces = 1;
*/
oFCKeditor.DisplayErrors = false ;
oFCKeditor.ToolbarSet = "myDefault";
oFCKeditor.ReplaceTextarea();
// 检查是否包含script等代码
if ( document.getElementById(InstanceName) != null && document.getElementById(InstanceName).value ) {
var content = document.getElementById(InstanceName).value.toLowerCase();
if ( content.indexOf("<\/script>") != -1 ) {
setTimeout("switch_fck_mode('"+InstanceName+"')",2000);
}
}
}
function get_fck_editor_value(InstanceName) {
//获取FCKeditor的实例
var my_editor = FCKeditorAPI.GetInstance(InstanceName);
//获取FCKeditor的编辑窗口中的内容
var s = my_editor.GetXHTML(true);
return s;
}
function switch_fck_mode(InstanceName) {
var my_editor = FCKeditorAPI.GetInstance(InstanceName);
if (my_editor && my_editor.EditorDocument ) {
my_editor.SwitchEditMode();
}
}
if ( delay_sec > 100) {
setTimeout("load_fck_editor('"+myInstanceName+"')",delay_sec);
}
</script>
<script language=javascript>
<!--
function getMyColor(t) {
var old_color = ( t.value.indexOf('#') == 0 ) ? '?'+t.value.substr(1) : '?' + t.value;
var color = showModalDialog("/./script/select_color.html"+old_color+"", "", "dialogWidth:18.5em; dialogHeight:17.5em; status:0");
if (color != null) {
t.value = color;
t.style.color = color;
}else {
t.focus();
}
return true;
}
function insert2CustomField(file_url, file_title, file_desc, file_id) {
document.getElementById(file_id).value = file_url;
document.getElementById(file_id).focus();
}
function insertPic2icon(img_url) {
document.getElementById("file_0").value = img_url.replace('/big/','/small/');
show_pic_preview(document.getElementById("file_0"),0);
document.getElementById("file_0").focus();
}
function insertPic2article(file_url, file_title, file_desc) {
var uf = document.getElementById("upload_file");
if ( uf.innerHTML == "" ) {
uf.innerHTML = "<br>";
}
var img_url = '';
var img_html = '';
var file_url_ary = file_url.split('|');
var file_title_ary = file_title.split('|');
var file_desc_ary = file_desc.split('|');
for(i=0;i<file_url_ary.length; i++ ) {
img_url = file_url_ary;
img_html = '';
if ( file_title_ary != '' ) {
img_html += "<BR><B>"+file_title_ary+"</B>";
}
if ( file_desc_ary != '' ) {
img_html += "<BR>"+file_desc_ary+"";
}
if ( img_url.indexOf('.gif') != -1 || img_url.indexOf('.png') != -1 || img_url.indexOf('.jpg') != -1 || img_url.indexOf('.jpeg') != -1 ) {
uf.innerHTML += "<A HREF=# onclick=\"return fck_insert_html('body', '<img src="+img_url+">');\"><img src='"+img_url+"' width=30 height=30 border=1></A> ";
img_html += "<BR><img src='"+img_url+"' alt='"+file_title_ary+"' border=0 /> <BR>";
} else if ( img_url.indexOf('.swf') != -1 ) {
uf.innerHTML += "<A HREF=# onclick=\"return fck_insert_html('body', '<embed src="+img_url+" type=application/x-shockwave-flash scale=ShowAll play=true loop=true menu=true wmode=Window quality=1></embed>');\">Flash</A> ";
img_html += "<BR><embed src="+img_url+" type=application/x-shockwave-flash scale=ShowAll play=true loop=true menu=true wmode=Window quality=1></embed> <BR>";
} else {
f_basename = img_url.match("[^/]*$");
basename = f_basename.split('\?');
extension = basename.split('.');
uf.innerHTML += "<A HREF=# onclick=\"return fck_insert_html('body', ' 下载: <a href="+img_url+" target=_blank>"+extension+" 文件</a> ');\">"+extension+"</A> ";
img_html += "<BR>下载: <a href='"+img_url+"' target=_blank>"+extension+" 文件</a> <BR>";
}
fck_insert_html("body", img_html);
}
}
function insertArticleLinks(file_url, file_title, file_desc) {
var img_url = '';
var img_html = '';
var file_url_ary = file_url.split('|');
var file_title_ary = file_title.split('|');
var file_desc_ary = file_desc.split('|');
for(i=0;i<file_url_ary.length; i++ ) {
img_url = file_url_ary;
img_html = '';
img_html += "<a href='"+img_url+"'>"+file_title_ary+"<BR>";
if ( file_desc_ary != '' ) {
img_html += ""+file_desc_ary+"<BR>";
}
fck_insert_html("body", img_html);
}
}
function insertCCLinks(cc_url) {
cc_url = cc_url.replace('','');
cc_url = cc_url.replace('','');
cc_html = '<center>视频欣赏:<br><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="438" height="387" style="border:1px gray solid;"><param name="movie" value="http://union.bokecc.com/'+cc_url+'"><param name="allowFullScreen" value="true" /><param name="quality" value="high"><embed src="http://union.bokecc.com/'+cc_url+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="438" height="387" allowFullscreen=true ></embed></object></center>';
fck_insert_html("body", cc_html);
var uf = document.getElementById("upload_file");
if ( uf.innerHTML == "" ) {
uf.innerHTML = "<br>";
}
if( cc_url.indexOf('hbcms_video_link') == -1 ){
uf.innerHTML += '<A HREF=# onclick="return insertCCLinks(\''+cc_url+'&hbcms_video_link=1\');">Video</A> ';
}
// 关闭cc上传界面
if(tools){
tools.destory();
}
return false;
}
function fck_insert_html(InstanceName, html) {
var my_editor = FCKeditorAPI.GetInstance(InstanceName);
my_editor.InsertHtml(html);
return false;
}
//setTimeout("insertCCLinks('flash/player.swf?videoID=64624_773100&autoStart=false&share=true')",5000);
// ############ 上传图片处理函数,来源于 www.izy.cn ###########
function formatSize(size) {
if (size < 0x100000) {// < 1 MB
return Math.round(size / 0x400)+" KB";
} else { // > 1 MB
return (Math.round((size / 0x100000)*10)/10)+" MB";
}
}
function check_pic(t,seq) {
max_size = 20480; // byte
o_w = t.width;
o_h = t.height;
del_checkbox = '';
if ( t.width>100 ) {
t.width=100;
} else if ( t.height>100 ) {
t.height=100;
}
document.getElementById('pic_preview_text_'+seq).innerHTML =" Width: "+o_w+"pxHeight:"+o_h+"px Size: "+formatSize(parseInt(t.fileSize))+"";
if ( parseInt(t.fileSize) > max_size && seq>0) {
document.getElementById('pic_preview_text_'+seq).innerHTML += "<br><FONTCOLOR=red>文件不能超过 "+formatSize(max_size)+"</FONT>";
return false;
}
}
function show_pic_preview(t,seq) {
pic_url = t.value;
pic_url2 = t.value.toLowerCase();
if ( pic_url2 == '' ) {
return false;
}
if ( pic_url2.indexOf('.jp') == -1 && pic_url2.indexOf('.png') == -1 && pic_url2.indexOf('.gif') == -1) {
alert('jpg gif png 文件只能');
resetThisPic(seq,0);
return false;
}
document.getElementById('pic_preview_'+seq).innerHTML = "<table><tr><td><a href='"+pic_url+"' target=_blank><img src='"+pic_url+"' border=0 alt='Click here to view original image!' onload='check_pic(this,"+seq+");'></a></td><td id=pic_preview_text_"+seq+"></td></tr></table>";
}
function resetThisPic(seq,file_size) {
//alert(document.getElementById('file_'+seq+''));
}
function setFocus() {
document.form_article.title.focus();
}
setFocus();
document.body.onload = setFocus;
//-->
</script>
<script>
if ( document.form_article.desc_auto.checked ) {
document.form_article.desc.value = "自动填写";
document.form_article.desc.disabled = true;
}
</script><P><div id="powered_str">
<p><CENTER>如果您对本页功能有任何建议或意见,<A HREF='http://bbs.hbcms.net/'target=_blank>请点击这里</a> 反馈给HBcms系统的开发小组! <a href="help_new_webmaster.php#help_1">系统使用帮助</a> </CENTER> <p><CENTER><font face="Arial" color="green" style="text-decoration:none;"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT><A HREF="http://www.hbcms.com/" target=_blank><font color="green" style="text-decoration:none;">CMS</font></A></font> 是一个可免费使用的<A HREF="http://www.hbcms.com/" target=_blank style="color:black;text-decoration:none;">网站内容管理系统</A>,您甚至可以用她来做商业网站。点这里查看详细的<A HREF="http://www.hbcms.com/main/copyright.html" target=_blank>版权说明</A></CENTER></div>
<CENTER><div id="powered_by"><fontstyle="font-family: Arial;clear: both;">Powered by <A HREF="http://www.hbcms.com/" target=_blank><font face="Arial" color="green" style="text-decoration:none;"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT>CMS</font></A> © 2006-2010 <A HREF="http://www.hbw.cn/" target=_blank style="text-decoration:none;"><font face="Arial"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT></font></A>, Inc.</font></div></CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!--
bottom_ad();
//-->
</SCRIPT></body> </html>
请懂得得高手不吝赐教 你采集规则都有问题,别说发布了,看教程:
采集实战教程一 http://bbs.locoy.com/spider-17468-1-1.html
采集实战教程二 http://bbs.locoy.com/spider-17815-1-1.html
模块制作教程 http://bbs.locoy.com/spider-17142-1-1.html 哥,我就是看您的教程的······
现在倒是可以发布了,不过·····成功率····3千多个网址,只发布了,216个,不知道怎么回事···
页:
[1]