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 758effd16f Merge pull request 'Fixed bug: incorrect body closing' (#71) from comment_bug into master 3 weeks ago
LICENSES Added Artistic license - adding file extension 1 month ago
.drone.yml initial commit 10 months ago
Diff.pm Try to fix internal server error... 1 month ago
Dockerfile Forgot to update Dockerfile... 1 month ago
README.md Added VERSION metadata to have a feedback when the version in installed by Docker 5 months ago
custom.conf initial commit 10 months ago
custom.css Fixed reuse on custom.css 6 months ago
disclaimer.html Added disclaimer - fixed removed closing tag from browser 5 months ago
docker-compose.yml Put online webpreview 5 months ago
entrypoint.sh Retry with CMD... 5 months ago
fsfe.pl Fixed bug: incorrect body closing 3 weeks ago
home.pm Added homepage configuration - Fixed quot on img alt 4 months ago
index.html Added filename information when 'regenerating' the page 3 months ago
robots.txt Fixed expanded open/close tag by the browser 5 months ago
send.js Fixed incorrect saving of the 'diff' 4 weeks ago


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.


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.


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.