Exemplo n.º 1
0
 public static BaseRule BuildRuleSimple()
 {
     BeginEndRule rule = new BeginEndRule();
     rule.BeginMark = @"<div id=""jqlast_maincontent"" class=""jqlast_main_title"">
     <h1>
     ";
     rule.EndMark = @"</h1>";
     return rule;
 }
Exemplo n.º 2
0
 public static BaseRule BuildRuleExcludeContent()
 {
     BeginEndRule rule = new BeginEndRule();
     rule.BeginMark = "<div>";
     rule.EndMark = "</div>";
     rule.IncludeBeginMark = rule.IncludeEndMark = true;
     rule.IsExcludeContent = true;
     return rule;
 }