<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="spidertaskedit.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.spidertaskedit" ValidateRequest="false" %>
<!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=utf-8" />
<title>采集管理-搜易站内搜索引擎系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js" type="text/javascript"></script>
<script type="text/javascript" src="editor/xheditor/jquery.js"></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span> </div>
<br />
<ul id="sdcms_sub_title">
	<li class="sub"><a>采集任务</a></li>
</ul>
<div id="sdcms_right_b">
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" id="tagContent0">
   <tr>
      <td width="100" class="tdbg" colspan="2"><strong>基本设置：</strong></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">所属分组：</td>
      <td  class="tdbg">
       <asp:DropDownList runat="server" ID="ddlSpiderGroups" />
      </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">任务名称：</td>
      <td  class="tdbg"><asp:TextBox runat="server" ID="txtTaskName" CssClass="input" Width="370px" /></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">列表URL：</td>
      <td  class="tdbg">
      <asp:TextBox runat="server" ID="txtListUrl" CssClass="input" Width="370px" /> 可以用{pno}表示页码 <br />
      开始页码：<asp:TextBox runat="server" ID="txtStartPageNo" CssClass="input" Width="120px" />   结束页码：<asp:TextBox runat="server" ID="txtEndPageNo" CssClass="input" Width="120px" />
      </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">网站编码：</td>
      <td  class="tdbg"><asp:TextBox runat="server" ID="txtEncodingName" CssClass="input" Width="370px" /></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">列表开始标签：</td>
      <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtStartTag" CssClass="input" Width="370px" Height="50px" /></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">列表结束标签：</td>
      <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtCloseTag" CssClass="input" Width="370px" Height="50px" /></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">地址必须包含：</td>
      <td  class="tdbg"><asp:TextBox runat="server" ID="txtUrlMustContainStr" CssClass="input" Width="370px" /></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg">地址不能包含：</td>
      <td  class="tdbg"><asp:TextBox runat="server" ID="txtUrlNotContainStr" CssClass="input" Width="370px" /></td>
   </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" id="Table1">
   <tr>
      <td width="100" class="tdbg" colspan="4"><strong>标题设置：</strong></td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">开始标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtTitleStartTag" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">结束标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtTitleCloseTag" CssClass="input" Width="270px" Height="80px" />
     </td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">标题过滤，将字符串：</td>
     <td  class="tdbg">
     <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtTitleReplaceOldStr" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">替 换 为：</td>
     <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtTitleReplaceNewStr" CssClass="input" Width="270px" Height="80px" /></td>
   </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" id="Table2">
   <tr>
      <td width="100" class="tdbg" colspan="4"><strong>内容设置：</strong></td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">开始标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtContentStartTag" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">结束标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtContentCloseTag" CssClass="input" Width="270px" Height="80px" />
     </td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">内容过滤，将字符串：</td>
     <td  class="tdbg">
     <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtContentReplaceOldStr" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">替 换 为：</td>
     <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtContentReplaceNewStr" CssClass="input" Width="270px" Height="80px" /></td>
   </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" id="Table3">
   <tr>
      <td width="100" class="tdbg" colspan="4"><strong>时间设置：</strong></td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">开始标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtPublishDateStartTag" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">结束标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtPublishDateCloseTag" CssClass="input" Width="270px" Height="80px" />
     </td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">时间过滤，将字符串：</td>
     <td  class="tdbg">
     <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtPublishDateReplaceOldStr" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">替 换 为：</td>
     <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtPublishDateReplaceNewStr" CssClass="input" Width="270px" Height="80px" /></td>
   </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" id="Table4">
   <tr>
      <td width="100" class="tdbg" colspan="4"><strong>作者设置：</strong></td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">开始标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtAuthorStartTag" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">结束标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtAuthorCloseTag" CssClass="input" Width="270px" Height="80px" />
     </td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">作者过滤，将字符串：</td>
     <td  class="tdbg">
       <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtAuthorReplaceOldStr" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">替 换 为：</td>
     <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtAuthorReplaceNewStr" CssClass="input" Width="270px" Height="80px" /></td>
   </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" id="Table5">
   <tr>
      <td width="100" class="tdbg" colspan="4"><strong>来源设置：</strong></td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">开始标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtCopyfromStartTag" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">结束标记：</td>
     <td  class="tdbg">
        <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtCopyfromCloseTag" CssClass="input" Width="270px" Height="80px" />
     </td>
   </tr>
   <tr>
     <td width="100" align="center" class="tdbg">来源过滤，将字符串：</td>
     <td  class="tdbg">
       <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtCopyfromReplaceOldStr" CssClass="input" Width="270px" Height="80px" />
     </td>
     <td width="100" align="center" class="tdbg">替 换 为：</td>
     <td  class="tdbg"><asp:TextBox runat="server" TextMode="MultiLine" Rows="5" ID="txtCopyfromReplaceNewStr" CssClass="input" Width="270px" Height="80px" /></td>
   </tr>
</table>
<table border="0" align="center" cellpadding="3" cellspacing="1" class="table_b">
  <tr>
     <td colspan="9" class="tdbg" style="height:30px;" valign="bottom">
       <asp:Button CssClass="bnt" ID="btnSave" runat="server" Text="保 存" onclick="btnSave_Click" />
     </td>
  </tr>
</table>
</div>
</form>
</body>
</html>
