Property StripBoilerplate
StripBoilerplate
Gets or sets whether to strip boilerplate elements such as navigation bars, footers, sidebars, and common advertisement containers from the HTML before chunking.
public bool StripBoilerplate { get; set; }
Property Value
- bool
The default value is
true.
Examples
// Disable boilerplate stripping to index the full HTML page.
var htmlChunker = new HtmlChunking { StripBoilerplate = false };
ragEngine.DefaultIChunking = htmlChunker;