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
Release history Release notifications | RSS feed
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)