A small service to preview an XHTML file in the fsfe.org design https://webpreview.fsfe.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Luca Bonissi e778146f87 Merge pull request 'Fixing incorrect borders on original text box' (#139) from fix_origtext_with_div into master 4 weeks ago
LICENSES Added Artistic license - adding file extension 2 years ago
www Fixing incorrect borders on original text box 4 weeks ago
.drone.yml remove steps and vars for old nginx-rp setup 7 months ago
Dockerfile add wget 6 months ago
README.md Added VERSION metadata to have a feedback when the version in installed by Docker 2 years ago
docker-compose.yml overhaul webserver: use rootless, simplify apache conf 6 months ago
renovate.json Configure Renovate (#128) 6 months ago
renovate.json.license Configure Renovate (#128) 6 months ago
webpreview.conf overhaul webserver: use rootless, simplify apache conf 6 months ago

README.md

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.