Show HN: I Built a XSLT Blog Framework
Hacker News (score: 11)Description
Rather than just build my own blog on it, I wrote it up for others to use and I've published it on GitHub https://github.com/vgr-land/vgr-xslt-blog-framework (2)
Since others have XSLT on the mind, now seems just as good of a time as any to share it with the world. Evidlo@ did a fine job explaining the "how" xslt works (3)
The short version on how to publish using this framework is:
1. Create a new post in HTML wrapped in the XML headers and footers the framework expects.
2. Tag the post so that its unique and the framework can find it on build
3. Add the post to the posts.xml file
And that's it. No build system to update menus, no RSS file to update (posts.xml is the rss file). As a reusable framework, there are likely bugs lurking in CSS, but otherwise I'm finding it perfectly usable for my needs.
Finally, it'd be a shame if XSLT is removed from the HTML spec (4), I've found it quite eloquent in its simplicity.
(1) https://news.ycombinator.com/item?id=44393817
(2) https://github.com/vgr-land/vgr-xslt-blog-framework
(3) https://news.ycombinator.com/item?id=44988271
(4) https://news.ycombinator.com/item?id=44952185
(Aside - First time caller long time listener to hn, thanks!)
More from Hacker
Poking holes into bytecode with peephole optimisations
Poking holes into bytecode with peephole optimisations
Show HN: Run LLMs in Docker for any language without prebuilding containers
Show HN: Run LLMs in Docker for any language without prebuilding containers I've been looking for a way to run LLMs safely without needing to approve every command. There are plenty of projects out there that run the agent in docker, but they don't always contain the dependencies that I need.<p>Then it struck me. I already define project dependencies with mise. What if we could build a container on the fly for any project by reading the mise config?<p>I've been using agent-en-place for a couple of weeks now, and it's working great! I'd love to hear what y'all think
Bare metal programming with RISC-V guide (2023)
Bare metal programming with RISC-V guide (2023)
Fly's Sprites.dev addresses dev environment sandboxes and API sandboxes together
Fly's Sprites.dev addresses dev environment sandboxes and API sandboxes together
No other tools from this source yet.