[阅读: 405] 2007-09-07 02:23:51
<?xml version="1.0" encoding="UTF-8"?>
<HtmlTemplate CreateDate="2007-6-12 16:22:50" ModifyDate="2007-8-6 15:16:59" Title="" Author="" Homepage="" Encoding="gb2312" Memo="">
<UrlRule>
<Urls>
<UrlFetcher Pattern="/zh_cn/netschool/programme/delphi/3916/.+\.htm" GroupIndex="0" UrlFormat="http://tech.china.com{0}" />
<Url>http://tech.china.com/zh_cn/netschool/programme/delphi/</Url>
</Urls>
</UrlRule>
<Variables>
<Variable Name="Title" VarType="Text" DefaultValue="">
</Variable>
<Variable Name="Keywords" VarType="Text" DefaultValue="Delphi">
</Variable>
<Variable Name="ComeFrom" VarType="Text" DefaultValue="">
</Variable>
<Variable Name="Author" VarType="Text" DefaultValue="">
</Variable>
<Variable Name="CategoryID" VarType="Text" DefaultValue="632706066952996684">
</Variable>
<Variable Name="Content" VarType="Text" DefaultValue="">
</Variable>
</Variables>
<Templates>
<Template Pattern="<td width="600">((?:.|\n)*?)</td></tr>" StartMatch="0" EndMatch="0" Commit="False" Clear="False" ParentMatchIndex="0" ParentGroupIndex="1">
<Template Pattern="<font size=4><b><br>((?:.|\n)*?)</b></span></font>" StartMatch="0" EndMatch="0" Commit="False" Clear="False" ParentMatchIndex="0" ParentGroupIndex="1">
<Assignment Variable="Title" MatchIndex="0" GroupIndex="1" />
</Template>
<Template Pattern="<table border=0 width=100%><tr><td>((?:.|\n)*)</td></tr>" StartMatch="0" EndMatch="0" Commit="False" Clear="False" ParentMatchIndex="0" ParentGroupIndex="0">
<Template Pattern="<span class=large> <font color="#000000">((?:.|\n)*)<br><br>" StartMatch="0" EndMatch="0" Commit="False" Clear="False" ParentMatchIndex="0" ParentGroupIndex="1">
<Assignment Variable="Content" MatchIndex="0" GroupIndex="1" />
</Template>
<Template Pattern="(?:.*)<br> (.*)$" StartMatch="0" EndMatch="0" Commit="False" Clear="False" ParentMatchIndex="0" ParentGroupIndex="1">
<Template Pattern="([^ ]+)" StartMatch="0" EndMatch="0" Commit="True" Clear="True" ParentMatchIndex="0" ParentGroupIndex="1">
<Assignment Variable="ComeFrom" MatchIndex="0" GroupIndex="1" />
<Assignment Variable="Author" MatchIndex="1" GroupIndex="1" />
</Template>
</Template>
</Template>
</Template>
<Repeat UrlPattern="<a.+href="(.*)".*TITLE="到后一页"" GroupIndex="1" />
<Nested UrlPattern="<a style="text-decoration: none;" href="([^"]*?)" TITLE="到后一页">" GroupIndex="1" />
<Template Pattern="<td colspan="2" width="600" align="center" valign="top">((?:.|\n)*?)</td></tr> " ParentMatchIndex="0" ParentGroupIndex="0" StartMatch="0" EndMatch="0">
<Template Pattern="<font size=4><B>((?:.|\n)*?)</B></font>" ParentMatchIndex="0" ParentGroupIndex="0" StartMatch="0" EndMatch="0">
<Assignment Variable="Title" MatchIndex="0" GroupIndex="1" />
</Template>
<Template Pattern="<table width="100%" border="0">((?:.|\n)*?)</span></p>" ParentMatchIndex="0" ParentGroupIndex="0" StartMatch="0" EndMatch="0">
<Template Pattern="<p align="left"><span class=large><font color=black id="zoom">((?:.|\n)*?)$" ParentMatchIndex="0" ParentGroupIndex="1" StartMatch="0" EndMatch="0">
<Assignment Variable="Content" MatchIndex="0" GroupIndex="1" />
</Template>
</Template>
</Template>
</Templates>
</HtmlTemplate>