{"by":"vgr-land","descendants":68,"id":45006098,"kids":[45009206,45010171,45009551,45009761,45009536,45011176,45012745,45015343,45011184,45011169,45013853,45014444,45012522,45009540,45010118,45008896,45011933],"score":116,"text":"A few weeks ago a friend sent me grug-brain XSLT (1) which inspired me to redo my personal blog in XSLT.<p>Rather than just build my own blog on it, I wrote it up for others to use and I&#x27;ve published it on GitHub <a href=\"https:&#x2F;&#x2F;github.com&#x2F;vgr-land&#x2F;vgr-xslt-blog-framework\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;vgr-land&#x2F;vgr-xslt-blog-framework</a> (2)<p>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 &quot;how&quot; xslt works (3)<p>The short version on how to publish using this framework is:<p>1. Create a new post in HTML wrapped in the XML headers and footers the framework expects.<p>2. Tag the post so that its unique and the framework can find it on build<p>3. Add the post to the posts.xml file<p>And that&#x27;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&#x27;m finding it perfectly usable for my needs.<p>Finally, it&#x27;d be a shame if XSLT is removed from the HTML spec (4), I&#x27;ve found it quite eloquent in its simplicity.<p>(1) <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44393817\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44393817</a><p>(2) <a href=\"https:&#x2F;&#x2F;github.com&#x2F;vgr-land&#x2F;vgr-xslt-blog-framework\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;vgr-land&#x2F;vgr-xslt-blog-framework</a><p>(3) <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44988271\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44988271</a><p>(4) <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44952185\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=44952185</a><p>(Aside - First time caller long time listener to hn, thanks!)","time":1756057110,"title":"Show HN: I Built a XSLT Blog Framework","type":"story","url":"https://vgr.land/content/posts/20250821.xml"}