Specter has tags

Akshat Jiwan Sharma, Mon Jul 22 2013

It is funny how I keep saying that specter is un-opinionated when quite clearly I have forced my own opinions about what a blogging platform should be on specter. Take for instace the issue of tagging. I decided that tags are an overkill for a blog and omitted them from specter all together. My reasoning was two fold :

  1. Tag abuse is a common problem in blogs. Often I see that a blog post is categorized into lots of different tags which is sometimes confusing. I don't blame the authors at all. Categorization is a tough task. Jeff Atwood expresses the same sentiment

    Categorization is an expert activity

    If left to their own devices, your users aren't likely to do any better than Gomer Pyle-- unless they happen to be experts in library science and information mapping. Categorization is extraordinarily difficult to do correctly unless you're an expert in the field. And even then, there is disagreement.

  2. I was drunk on the power of elastic search. If you have used elastic search at all then you will know what I mean. Having the power of full text search at your disposal things like tagging start to look trivial. If you need to find something just use search... or so I thought.

Fellow blogger and git-hubber, William Chambers, brought me back to my senses. His comments on an article that I wrote

In principle I agree on your decision not to have tags, but in reality that could turn into a mess. If for example I want to do a search for all your game reviews, I'd have to either hope you typed "Game Review" somewhere in the article or search for "Game" and deal with cruft from other meanings.Anything larger than a single-topic blog would probably need something more advanced

forced me to reconsider my stance on tags. I soon realized my folly. While elastic search is pretty good at searching text I can not expect it to give me contextual results. For instance the term game might be used for

  • A video game
  • A sport or any other recreational activity
  • Hunting

While we as humans can make out the meaning of the word game from the context it has been used it. Elastic search can not. Thus the search for game would return everything that has the word game in it. Which might not be what the user actually wanted.

Hence I decided to add tags to specter and after some slight changes to the editor and the underlying code it is now possible to tag your posts.

tags

This process is straight forward. In the preview pane of your editor just type the tags the you want for your post. If you want to delete tags just press backspace or hit the x button on top of the tag. That's it. Clicking on a tag in the post will take you to a list of posts in that category. Just as you would expect. I hope you guys find this feature useful.

A big thanks to xoxco for creating the awesome tags-input plugin.


comments powered by Disqus