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
stringA 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
Returns
ReplaceUrl(string)
Replace the internal url to be search friendly format if activated.
public static string ReplaceUrl(string internalLink)
Parameters
internalLink
stringThe internal link.
Returns
ReplaceUrls(string)
Replace the urls in the passed html to be search friendly format if activated.
public static string ReplaceUrls(string html)
Parameters
html
stringThe HTML.