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
Metadata
Release files for fusionbuilder 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fusionbuilder-0.0.1.tar.gz | 2.4 kB | Details |
Release files / fusionbuilder-0.0.1.tar.gz
| Download URL | fusionbuilder-0.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f62eb45769aa945eb53daf9dd51e814ce50d53907d66afc61ce745e86dc2b779
|
|
BLAKE2b-256 checksum How to use checksums |
d1aa6b6a55b602ce9a1cbaaf8cda6a1377af0f2876de4dcbcf0568b134dd866b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|