home.social

#xsl — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xsl, aggregated by home.social.

  1. Naty @eclecticpassions ·

    I worked on a new feat on my blog : a stylesheet for XML content ( ). It was easy in —just a `static/style.xsl` and add `{{- printf "<?xml-stylesheet href=\"/style.xsl\" type=\"text/xsl\"?>" | safeHTML -}}`.

    📜burgeonlab.com/subscribe

    Still working on the theme, might match it to my exisiting burgeonlab.com/guestbook/ style or keep this terminal theme! Kinda cool and much better looking than raw

  2. I created a repo @Codeberg for my really simple #XSL-weblog:
    codeberg.org/harlows/xsl-weblog

    It's part of my tiny attempt to preserve #XSLT and very much a work-in-progress. Thus far it's really just a repackaging of Evan Widloski's example:
    github.com/Evidlo/xsl-website

    You can see it evolve here:
    blog.harlow.net.nz/
    or follow the #RSS feed:
    blog.harlow.net.nz/feed.xml
    Transformed by the magic of #XSLT!

  3. Je n'avais jamais pensé au fait que les navigateurs web modernes incluaient un parser XML et un système de transformation basé sur XSLT. Ca ouvre des perspectives fascinantes (même si vieilles de 25 ans) github.com/pacocoursey/xslt #xml #xsl #web #build

  4. I hadn't heard of it before, but it turns out there's a style format called XSLT that allows the browser to translate an XML file into HTML with CSS styling for display purposes. #RSS #Atom #XML #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

  5. I figure if someone new to RSS clicks on the link and just gets raw XML, they might think something is “broken” and not stick around, but now there's something human-readable and with instructions on how to follow it in a reader. #RSS #Atom #XML #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

  6. I figured out how to get my RSS feed to be human-readable and nice-looking! I'd been wanting to do this to give people who aren't familiar with RSS an easier on-ramp to the stuff I care about. reillyspitzfaden.com/feed.xml #RSS #Atom #XML #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

    reillyspitzfaden.com/feed.xml

  7. I hadn't heard of it before, but it turns out there's a style format called XSLT that allows the browser to translate an XML file into HTML with CSS styling for display purposes.

    Since my feed is Atom rather than RSS, I had a bit of trouble, but this post was helpful:

    andrewstiefel.com/style-atom-x

    #RSS #Atom #XML #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

  8. I figured out how to get my RSS feed to be human-readable and nice-looking!

    I'd been wanting to do this to give people who aren't familiar with RSS an easier on-ramp to the stuff I care about.

    I figure if someone new to RSS clicks on the link and just gets raw XML, they might think something is “broken” and not stick around, but now there's something human-readable and with instructions on how to follow it in a reader.

    reillyspitzfaden.com/feed.xml

    #RSS #Atom #XML #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

  9. #GenerativeArt interlude

    New release of my art code libraries

    Implementations of the Archimedean solids plus a few other fun ones and an integrated better 3D rendering of them. Pens. Hobby curves.

    There's also a lot of future-looking infrastructure here (see: "maker functions" in the release notes), a fair amount of clean up, performance, etc. Click the "browse" link for detailed release notes.

    mathling.com/

    #XQuery #XSL #SVG

  10. I'm updating some legacy web-project and need to carefully tweak several dozens of #XSL-templates. I still remember how to do it. No, I didn't miss it. 🤯

  11. CW: programming, xml, xsl, xslt, http

    I wish you could apply an XSL/XSLT stylesheet to an XML document via an HTTP header rather than a xml-stylesheet declaration inside the XML file.

    (I.e., web-browser support.)

    I would enable you to not have to hard-code the stylesheet with the (XML) data.

    ...

    I.e., rather than this:

    <?xml-stylesheet type="text/xsl" href="/path/tostylesheet.xsl"?>

    Something like this:

    Link: </path/tostylesheet.xsl>; rel="stylesheet"; type="text/xsl"

    #http #xsl #xslt #xml

  12. CW: programming, xml, xsl, xslt

    I have been using XML more recently.

    I have also been using XSL & XSLT to style the XML. Basically rendering XML into HTML — and doing it within the web-browser.

    Web-Browsers seem to only support XSLT 1.0.

    Which is unfortunate — as there are things that seem impossible without some of the features in newer versions of XSLT.

    #xsl #xslt

  13. #GenerativeArt interlude

    New release

    mathling.com/code/art/document

    The big thing here is the substantial rewrite/cleanup/extension of the L-System code

    #XQuery #XSL

  14. #GenerativeArt interlude

    Pre-#Balisage release of my art code

    mathling.com/

    What's new? More geometric operations, integer sequences, complex functions. KML parsing. Chloropleths. etc. As ever, more tests, examples, bug fixes; a certain amount of refactoring.

    #XQuery #XSL

  15. I love that I have access to the first folio version of Romeo & Juliet in XML as well, so that I can give it a similar treatment.

    #XML #XSL #XSLT #TeXLaTeX #LaTex #TeX #PDF #Shaekspeare #romeo #juliet #firstfolio

  16. The fraction 1/φ works really well in most cases.

    Here we see how it behaves with 6 and 7 sides regular polygons with the vertex constraint that you can't pick the same vertex twice in a row

    #GenerativeArt #CreativeCoding #XQuery #XSL