If you asking this question, you should find a script with those features and just install it in our blog - I presume this would be best way for you. this is wrong forum for that topic, probably.