octopress-tagcloud is 3rd party plug-in which list in octopress github wiki. I needed kinds of plug-in to provide quick tag access point for my readers. So I started setting up.
But ReadMe file in this repository was not kind. This files has below instructions.
Place below files in your octopress folder from tagcloud git repository.
plugins/tag_cloud.rb
source/_includes/custom/asides/tag_cloud.html
source/_includes/custom/asides/category_list.html
Change default_asides array in _config.yml.
In your octopress folder, you can find _config.yml. It contains below line in middle of something.
123
# list each of the sidebar modules you want to include, in the order you want them to appear.# To add custom asides, create files in /source/_includes/custom/asides/ and add them to the list like 'custom/asides/custom_aside_name.html'default_asides:[asides/recent_posts.html,asides/github.html,asides/twitter.html,asides/delicious.html,asides/pinboard.html,asides/googleplus.html]
Add custom/asides/category_list.html and custom/asides/tag_cloud.html inside [blah, blah]. It is list. So result was look like below:
YAP!! I followed all instructions in ReadMe file. So I checked my updated blog. But there was problem. Why Category list has exactly same as Tags list?
I figured out that I didn’t add any tags from posts. So I was about to add tags, but HOW?
I thought something is wrong with code. I needed to fix it from code level. Though I am pythonian, I have to delve into ruby code, tag_cloud.rb.
This is what I changed. I simply replaced categories to tags, and category to tag. Here is code.
One more thing. You should add below line into _config.yml.
tag_dir: blog/tags
So _config.yml contains portions that looks like this
1234567891011
# If publishing to a subdirectory as in http://site.com/project set 'root: /project'root:/permalink:/blog/:year/:month/:day/:title/source:sourcedestination:publicplugins:pluginscode_dir:downloads/codecategory_dir:blog/categoriestag_dir:blog/tagsmarkdown:rdiscountpygments:false# default python pygments have been replaced by pygments.rb
When you compress some files in Windows 7, and unarchive in Mac, you will see broken character. English is fine, reader for this post probably use other language.
Because default compression in Windows operating system doesn’t support maintaining file names in utf8, you need to use other archive program which support utf8.
I recommend Bandizip. There are two version, Mac version and Windows version. Because of software cost, I choose Windows version. It is free. I run it on Mac with Parallels Desktop 7 coherence mode. This is Windows 7 virtualisation solution for Mac.
You can find how to set up Bandizip utf-8 aware archiving in http://www.bandicam.com/bandizip/help/utf8/.
I tried to open my blog for 3 years. To follow hacker sprit, I was finding place to share information about problem solving. Problem solving includes resolving problems which I encounter sometimes.
However I did not want to open my blog with blog providing services (e.g. wordpress, blogger). Because I am computer scientist, programmer and artist, I need to understand all procedure that involved in my blog, I need to take control all over my blog and I need to change my blog whatever I want.
While those thought about blog were in my head, I found GitHub and Octopress. And today, it is Sunday, which means I can spend my time for hobby. Yes, it is Monday. I am being all-nighter today. Haha All resources are ready, and BOOM!!. I CREATED MY BLOG.
I hope my future postings provide useful information. So my readers can save their valuable time.