A small service to preview an XHTML file in the fsfe.org design https://webpreview.fsfe.org
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Luca Bonissi b7d6f6d5cf
continuous-integration/drone/push Build is passing Details
Merge pull request 'Fixed incorrect ID detection if an id= tag is present in child elements' (#149) from fix_id_in_content into master
Reviewed-on: #149
3 months ago
LICENSES Added Artistic license - adding file extension 2 years ago
www Fixed incorrect ID detection if an id= tag is present in child elements 3 months ago
.drone.yml Update docker Docker tag to v23 4 months ago
Dockerfile add wget 1 year ago
README.md add docs-centralizer CI job 5 months ago
docker-compose.yml overhaul webserver: use rootless, simplify apache conf 1 year ago
renovate.json Configure Renovate (#128) 1 year ago
renovate.json.license Configure Renovate (#128) 1 year ago
webpreview.conf overhaul webserver: use rootless, simplify apache conf 1 year ago

README.md

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.