Skip to main content

Parse Fusion Page Builder text.

Project description

This is an abomination. I inherited a WordPress blog with the Fusion Page Builder plugin installed. When I wanted to use the WordPress XML export file to move to a static site generator the post text was littered with lots of Fusion tags and codes. I wanted to parse them out into a DOM like tree structure and also strip them out.

Install

pip3 install fusionbuilder

Usage

import fusionbuilder
root, text = fusionbuilder.parse(text)

Test

pytest test_fusionbuilder.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fusionbuilder-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page