Text clean-up
Small processors that tidy up or reshape the text before it is saved.
Strip Tags
Removes HTML tags and keeps their text.
- Input / output:
html→html. - Strip tags: the tags to remove, such as
a,span,font, or*for all tags. Default*. - Ignore: with
*, the tags to keep, such asp,br,img,a.
Example: Strip tags * and Ignore p,br,img gives clean paragraphs with images and nothing else.
HTML Decoder
Turns HTML entities such as &, " or ' back into normal characters. Use it on titles that show entities.
- Input / output:
title→title.
The Find Regexp and Replace regexp fields have no effect in the current version. Use the Regex Replacer to replace text.
Cut introtext
Splits a long text into an intro text and the rest.
- Input:
html. Output:introtextandfulltext. - Words: the number of words in the intro text. Default 30.
- Finish Sentence: cut at the end of a sentence instead of in the middle.
- Cut in normal way: cut after this many characters instead of words.
- Fix HTML structure: close tags that the cut left open.
Map introtext and fulltext to the article's intro and full text.
Static Value
Adds fixed text or HTML before or after a field.
- Input / output:
html→html. - Value: the text or HTML, such as a notice or a call to action.
- Position: Before or After. Default After.
Combine
Builds one text out of several fields, with your own words and HTML around them.
- Output:
html. - In the editor box, type your text and insert engine fields and processor outputs from the two lists above it. They appear as tags, and are stored as
{[oe] title}.
Example: <p>Posted by {[oe] author} on {[oe] date}</p>{[oe] description}.
Map the result to any adapter field. Combine can only use the outputs of processors placed above it.
HTML to BBCode
Converts HTML to BBCode, for forums such as Kunena.
- Input / output:
html→bbcode.
Also useful
- Regex Replacer: replace or remove anything that matches a pattern.
- Original Source: add a link to the source.
- Keywords Filter: skip items by words.