New collection node: step 2 sets the content field to get the rules
Web page content acquisition rules
1. Matching rules: in matching regional rules, the rules are generally“
Start without repeating HTML
[content]
The end has no duplicate HTML
”(normal match, not regular).
2. Field value: if the specified field does not specify a region matching rule, use this value as the default value.
3. Filtering rules: if there are multiple rules, use them
{dede:trim replace=""}Rule one{/dede:trim}
{dede:trim replace=""}Rule 2{/dede:trim}
...
If you want to replace it with the specified value, in replace=""I'm going to set it up
The preview site:
Regional matching rules for content paging navigation:
All listed paged lists
Up and down pages or incomplete pagination lists
The paging list rule starts:
The end of the:
If the paging list rule is set, you can use the address rule (regular), where {p} is the increment variable, starting at 1 each time, for example:{path}{file}_{p}{ext}
Rule description:{path}
Address + directory
{file}
file
{ext}
File extension
{p}
Pagination list number
The following are fixed collection items:
(The project can be expanded/hidden, and the content summary, keyword, and thumbnail system will be automatically matched with the regular)
Keyword filtering content:
Filter content:
The article title
Match rule:
[content]
Filtering rules:
The authors
Match rule:
Filtering rules:
The article source
Match rule:
Filtering rules:
Release time
Match rule:
Filtering rules:
The following is a collection of model Settings:
GetOne("Select * From `#@__channeltype` where id='$channelid' "); $dtp = new DedeTagParse(); $dtp->SetNameSpace('field','<','>'); $dtp->LoadString($row['fieldset']); foreach($dtp->CTags as $ctag) { //Collect disabled fields $notsend = $ctag->GetAtt('notsend'); if($notsend==1) continue; $fieldtype = $ctag->GetAtt('type'); $tname = $ctag->GetTagName(); $iname = $ctag->GetAtt('itemname'); //Set conversion function if($fieldtype=='img') $functions = "@me=TurnImageTag(@me);"; else if($fieldtype=='softlinks'||$fieldtype=='addon') $functions = "@me=TurnLinkTag(@me);"; else if($fieldtype=='dtime') $functions = "@me=GetMkTime(@me);"; else $functions = ''; //Sets the default value for different types if($ctag->GetAtt('default')!='') { $dfvalue = $ctag->GetAtt('default'); } else if($fieldtype=='int'||$fieldtype=='float'||$fieldtype=='number') { $dfvalue = '0'; } else if($fieldtype=='dtime') { $dfvalue = time(); } else { $dfvalue = ''; } ?>
Field default:
Match rule:
Paged content fields (only single type fields are allowed in the rule)
Download the multimedia resources in the field
Filtering rules:
Customize the processing interface:
The variable of a function or program
@body Original web page @litpic Original web page
@me Represents the current mark value and the final result