The Mudcat Café TM
Thread #172747   Message #4190662
Posted By: Jon Freeman
12-Oct-23 - 06:07 AM
Thread Name: Tech: Website certificate expired, etc...
Subject: RE: Website certificate expired...
The link generator was never intended to to more than giving me something to think about but I’ve decided I will write something that makes links along those lines for my own use that would suit the way I post to Mudcat these days. That is I type anything more than a couple of sentences into libreOffice firsrt so I’ll do it as a LibreOffice macro. I’ll have it scan the whole document for URLs and convert each occurrence to a mudcat link.

I did have a quick look at this before drifting off into a very long sleep yeaterday. LibreOffice offers JavaScript as one choice of scripting language for its maros so I tried the code I already had for a starter but no go. I don’t think their JS supports URL (not essential but a nice convenience). I’m not certain but I think they are using Java Rhino. I used this years ago when or home automation used my Java server as the means of dynamically providing code for events. The only other time I wanted to do something like that I used Groovy but I can’t remember what remember why I dropped Java Rhino in favour of this.

Oh well, I’ll get something written and it doesn’t matter to me whether it winds up in their version of basic (never used by me but the best documented for LO), python or JS.