Since some time Iâ€™m trying to setup Yahooo Search Field on my nanoblogger without success. I also have difficulties every now and then with escaping source code whenever I decide to drop it in my nanoblogger. Knowing that the official nanoblogger page has the yahoo search next to the google search enabled up and running and considering the fact I couldnâ€™t find any tutorial or instructions online both on nanobloggerâ€™s official webpage as well as to the rest of the searchable internet, I decided to mail Nanobloggerâ€™s author to ask him if he could help me setting up this Yahoo Search Field Plugin as well as ask him what I can do to have a proper code escaping without breaking the blog. I explained that currently I tried a bunch of things without success etc. Below youâ€™ll find my correspondence with Kevin Wood (Nanobloggerâ€™s Author):
Date: Mon, 22 Feb 2010 17:09:58 +0200
From: "G. Georgiev" firstname.lastname@example.org
User-Agent: Mozilla-Thunderbird 184.108.40.206 (X11/20091109)
Subject: 2 questions concerning nanoblogger
First Thanks for the wonderful soft.
I have two questions.
1. Where can I get yahoo.sh script which is
used on http://nanoblogger.sourceforge.net
2. Whenever I try to post codethat needs to be escaped let's say apache
directives an error occurs,
during generation of the blog and I cannot
seem to get the post online
How can I get through that?
Thanks in advance.
Date: Sat, 27 Feb 2010 20:46:34 -0500
From: Kevin Wood email@example.com
To: "G. Georgiev" firstname.lastname@example.org
Subject: Re: 2 questions concerning nanoblogger
User-Agent: Mutt/1.5.20 (2009-06-14)
Attached is my yahoo.sh plugin. Just drop it in your plugins directory
and add $NB_Yahoo to your main_index.htm template. In order to work, it
expects that you have BLOG_FEED_URL set in blog.conf.
You should use the markdown.sh plugin to post escaped HTML code. When
editing your entry you can add markdown to the FORMAT field. Oh, the
markdown plugin requires that you have Markdown installed on your
system and you may have to tweak MARKDOWN_CMD and MARKDOWN_OPTS in your
blog.conf before it will work. Good luck!
Now here is the yahoo.sh nanoblogger yahoo search plugin that Kevin sent me.
After putting it in my nanoblogger plugins directory and enabling BLOG_FEED_URL, now all works like a charm.