|
楼主 |
发表于 2009-5-14 18:11:18
|
显示全部楼层
本帖最后由 lovebaidu 于 2009-5-14 18:13 编辑
<?xml version="1.0" encoding="utf-8" ?>
- <!-- LocoySpider配置文件xml读写方法[2005-11-20] by:火车头 www.locoy.com
-->
- <!-- Created by LocoySpider.exe! 2009-01-01 17:38:52
-->
- <config>
- <站点>
<siteurl>http://www.chinamil.com.cn/<;/siteurl>
<description />
<spiderstep>1</spiderstep>
<sourceencode>GB2312</sourceencode>
<cookie />
<dividepagestyle>0</dividepagestyle>
<dividepagestart><br><table align=right class=enppage></dividepagestart>
<dividepageend><!--/enpcontent--></dividepageend>
<usemanualstyle>False</usemanualstyle>
<manualpagestyle />
<manualpageurl />
<dividejoincode />
<labelcyclestyle>0</labelcyclestyle>
<matchdeal>1</matchdeal>
<testpageurl>http://www.chinamil.com.cn/site1/xwpdxw/2009-01/01/content_1605054.htm<;/testpageurl>
<bak1 />
</站点>
- <标签>
<标签0 labelname="标题" useregex="False" regexexp="" startstr="<title>" endstr="</title>" belongpage="默认页" regextrim="" regexreplace="<br>→--" htmltrim="" downimg="False" downswf="False" autofilenames="True" downotherfile="False" filenamemust="" spiderdatastyle="0" manuladatastyle="0" manualstring="" manualtime="0" manualtimestr="yyyy年MM月dd日 hh时mm分ss秒" radomstringlib="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" radomstringlength="8" radomnumstart="1" radomnumend="1000" splitlabel="标题" splitsep="," splitnum="5" summarynum="1000" summarylabel="内容" bak1="" pinyinlabel="标题" pinyinsep="-" useautotranslate="False" labelincicle="False" regexcombine="" incrementstart="1" incrementradomnumstart="1" incrementradomnumend="1" usegbktobig5="False" usebig5togbk="False" labelcontentmust="" labelcontentforbid="" fillrelativeurl="False" htmlexclude="True" usemarstext="False" labelnotnull="False" labelinpage="False" />
<标签1 labelname="内容" useregex="False" regexexp="" startstr="<!--enpcontent-->" endstr="<!--/enpcontent-->" belongpage="默认页" regextrim="第(*)页○try(*){}" regexreplace="../../../images→http://www.chinamil.com.cn/site1/images" htmltrim="0,1,2,3,5,6,7,8,10,11,13,14,15,16,17,18,19,20,21,22" downimg="False" downswf="False" autofilenames="True" downotherfile="False" filenamemust="" spiderdatastyle="0" manuladatastyle="0" manualstring="" manualtime="0" manualtimestr="yyyy年MM月dd日 hh时mm分ss秒" radomstringlib="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" radomstringlength="8" radomnumstart="1" radomnumend="1000" splitlabel="标题" splitsep="," splitnum="5" summarynum="1000" summarylabel="内容" bak1="" pinyinlabel="标题" pinyinsep="-" useautotranslate="False" labelincicle="False" regexcombine="" incrementstart="1" incrementradomnumstart="1" incrementradomnumend="1" usegbktobig5="False" usebig5togbk="False" labelcontentmust="" labelcontentforbid="" fillrelativeurl="True" htmlexclude="True" usemarstext="False" labelnotnull="False" labelinpage="True" />
<标签2 labelname="时间" useregex="False" regexexp="" startstr="" endstr="" belongpage="默认页" regextrim="" regexreplace="" htmltrim="" downimg="False" downswf="False" autofilenames="True" downotherfile="False" filenamemust="" spiderdatastyle="1" manuladatastyle="1" manualstring="" manualtime="0" manualtimestr="yyyy年MM月dd日 hh时mm分ss秒" radomstringlib="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" radomstringlength="8" radomnumstart="1" radomnumend="1000" splitlabel="标题" splitsep="," splitnum="5" summarynum="1000" summarylabel="内容" bak1="" pinyinlabel="标题" pinyinsep="-" useautotranslate="False" labelincicle="False" regexcombine="" incrementstart="1" incrementradomnumstart="1" incrementradomnumend="1" usegbktobig5="False" usebig5togbk="False" labelcontentmust="" labelcontentforbid="" fillrelativeurl="False" htmlexclude="True" usemarstext="False" labelnotnull="False" labelinpage="False" />
</标签>
</config> 请看上面的代码就可以看出来的吧.谢谢管理关注. |
|