At this point, the paging content matches are completed.
article content matching, pagination content matching are finished, finally only "filter", including the paging region filtering and article content filtering. According to my feeling, the above two rules are good to write, as long as find all the links in the "uniqueness" code will be done, but the filter rules are to say also Hugh, endless mysteries of Tao. Haha, that's how it feels. Especially as my general novice, on the "regular" this thing such as pro-heavenly book, looking for a few regular aspects of the software it is still feel that do not know how to do, just like painting, suit, according to the gourd painting scoop to grope.
Okay, here's the gossip. Also tired, listen to the "Hotel California" bar, in this: California Hotel _ Eagle 94 site to relax.
You saw it. Filter rules how to write, anyway, I can not see out, no way, novice is a novice ah. Whatever it is, write a rule in accordance with the page-filtering rules of the original paradigm try to see the results:
Copy Code code as follows:
{dede:trim}<td align= ' center ' height= ' > (. *) page time {/dede:trim}
Collect:
' this.width= '); "border=0>
Paging success, but more waste code, you have to change!
Look at the extra code features, as if the filter range is not enough, many of the following content to be filtered out. Well, put the filter area back, move directly to the alphabet section (in fact, I changed the rules of the time, changed several times, here is a place, do not delay the time of friends):
' this.width= '); "border=0>
Write a complete paging filter rule:
Copy Code code as follows:
{dede:trim}<td align= ' center ' height= ' > (. *) </option></select></td>{/dede:trim}
Then take a look at the results:
' this.width= '); "border=0>
Okay, paging is successful, no extra code. At this point, all the major pieces of code are complete.
The result here:
There are pagination: the CPC cadres work style reorganization analysis material
No paging: Ministry of Arts work plan
Write a completed site rule:
Copy Code code as follows:
{!--node basic information-}
{Dede:item Name= ' Tianshui _ Work plan _1 page '
Imgurl= '/upimg ' imgdir= '. /upimg ' language= ' gb2312 ' typeid= ' 1 ' macthtype= ' string '}
{/dede:item}
{!--Acquisition list fetch rule-}
{dede:list source= ' var ' sourcetype= ' list '
varstart= ' varend= '}
{dede:url value= ' http://www.tiansou.net/Html/Y_CYFW/R_Gzzj/F_Gzjh/index.html '} {/dede:url}
{Dede:need} Gzjh/2007-{/dede:need}
{Dede:cannot} Gzjh/2007-1{/dede:cannot}
{Dede:linkarea} [var: area] {/dede:linkarea}
{/dede:list}
{!--Web page content acquisition rule-}
{Dede:art}
{dede:sppage sptype= ' full '}<td align= ' center ' height= ' > Home prev [var: Paging area] page {/dede:sppage}
{dede:note field= ' dede_archives.title ' value= ' [var: content] ' comment= ' article title '
isunit= ' isdown= '}
{dede:match}<title>[var: Content]--Tianshui search </title>{/dede:match}
{Dede:function} {/dede:function}
{/dede:note}
{dede:note field= ' dede_archives.sortrank ' value= ' [var: content] ' comment= ' sort level '
isunit= ' isdown= '}
{Dede:match} {/dede:match}
{dede:function} @me = time (); {/dede:function}
{/dede:note}
{dede:note field= ' dede_archives.writer ' value= ' [var: content] ' comment= ' article author '
isunit= ' isdown= '}
{Dede:match} {/dede:match}
{Dede:function} {/dede:function}
{/dede:note}
{dede:note field= ' dede_archives.litpic ' value= ' [var: content] ' comment= ' thumbnail '
isunit= ' isdown= '}
{Dede:match} {/dede:match}
{dede:function} @me = @litpic; {/dede:function}
{/dede:note}
{dede:note field= ' dede_archives.pubdate ' value= ' [var: content] ' comment= ' release time '
isunit= ' isdown= '}
{Dede:match} {/dede:match}
{dede:function}if (@me!= "") @me = Getmktime (@me);
else @me = time (); {/dede:function}
{/dede:note}
{dede:note field= ' dede_archives.senddate ' value= ' [var: content] ' comment= ' input time '
isunit= ' isdown= '}
{Dede:match} {/dede:match}
{dede:function} @me = time (); {/dede:function}
{/dede:note}
{dede:note field= ' dede_addonarticle.body ' value= ' [var: content] ' comment= ' article content '
isunit= ' 1 ' isdown= ' 1 '}
{dede:match}</tr>
<TR>
<TD height= "8" ></TD>
</TR>
<TR>
<TD valign= "Top" Class=connet><p>[var: Content]</p>
</TD>
</tr>{/dede:match}
{dede:trim}<td align= ' center ' height= ' > (. *) </option></select></td>{/dede:trim}
{Dede:trim}
{/dede:trim}
{Dede:trim}<param ([^>]*) >{/dede:trim}
{dede:trim}<embed ([^>]*) > ([^>]*) </embed>{/dede:trim}
{dede:trim}<embed ([^>]*) >{/dede:trim}
{Dede:trim}</embed>{/dede:trim}
{Dede:trim}<object ([^>]*) > ([^>]*) </object>{/dede:trim}
{Dede:trim}<object ([^>]*) >{/dede:trim}
{Dede:trim}</object>{/dede:trim}
{Dede:trim}<object ([^>]*) > ([^>]*) </object>{/dede:trim}
{Dede:trim}<object ([^>]*) >{/dede:trim}
{Dede:trim}</object>{/dede:trim}
{Dede:trim}<iframe ([^>]*) > ([^>]*) </iframe>{/dede:trim}
{Dede:trim}<iframe ([^>]*) >{/dede:trim}
{Dede:trim}</iframe>{/dede:trim}
{Dede:trim}<iframe ([^>]*) > ([^>]*) </iframe>{/dede:trim}
{Dede:trim}<iframe ([^>]*) >{/dede:trim}
{Dede:trim}</iframe>{/dede:trim}
{Dede:trim}<font ([^>]*) > ([^<]*) </font>{/dede:trim}
{Dede:trim}<font ([^>]*) >{/dede:trim}
{Dede:trim}</font>{/dede:trim}
{dede:trim}]*) >{/dede:trim}
{Dede:trim}<a ([^>]*) > ([^<]*) </a>{/dede:trim}
{Dede:trim}<a ([^>]*) >{/dede:trim}
{Dede:trim}</a>{/dede:trim}
{DEDE:TRIM}<TD ([^>]*) > ([^>]*) </td>{/dede:trim}
{DEDE:TRIM}<TD ([^>]*) >{/dede:trim}
{Dede:trim}</td>{/dede:trim}
{DEDE:TRIM}<TR ([^>]*) > ([^>]*) </tr>{/dede:trim}
{DEDE:TRIM}<TR ([^>]*) >{/dede:trim}
{Dede:trim}</tr>{/dede:trim}
{Dede:trim}<tbody ([^>]*) > ([^>]*) </tbody>{/dede:trim}
{Dede:trim}<tbody>{/dede:trim}
{Dede:trim}</tbody>{/dede:trim}
{dede:trim}<table ([^>]*) > ([^>]*) </table>{/dede:trim}
{dede:trim}<table ([^>]*) >{/dede:trim}
{Dede:trim}</table>{/dede:trim}
{Dede:trim} {/dede:trim}
{Dede:function} {/dede:function}
{/dede:note}
{dede:note field= ' dede_archives.source ' value= ' [var: content] ' comment= ' article source '
isunit= ' isdown= '}
{Dede:match} {/dede:match}
{dede:function} @me = ' internet ' {/dede:function}
{/dede:note}
{/dede:art}