How to “Enabling your blog posts posted to nanoblogger to be also imported to your wordpress”

I wanted to simulatenously have all my nanoblogger posts imported as well to my wordpress on pc-freak.net/blog .
To achieve that I’ve came with a small shell script.
Here is the script itself import_to_wordpress.sh .
The script depends on the nb_2_wordpress.py script.
To make my import_to_wordpress.sh script execute every I have a new entry in nanoblogger I’ve edited my nb
bash script which is part of nanoblogger and I’ve inserted the line:
/usr/local/sbin/import_to_wordpress.sh, right before the last “exit 0” command statement.
So now everytime I use nb -a entry to blog a new entry the content of my entry goes to my wordpress as well,
quite cool 😀