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 details)
File details
Details for the file fusionbuilder-0.0.1.tar.gz
.
File metadata
- Download URL: fusionbuilder-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62eb45769aa945eb53daf9dd51e814ce50d53907d66afc61ce745e86dc2b779 |
|
MD5 | 5c63f0f14f90c609499e3a5d00777815 |
|
BLAKE2b-256 | d1aa6b6a55b602ce9a1cbaaf8cda6a1377af0f2876de4dcbcf0568b134dd866b |