A small service to preview an XHTML file in the fsfe.org design https://webpreview.fsfe.org
Go to file
2024-04-12 11:14:30 +00:00
LICENSES Added Artistic license - adding file extension 2021-02-05 09:16:37 +01:00
www Fixed infinite loop on wrong html formatting - Fixed bug on undefined variable when locking/unlocking pad 2024-04-12 13:09:55 +02:00
.drone.yml bump drone image 2023-11-05 11:14:13 +01:00
docker-compose.yml overhaul webserver: use rootless, simplify apache conf 2022-02-14 14:39:49 +01:00
Dockerfile add wget 2022-02-14 14:44:34 +01:00
README.md add docs-centralizer CI job 2023-01-11 12:25:24 +01:00
renovate.json bump drone image 2023-11-05 11:14:13 +01:00
renovate.json.license Configure Renovate (#128) 2022-02-25 11:12:44 +00:00
webpreview.conf overhaul webserver: use rootless, simplify apache conf 2022-02-14 14:39:49 +01:00

in docs.fsfe.org

XHTML file preview

This is a service initiated by the FSFE's translator Luca Bonissi to preview XHTML files. These files are the foundation for pages on fsfe.org.

Because the markup is often hard to imagine from the raw file, this service offers a preview and a WYSIWYG editor. It uses the FSFE's design and tried to emulate how the file will look like in the end.

It also checks for XML syntax errors. If they exist, they will be displayed in red colour on the previewed page.

Limitations

Certain page-specific layout and XSL rules cannot be emulated. However, for a rough preview it suffices.

Local tests

The services is deployed via Docker, so you can run:

docker-compose up -d --build

Then, identify the IP of your container and open it.

License

This code is REUSE compliant, so all copyright and licensing information is stored within the files themselves, or can be extracted with the REUSE helper tool.