TrickJarrett.com

Tweaking the Newsletter

7/26/2022 6:54 am | : 3 mins. | Share to:

Spent a little bit this morning tweaking the newsletter code. I cut out some empty space to make it look better.

Also, I've decided to invert the order of posts. It has been publishing posts newest to oldest for the newsletter, I've decided to invert it, so the emails will now read chronological through the day. It hasn't happened since I started the newletter, but there are some days where I do multiple entries on a developing news story. And I think for the purposes of the newsletter, this makes more sense.

I'm still trying to figure out why some UTF8 characters don't encode right for it. Not sure where it's getting mucked up.

And, sort of invisible to you, I'm changing the creation process for the newsletter. Up to now, the email sending has been a quasi-automatic process. The system would automatically generate it via a cron job. But then the newsletter tool still requires me to manually approve it. So, depending on how late I stay up it might go the same night or first then in the morning when I wake up or, honestly, it sometimes goes out when the dogs wake me up to go outside in the middle of the night.

In any case, I've now made it so that it will be a fully manual process. The intent being when I've made my last post for the night, I can click a link to initiate the process. I dislike the fact that more often than not the newsletter for yesterday is arriving at 9am Eastern for most people. There is of course the chance that this new process is simply not going to work and I'll keep forgetting to send it. I have an idea for a more elaborate system which has the safety catch of sending it each night if I haven't manually done so, but I don't know if that system is needed yet. We'll see.