Slogger tags and other developing stories
A few updates I’ve posted recently:
First, Slogger now has the native tagging I mentioned previously. Here’s how I chose to implement it (though this is up for discussion):
- At the point where it’s just about to generate the entry, it scans the entire post for “#tags.” It collects any it finds into an array, leaving the original tags in the post.
- It ignores #77 type tags, commonly seen in the Github logger as issue references.
- Tags are then added as native tags. They’ll include any tags you put in Tweets or posts or post descriptions as well.
The nice thing about this method is it doesn’t require any of the plugins to change, works with any new plugins automatically, and allows you to add tags the same way that Day One does when you enter a post on iOS.
The downside is that with some plugins (Twitter especially), if you use a lot of hashtags in posts you’ll end up with a lot of tags in Day One that might not really mean much as far as sorting or organization. If I add conversation support to TwitterLogger, that will get even worse. I can easily limit the tag search to just the last line (where Slogger plugins put default tags), but for now I like being able to add arbitrary tags anywhere in the post. We’ll see if it gets out of hand.
I also added an App.net linkifier, so that usernames and urls get appropriate Markdown for linking.
I added some timezone fixes to a few plugins, as well. App.net and some others should now set the timestamp on posts to your local time, not GMT.
If you’re using git, you can update with a
git pull. If you downloaded and installed the zip file:
- Download the latest version
slogger_configto a new folder, just to make sure they don’t get deleted.
- Overwrite your current files. You don’t want to replace the whole folder, just the files inside it.
- If you’ve moved plugins around, be sure to check and make sure the right ones are enabled/disabled before running it again. Your configuration will stay intact.
I also updated nvWikiLink to be more forgiving when finding existing files. Some longer titles — especially ones with punctuation — were not being found and it was creating a new note every time. This should fix that, at the risk of linking similarly named notes accidentally. Let me know how it goes.
I also (finally) made some updates to nvALT. Minor, but we’re about one bugfix away from releasing 2.2. I may put another beta version out before then. If you’re running the beta, you’ll get a notification of that automatically.
If you want it right now, you’ll need to be able to compile the code (Xcode). The repo has the latest changes in it, including a fix for the crash on url import and TaskPaper file previewing.
The changes to MarkdownEditing are almost entirely user-contributed. I haven’t had a lot of time to update that recently, but I’ve been getting some help. See the commit history for what’s new.