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 05c0a482a9 Merge pull request 'Temporary switched back to read-only version' (#20) from editable into master 2 days ago
LICENSES initial commit 4 months ago
.drone.yml initial commit 4 months ago
Dockerfile Added editable preview with x[ht]ml regeneration 1 week ago
README.md make REUSE compliant 4 months ago
custom.conf initial commit 4 months ago
custom.css Fixed reuse on custom.css 1 week ago
docker-compose.yml initial commit 4 months ago
fsfe.pl Temporary switched back to read-only version 2 days ago
index.html Added uri= parameter to autoredirect 1 week 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. 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.