Realizing that different countries have different date formats made me realize that GiftttDy wasn’t playing well with dates in the day/month/year format when posting into Day One. Sorry for those of you whose entries from yesterday are showing up in November. Download the latest version for a fix.
Apparently, my fingers celebrated independence day early. They coded independently from my brain. There was a stupid logic error in the code that broke the Daily by Time mode. This cause a whole lotta nothing to be written to the post. Thanks to the patience of one lucky GiftttDy user, we got to the bottom of it.
Download the latest version to get the fix. No need to rerun the Configurator.
Ok, so I said it was almost finished a week ago. Well, it’s now more, betterer, almosterer, finisheder. I didn’t get to work on it us much as I wanted last weekend.
The good news is testing is going well. I’ve made a few tweaks, but no major bugs have shown up. (They’re waiting for you, of course.) I need to finish creating the installation disk image, do a couple of installation tests on a clean system, make some updates to this web site, and spend a few days coming up with more really bad puns for the big announcement post. (You’re welcome.)
geeky, nerdy, nosy, curious ones among you, here’s a more detailed list of what’s left to do:
- Finalize the installation guide with updated screenshots.
- Test the installation on a clean machine and over prior versions.
- Review links in the installation guide, applet page and alternative installation guide.
- Update the F.A.Q.s.
- Revise the home page with a description of the new approach required for Day One 2.
- Create the final installation disk image.
- Hire the herald trumpeters and notify the paparazzi.
- Rollout the big announcement.
Once all of that is done, I’ll go back to the applet page and fill in the TBDs. (To get this version out the door sooner, I only posted applets that I’m actually using.)
Hopefully, I’ll have this ready for you by the end of the weekend. We’ll see….
Time for a progress report! When we last left our hero, he had just given an update on some of the changes that had to be made and what remained.
Testing has gone quite well. I’ve fixed a few formatting bugs and converted most of my IFTTT applets to the new format. I’ve updated created a new list of GiftttDy applets along with instructions on how to set them up and create your own.
What’s left? I need to update the installation documentation and fine tune the GiftttDy blog to remove information on old versions.
I’m hoping to make a lot of progress this weekend. Look for another update by Monday.
I’ve been working my muggle technology magic to update GiftttDy so it could write updates directly to Day One 2 without the need for Day One Classic. I have the main GiftttDy code working quite nicely, thank you. I’ve also updated the Configurator since there are changes to the setup required, including a new Hazel rule. Most invasively (hold onto your hippogriff) you’re going to need to use new IFTTT applets.
About that … The changes I made to GiftttDy have simplified the code and sent some old, not-so-popular features to Azkaban. Keeping compatibility required a lot of complex code and many of the old features have been sherlocked by Day One. The other bad news is that IFTTT no longer supports sharing of recipes. This means you’ll have to create them from scratch yourself, but you can reuse your existing applets with a few minor changes. I’m looking into a way to make the process easier.
At this point, I’ve got the new version up and running for a few days of testing. Once I’m confident I’ve chased away all of the nargles, I’ll update the installation guide and provide details on what’s changed, how to update your applets, and whatever other silly Harry Potter references I can come up with.
While working diligently on the new, Day One 2 compatible version of GiftttDy, I discovered a fix for the rendering problem.
In case you weren’t paying attention, something changed recently where GiftttDy entries did not display correctly unless you manually edited and saved the entry. I originally thought this had something to do with GiftttDy saving to Day One Classic, but it turns out there is a problem with the way AppleScript starts a new line. By forcing new lines to be written using a line feed code instead of a carriage return code, the problem is gone.
Rather than making you wait for the major update coming soon, I put this fix into the current version. If you are already running GiftttDy, just drag the GiftttDy script into your Applications folder. No need to rerun the Configurator.
I finally decided to explore Day One 2’s updated command line tool to see if it had more capabilities to do what GiftttDy needs. I found it doesn’t allow for the complex formatting and updating of existing entries required for digest mode. I’m not complaining. It’s a lot to ask for a command line tool and I know the Day One team is planning an API to handle these kinds of things in the future. I still want to see if there is a near-term solution for everyone who doesn’t own Day One Classic.
After sneaking around zee bookcase (stay close to zee candles), I think I’ve found my answer (no violin or cigar required). I’m planning to change digest modes to write directly to a text file and not try to add it to Day One until the next day. Then, I’ll use the command line tool to import the complete file as a single entry. I’ve done this manually and found it works well. Plus, it eliminates the markdown/html rendering issue that started happening recently. The downside to this approach is that you won’t see the current day’s lifestream in Day One. It will always show up the next morning. I think this is a small price to pay
in the name of science for compatibility with Day One 2.
All I need now is
for the townspeople to put down their pitchforks to have enough time to make the changes and test them. Stay tuned!
So, you’ve probably been wondering why there hasn’t been any news about GiftttDy in a long time. Well, partly, I’ve been busy. But, the main reason is there isn’t much to talk about. GiftttDy continues to work with Day One Classic* but not Day One 2 yet. Please don’t get upset at the Day One developers. They’ve been doing some great stuff and have added some features that previously only existed in GiftttDy. I’m still hoping to bring GiftttDy into this brave new world once Day One has an API. Until then, we’ll just have to sit tight.
*There’s an issue with the latest release of Day One 2 where GiftttDy entries show up as improperly rendered mark up code. I haven’t figured out what’s going on. In the meantime, if you edit and save the entry (no changes are needed), it will display correctly.