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:
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.
Finally! My #Javascript planning module can access data from the German electronic AIP.
Behind the scenes it downloads the current metadata from aip.dfs.de, updates the local AIXM files if necessary, and uses XSLT stylesheets to translate the original XML into JSON-compatible text.
*sigh*
XSLT 1.0 is rather... awkward... unwieldy. And JSON is not forgiving when it comes to control chars and dangling commas. Had to develop JSON building block templates.
My #XSLT sheets for the German AIP #AIXM data are ready. They transform the rather complex AIXM to an intermediate simpler form, allowing retrieval of official aerodrome data (runway dimensions, radio frequencies, supplies, services) and VOR/NDB information.
So far, so fine.
Intermediate form means another bunch of files to check for updates.
Well, let's modify the XSLT. Either pull lists of aerodromes or navaids, or retrieve data of a specific entity. Global xsl:param ftw!
#GenerativeArt interlude
Solstice release of my art code.
https://mathling.com/code/art/
There's some more drawing components, enhanced colouring and rendering options, and some more advanced math (solvers, Eigenvectors). I'm also bundling some of the Java libraries that some of these more advanced features depend on.
As ever, all kinds of geometric objects and operations, tilings, interesting curves, pirate ships, and rendering into SVG/PNG.
Check it out.
Part 1 of our blog series documenting a workshop on #XML & #XSLT at the #UniversityOfOslo https://dsenetwork.hypotheses.org/528
A combination of lecture & hands-on with experts Ellen Wiger from the #NationalLibraryOfNorway, Polina Yordanova from the #UniversityOfHelsinki & Robert Kristof Paulsen from the #UniversityOfBergen library.
We concluded the 1st year of the #SustainableDSE network at the #UiO library, dedicated to skills development, training and research support for #DigitalScholarlyEditions
Are you in the Oslo area next week on Wednesday and want to learn all about #XSLT and #XML transformations?
Join us for a hands-on workshop!
Where: University of Oslo, Blindern Campus, Niels Henrik Abels hus, room 209
When: Nov 20, 2024 - 09:00-16:00 CEST
Information about prerequisites and the program for the day on our website https://www.ub.uio.no/english/libraries/dsc/berut/events/workshops/2024-11-20_ws_xslt.html
Brought to you by #SustainableDSE network!
XSLT addendum - there are a few places left for an XSLT course on 4th/5th September, aimed at people who have to write or mantain XSLT stylesheets.
https://www.delightfulcomputing.com/course-xslt-introduction.html
The @TEIConsortium TEI Consortium has posted its 'In Memoriam' for Dr C. Michael Sperberg-McQueen:
https://tei-c.org/2024/08/18/c-michael-sperberg-mcqueen-1954-2024-in-memoriam/
A loss to the world and those interested in text technologies. We'll remember him at #TEI2024 and always.
It really seems like I have a use-case for #xslt - I am...amazed!
Tomorrow will be fun!
Twenty years ago, I wrote an #XSLT stylesheet that, given some #XML document, produces input for the #Lout formatter to generate a tree diagram of this document. You can specify an XPath expression to highlight the selected nodes. This is obviously useful for teaching, but I never got around updating it to remove the dependency on Lout, so for the last ten years, I’ve been using the same examples for which I had PDFs.
Until today!