Table of Contents

Class OutputReplacer

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

Does various formatting of the output from pageview object

public class OutputReplacer
Inheritance
OutputReplacer
Inherited Members

Constructors

OutputReplacer()

public OutputReplacer()

Methods

HighlightFiles(string)

Processed an input source in aim to find references(href) to internal files and replace them with an appropriate one.

public static string HighlightFiles(string source)

Parameters

source string

A string representation of input source.

Returns

string

Returns a source with replaced references.

ReplaceNavigationTags(string, PageView)

public static string ReplaceNavigationTags(string content, PageView pageView)

Parameters

content string
pageView PageView

Returns

string

ReplaceUrl(string)

Replace the internal url to be search friendly format if activated.

public static string ReplaceUrl(string internalLink)

Parameters

internalLink string

The internal link.

Returns

string

ReplaceUrls(string)

Replace the urls in the passed html to be search friendly format if activated.

public static string ReplaceUrls(string html)

Parameters

html string

The HTML.

Returns

string
To top