Welcoming Back More Diarists
Fri Jul 19 2024

Welcome back to more Patron diarists!! I won't list you all because you'll show up on the Latest Updates on the front page if you want to be found 😀

I can't begin to find the words to say how I feel about seeing so many people coming back. I'm flabberghasted at how many of you didn't like the WordPress system!! I should have done this years ago then!

But I probably wasn't in the right space then. The technology probably wasn't either to be fair. That's why I went with WordPress - it was established and worked - and has a huge number of people contributing code which meant I didn't need to.

Upcoming Changes

So, I've mostly figured out how I can get images into entries without them having to be stored in the database. The editor used here embeds images as an encoded string within the HTML itself. This is OK for really small images, but for normal sized images, this can lead to a long delay in rendering the page as the entry has to be taken out of the database, sent to you - including the images - then your browser renders it. But your browser can't render it until it's all been fetched. Modern internet makes that much faster than historical times we all grew up in, but it's still a perceptible delay.

So, almost every site uses a piece of HTML code called an Image (img) tag. This is what's embedded in the HTML page, and is tiny by comparison. The database stores this tag as part of the overall entry and the tag tells your browser to 'insert an image here'. It also tells the browser where to find the image on the internet. What this means is that the text of the page is rendered very quickly because it's small. Once the browser has the text rendered it goes back to the internet to grab the images. They then come in at their own sweet pace - but you don't really notice that because now the page is loaded and you've started reading.

That and storing images in a database is just horrible. Blegh.

Anyway, the TL;DR of that is that I have to make some significant changes to the editor code - but I am making good progress and hope to have something up soon.

I'll then get working on people being able to request notification when a diary the want to follow is updated.

Let me know if anyone has anything else they need looking at!

8 Comments
  • From:
    MissTick
    On:
    Fri Jul 19 2024
    Hi, I've flexed my muscles in editor and found more things I'd like to add to your to-do list (sorry :-/ ) - can we have any ways to reinstate functionality of "Previous Entry" -"Next Entry" on the diary page? I've added a link from my newest page to the last entry from imported diary, but all the navigation buttons are lost there too, so what I was hoping to be able to do - once you're on the entry, you can get to the previous entry one without the need to scroll Calendar through many years (4 in my case!) - either Calendar dates can be adjusted based on the Entry displayed or "prev entry" button? Not urgent, of course, but could be useful in a longer run?
  • From:
    DearDiary1
    On:
    Fri Jul 19 2024
    Hey MissTick, yes definitely - both of those are on the list and fairly high up the priority chain too :) Actually you can see the current list using the 'Issues' link at the bottom of the page.
  • From:
    D'vorahDavida
    On:
    Fri Jul 19 2024
    So where will the program fetch the images FROM? I know that may sound like a really dumb question, but will I have to have them stored on the internet somewhere other than my PC?? Sorry if I'm showing my ignorance of the process.
  • From:
    DearDiary1
    On:
    Fri Jul 19 2024
    No, you will upload the images using an upload chooser. You CAN store them elsewhere if you wanted to - but I've not put that on the dialog at the moment...
  • From:
    D'vorahDavida
    On:
    Fri Jul 19 2024
    Just a question about the editor for our entries. Is there an option to turn off the grammar/spell check/auto fill function? It's a little distracting. Not a huge deal, just a wish.
  • From:
    DearDiary1
    On:
    Fri Jul 19 2024
    Not at the moment but I'll add that request to make it configurable :)
  • From:
    D'vorahDavida
    On:
    Fri Jul 19 2024
    Sweet!
  • From:
    D'vorahDavida
    On:
    Fri Jul 19 2024
    I got a notification for your comment!!!!!!!!!!!!!! Yay!