-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to add auto-generated parts to web pages? #13
Comments
I replied on #11, but should have replied here: On another project, I've had luck using Pandoc to convert HTML into JSON, then reading the JSON, manipulating it, and converting back to HTML. We could use that technique to put |
Quoting @spdegabrielle:
|
This happens already. It's not a big deal - one minute is wasted occasionally. |
Based on both your comments and my own recent experiences, I'm starting to lean toward this option. So the repos would contain bare-bones HTML files that produce readable pages as-is, but are fleshed out with boilerplate and styling by script. @spdegabrielle Is this OK? |
(Prompted by issue #11)
Many of our current pages are fixed .html files. It's not simple to add machine-generated information (e.g. standardi links and timestamps) onto those.
On the www.scheme.org front page, generated from the repo https://github.com/schemeorg/schemeorg, we use an approach where the HTML structure of the page is embedded as SXML in a Scheme script. Most of the text on the page is parsed from Markdown (.md) files into SXML and inserted into the right place in the structure. This works nicely. Could we scale up this approach?
The text was updated successfully, but these errors were encountered: