⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editruler.html

📁 功能介绍: 1、支持文章内容分页采集; 2、支持UTF-8转换到GB2312
💻 HTML
字号:
<title>编辑规则</title>
<script>
currObj = "uuuu";
function getActiveText(obj)
{
	currObj = obj;
}

function addTag(code)
{
	addText(code);
}

function addText(ibTag)
{
	var isClose = false;
	var obj_ta = currObj;

	if (obj_ta.isTextEdit)
	{
		obj_ta.focus();
		var sel = document.selection;
		var rng = sel.createRange();
		rng.colapse;

		if((sel.type == "Text" || sel.type == "None") && rng != null)
		{
			rng.text = ibTag;
		}

		obj_ta.focus();

		return isClose;
	}
	else
		return false;
}	
//-->
</script>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-top: 0px;
	margin-bottom: 0px;
	background-image: url(images/bg.gif);
}
.STYLE1 {font-weight: bold}
-->
</style><table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="k_noup">
  <tr>
    <td width="700" height="80" colspan="3"><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="698" height="120">
        <param name="quality" value="high">
        <param name="SRC" value="images/title.swf">
        <embed src="images/title.swf" width="698" height="120" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
    </object></td>
  </tr>
</table>
<table width="700"  border="0" align="center" cellpadding="0" cellspacing="0" background="images/title_bar_middle.jpg" bgcolor="#DEDFDE">
  <tr>
    <td width="12" height="28"><img src="images/title_bar_left.jpg" width="12" height="28"></td>
    <td width="133" background="images/title_bar_middle.jpg" bgcolor="#FFFFFF"><div align="center"><a href="login.php?action=system" class="font1">首 页</a></div></td>
    <td width="7"><img src="images/title_bar_grid.jpg" width="3" height="28"></td>
    <td width="133" background="images/title_bar_middle.jpg" bgcolor="#FFFFFF"><div align="center"><a href="showweb.php" class="font1">站点列表</a></div></td>
    <td width="3"><img src="images/title_bar_grid.jpg" width="3" height="28"></td>
    <td width="133"><div align="center"><a href="category.php" class="font1">添加站点</a></div></td>
    <td width="3"><img src="images/title_bar_grid.jpg" width="3" height="28"></td>
    <td width="133"><div align="center"><a href="help.php" class="font1">使用帮助</a></div></td>
    <td width="3"><img src="images/title_bar_grid.jpg" width="3" height="28"></td>
    <td width="133"><div align="center"><a href="admin.php?action=login_out" class="font1">退出系统</a></div></td>
    <td width="12"><img src="images/title_bar_right.jpg" width="12" height="28"></td>
  </tr>
</table>
<form action="cedit.php?action=setEdit" method="post" name="form1" metdod="post">
  <table width="700" height="1000" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#615E81" class="k_no_-19">
    <tr bgcolor="#FCFCFC">
      <td height="8" colspan="2" align="center" scope="row"></td>
    </tr>
    <tr>
      <td height="25" colspan="2" align="center" background="images/title_bar_middle.jpg" scope="row"><span class="font1">文章分类</span></td>
    </tr>
    <tr>
      <td width="79" height="20" align="center" bgcolor="#EBEBEB" class="font2" scope="row">站点</td>
      <td width="612" height="20" bgcolor="#FCFCFC"> <span class="font2">{cname}</span>      <input name="cid" type="hidden" id="cid" value="{cid}"></td>
    </tr>
    <tr>
      <td height="25" colspan="2" align="center" background="images/title_bar_middle.jpg" scope="row"><span class="font1">文章列表</span></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#EBEBEB" class="font2" scope="row">URL</td>
      <td bgcolor="#FCFCFC"> <span class="font2">一条特殊的链接</span>        <input name="out_url_only" type="text" class="k_all-font" id="out_url_only" value="{outer_url_only}" size="44">
        <br>
      <br>
       <span class="font2">多条特殊的链接</span>      <textarea name="out_url_many" cols="42" rows="5" class="k_all-font" id="out_url_many">{outer_url_many}</textarea>
      <br>
      <br>
       <span class="font2">有规律的链接</span>  
      <input name="out_url" type="text" class="k_all-font" id="out_url" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)" value="{outer_url}" size="44">
      <br>
      <br>
      <span class="font2">参数从</span>      <input name="out_low" type="text" class="k_all-font" id="out_low2" value="{out_low}" size="2">
      <span class="font2">到</span>      <input name="out_upp" type="text" class="font2" id="out_upp2" value="{out_upp}" size="2"> <span class="font2">可用标签:<FONT style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong></strong></FONT></span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT> </td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">链接</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><font class="font2" style="CURSOR: hand" onclick="addTag('[link]')" alt="插入[连接]标签"><strong>[链接]</strong></font> <font class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></font> <font class="font2" style="CURSOR: hand" onclick="addTag('[title]')" alt="插入[标题]标签"><strong>[标题]</strong></font></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> 
          <textarea name="link" cols="60" rows="5" class="k_all-font" id="link" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{link}</textarea></td>
    </tr>
	<tr align="center">
      <td height="25" colspan="2" background="images/title_bar_middle.jpg" scope="row"><span class="font1">文章内容</span></td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">标题</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[title]')" alt="插入[标题]标签"><strong>[标题]</strong></font> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="title" cols="60" rows="5" class="k_all-font" id="textarea" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{title}</textarea></td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">内容</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[content]')" alt="插入[内容]标签"><strong>[内容]</strong></font> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="content" cols="60" rows="5" class="k_all-font" id="textarea2" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{content}</textarea></td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">内容分页</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[innerpage]')" alt="插入[内容分页]标签"><strong>[分页]</strong></font> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[innerrang]')" alt="插入[变量]标签"><strong>[分页区域]</strong></FONT></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="innerpage" cols="60" rows="5" class="k_all-font" id="textarea5" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{inner_page}</textarea></td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">作者</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[author]')" alt="插入[作者]标签"><strong>[作者]</strong></font> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="author" cols="60" rows="5" class="k_all-font" id="textarea3" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{author}</textarea></td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">来源</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[sourse]')" alt="插入[来源]标签"><strong>[来源]</strong></font> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="sourse" cols="60" rows="5" class="k_all-font" id="textarea4" onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{sourse}</textarea></td>
    </tr>
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">过滤</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">可用标签:</span><FONT class="font2" style="CURSOR: hand" onclick="addTag('[filtrate]')" alt="插入[过滤]标签"><strong>[增加过滤]</strong></font> <FONT class="font2" style="CURSOR: hand" onclick="addTag('[variable]')" alt="插入[变量]标签"><strong>[变量]</strong></FONT></td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="filtrate" cols="60" rows="5" class="k_all-font" id="filtrate"  onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{filtrate}</textarea></td>
    </tr>
  
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">COOKIE</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">请按照这样的格式写 cookiename=cookievalue 多个之间用,分开</span>  </td>
    </tr>
    <tr>
      <td height="100" bgcolor="#FCFCFC"> <textarea name="cookie" cols="60" rows="5" class="k_all-font" id="cookie"  onfocus="getActiveText(this)" onchange="getActiveText(this)" onclick="getActiveText(this)">{cookie}</textarea></td>
    </tr>
    
    <tr>
      <td rowspan="2" align="center" bgcolor="#EBEBEB" class="font2" scope="row">REFERER</td>
      <td height="24" bgcolor="#EBEBEB"> <span class="font2">原来调用的地址</span></td>
    </tr>
    <tr>
      <td height="30" bgcolor="#FCFCFC"> <input name="referer" type="text" class="k_all-font" id="referer" value="{referer}" size="62" /></td>
    </tr>
    
    <tr>
      <td height="30" align="center" bgcolor="#EBEBEB" class="font2" scope="row">UTF8</td>
      <td bgcolor="#FCFCFC" class="font2"> 
        <input type="radio" name="isutf8" value="1" {checkyes}/>
      <input name="isutf8" type="radio" value="0" {checkno} />
      不是 采集的目标页是不是UTF-8(UNICODE)的字符集;</td>
    </tr>
    <tr>
      <td height="30" align="center" bgcolor="#EBEBEB" class="font2" scope="row">图片保存目录</td>
      <td bgcolor="#FCFCFC"> <input name="img_dir" type="text" class="k_all-font" id="img_dir" value="{img_dir}" size="62">         
      <span class="font2">系统自动添加目录</span>      <input name="iscreatedir" type="checkbox" id="iscreatedir" value="1"{ischecked}>      </td>
    </tr>
    <tr>
      <td height="30" colspan="2" align="left" bgcolor="#FFFFFF" class="font2" scope="row">图片目录说明:如果使用./ 代表小蜜蜂当前目录,那么采集完成以后,必须把图片目录移动到CMS/BBS对应目录,否则图片不能显示;如果使用/ 代表您域名的WEB根目录,可将保存目录直接设置为CMS/BBS的图片/附件目录,这样采集完成后无需移动图片/falsh文件。</td>
    </tr>
    <tr bgcolor="#EBEBEB" background="./images/title_bar_middle.jpg">
      <td height="32" colspan="2" align="center" scope="row"><input name="Submit" type="submit" class="font2" value="提交">
      <input name="Submit2" type="reset" class="font2" value="重置"></td>
    </tr>
  </table>
<br />
</form>
<br />
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FCFCFC" class="k_noup_-35">
  <tr>
    <td height="80"><div align="center">
      <table width="500" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="9" height="40" align="center" valign="middle" background="images/bg2_l.gif">&nbsp;</td>
          <td width="25" align="center" valign="middle" background="images/bg2_m.gif"><img src="images/arrow_l.gif" alt="1" width="23" height="23" /></td>
          <td align="center" valign="middle" background="images/bg2_m.gif" bgcolor="#FCFCFC"><div align="center" class="font2"><a href="http://bbs.downreg.com/index.php?gid=19" class="font2">BUG反馈、功能建议、使用帮助、商业合作 请访问 BC 官方技术支持论坛</a></div></td>
          <td width="25" align="center" valign="middle" background="images/bg2_m.gif"><img src="images/arrow_r.gif" alt="1" width="23" height="22" /></td>
          <td width="9" align="center" valign="middle" background="images/bg2_r.gif">&nbsp;</td>
        </tr>
      </table>
    </div></td>
  </tr>
</table>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="k_noup_-35">
  <tr>
    <td height="28" background="images/title_bar_middle.jpg">&nbsp;</td>
  </tr>
</table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -