Converting HTML Sections

Video Walkthrough

Case

There are times when HTML needs to be converted to embeds or a different HTML structure. For instance, when script tags are not supported in the destination system, or are converted automatically to something non-functional.

Solution

ImpulseSync can solve this using it's manipulators such as Liquid.

This example will show four different, albeit similar, configurations of a liquid manipulator in how a section of HTML can be parsed, converted, and replaced.

Each manipulator's configuration will parse out the required variable values. Then use those variable vaules in combination with static text to create a new HTML section. Then the new section will replace the old section based on the class name.

example 1

From
To

Liquid Template

example 2

From

To

Liquid Template

example 3

From
To

Liquid Template

Example 4

From
To

Liquid Template

Last updated