Nanoblogger Yahoo Search Field Plugin (yahoo.sh)
download / install and how to properly escape code in
nanoblogger
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" myemail@gmail.com
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)
To: n1xt3r@fastmail.fm
Subject: 2 questions concerning nanoblogger
Hi man,
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 code that 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.
Kindest Regards
Georgi
Date: Sat, 27 Feb 2010 20:46:34 -0500
From: Kevin Wood kevinw@fastmail.fm
To: "G. Georgiev" myemail@gmail.com
Subject: Re: 2 questions concerning nanoblogger
User-Agent: Mutt/1.5.20 (2009-06-14)
Hi Georgi,
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!
>From http://daringfireball.net/projects/markdown/basics
Kevin
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.