Day One Alfred Tools
This started out as something for myself, but it looks like there is some interest (and it was just mentioned on MPU), so I thought I'd clean up this page a bit. Please let me know how things are working and if there are any features you'd like to see. Thanks!
It can be downloaded on Git Hub by clicking on the workflow and selecting "view raw": https://github.com/senecando/Day-One-Alfred-Tools
The README is below, but I find it's a bit easier to read at the Git Hub link above.
What it needs
At this point, this Alfred Workflow requires:
The Day One CLI
Brett Terpstra’s logtodayone.rb script, found here
That you’re using Safari
When you first import it, you will want to:
Change the location of logtodayone.rb in the log script
Change the location of logtodayone.rb in the lw script
Change, if you’d like, the variables for formatting in the lw scriptprefix: What comes before a link. Default is Reading:
separator: What separates a link and a comment. Default is -. Change to \n\n if you would like the comment to be on a separate line.
quoteSeparator: What separates a link and a quote. Default is :\n\n>.
What it doeslog logs to Day One. This can use the time and starring syntax outlined here.
lw and lw!– “log web” – log the frontmost website and title as a link. lw!creates a starred entry.
lw comment and lw! comment do the same, but with a comment.
lwq and lwq! create an entry with a link and the text on the clipboard as a quote.
Errors: Everything worked out unless
You got a notification with just a title and no text.
You got a notification with a title and an error.
You didn’t get a notification.
What it doesn’t do yet
Features
Add a lwq comment function.
Create an easier way to change the location of logtodayone.rb in each of the scripts, preferably through Alfred itself.
Combine the log and lw scripts.
Add support for Chrome and Firefox.
Incorporate Terpstra’s time functions in the web-logging commands.
BugsTick marks don’t work.
When the script can’t get to Safari, it fails silently.
What’s changed
2013–04–15b:
Added a notification letting using know that the script ran successfully. Requested here.2013–04–15a:Added lwq and lwq!, which add a link and any text in your clipboard as a quote.
Added an easier way to change the text separating the link and comment. Requested here.
Added images to the readme.