Unlike Blogspot, Wordpress gives you a nifty way to show a excerpt of you story on the home page. This is very useful when you would want to show multiple stories on the home page, trying to accommodate as many above the fold.
Here's a quick primer on how to do this.
There are two modes in the edtior viz. Visual and 'HTML Code'.
If you are in visual code, then click this button, look at illustration, to insert a 'break point'. This would ensure that wherever multiple stories are displayed, only the part which is before break-point would be shown.
Same thing can be achieved by clicking [more] button if you are in 'HTML Code'.
Hope this is useful for fellow bloggers.
Monday, February 02, 2009
How to put 'More' Tag in a Word Press Powered Blog Post
Posted by
Nandan Jha
at
2:11 PM
0
comments
Thursday, December 11, 2008
"Imagining India" - By Nandan Nilekani - Quick Review
If you are a subscriber of Outlook, that now iconic weekly news magazine, then you would know that you get a mini-book kind of thing every few weeks. A very good concept from the point of readers since now they can taste the book and then decide whether they want to buy or not , as well as from the stand point of Author, since now at least they have a bigger chance to reach more people.
The last book-excerpt which I got was for Nandan Nilekani's book, titled "Imagining India".
The book reads like an essay and talks about various issues around development, IT, policies, population and likes. Since this booklet is of a size of a mini-book (5 inches BY 5 inches), its not the complete book but it has 100 odd pages so I would think that it has good enough to introduce you to what the real book would carry.
I think 'Imagining..' borrows heavily from the works of other people and they tries to distill that information with his own opinions in a essay or factual kind of way. There are interesting things which you learn like 'Population Dividend'. Essentially a concept where large population is not a bane but a boon. This concept is not Nandan's but he has incorporated this in great detail by including the works of lots of economists, with due credit given at multiple places.
In another chapter it talks about various programs which Government of India is pursuing in the areas of land reforms, BPL subsidies, information dissemination , electronification of rural India. Again most of the text is not his but a great collection and a good amount of hard work must have gone to research this.
The book is not very easy to read since its neither a story, nor a travel log, not even a piece of opinion. The closet this book reminds me is 'India
I was talking to someone the other day and I found out that the famous title of Thomas Friedman books was actually Nandan's line, viz. 'The World is Flat'. There is a mention of Thomas at few places in the booklet.
The byline of the title is "Ideas for the new century" and that would make one expect that the book would talk about clear, crisp, implementable ideas. In the booklet, Nandan touches upon the need of having a common identifier for all Indian Citizens. He informs that there is a PAN no for all Tax Payers, there is a Voter Id card for all 18+ registered voters, there is a ration card for BPL folks and then there are Passport IDs, Driving License Nos and so on. Though the need for having a common ID is well felt and people understand that we would get benefit from it, Nandan fails to address the need through a simple idea.
All in all, I would think that one should probably wait for another book from Nandan.
Posted by
Nandan Jha
at
7:39 PM
2
comments
Saturday, December 06, 2008
The New "Honda City 2008" is going to be a rage
The news was out almost 6 months back but Honda would not make it public. "Honda City 2003" model still looked very new and stylish and probably no other car has been able to move them from the top position. Whether its the design or the finesse, so much so that at my workplace, Honda City was the de-facto standard car for anyone who wanted to buy a sedan which is plush, valuable, has good post-sales service and overall a value for the expense.
The new one is not bigger or powerful rather in terms of spec its a tad below than the previous one but it deliver greater performance, power as well as fuel efficiency, and thats something which is credit worthy.
Interior is plusher and have been designed to keep the Indian home maker in mind who prefers to have boxes, small packets and what not when she is taken out by her better half or goes out by herself with her family. 
In terms of audio capabilities, there is no CD Player. Instead you get a USB connector and that's a bold step assuming that iPods are now household items, at least for the junta who drives a car like Hondy City.
The boot is bigger because the fuel tank have been moved. Infact the boot is now bigger than the Civic.
The greatest thing which I liked was the safety. All the models have air-bags and have ABS. Unlike all other vendors (leaving Skoda), they are not restricting the option of Airbags to a particular variant, rather they are setting this as a benchmark. I still remember that when I bought my first 4-wheels, there were no seat-belts on the back seat, now its mandatory. I hope that government makes air-bags as mandatory at least for > 1000 CC segment.
And before I windup, one more salute for the Arrow design which looks so much ahead of its times. Great work Honda Team.
Check more at Honda website
Posted by
Nandan Jha
at
6:37 PM
1 comments
Labels: honda city 2008, review
Saturday, November 29, 2008
Posting in Hindi on Word Press
Its been a while I had this travel blog site called www.ghumakkar.com and for some reason or the other, I was not able to post a story in Hindi. I looked around but found no help. While hunting around, I could see numerous blogs in Hindi and a lot of them were on Word Press and that made the life more difficult. I asked around and somehow it worked for everyone except me.
Then one day, after a ghumakkar asked me this question again, I hunted again and could finally fix the issue. I found the answer here. So I thought that I would probably write a small post detailing the solution since the above forum post can be a little cryptic.
Problem - I am able to get Hindi Text and when I paste it in Word Press Post, it appears fine, but when I save the post it becomes '?????'.
Solution - The relevant property of the SQL fields which decide the encoding for the post body doesn't have the right 'collation' property.
Solution in Detail
If your problem is exactly what I have described about then you can do following. This actually means tinkering with your Word Press database so I would advise against getting adventurous.
Do Following.
1. Find a tool which gives access to your database. In my case its phpMyadmin since I am on www.hostmonster.com.
2. Once you are inside phpMyadmin, click on the relevant database of the wordpress installation. If you have just one site and only one WP then just choose the one which you see. The typical name in the default installation is something like '_wrdp1'.
3. Once you click the database, you would see a list of tables.
4. One by one, Choose the following tables
- wp_option
- wp_comments
- wp_posts
and click 'Edit'.
In Editing mode change "Collation" setting to "utf8_unicode_ci" of following
1. in wp_option -> option_value
2. in wp_comments -> comment_content
3. in wp_posts -> post_content and post_title
Hope this works for you. Happy Blogging.
Posted by
Nandan Jha
at
1:42 PM
1 comments
Wednesday, November 19, 2008
Who is M S Dhoni and why everyone loves him
The title of my story doesn't finish with a question mark. Try reading this
Who is M S Dhoni and why everyone loves him ?
and you realize that something is wrong with the composition.
There is no question behind everyone loving him, its so apparent and clear that no one would have this question and may be thats the precise reason behind every one loving him. The trigger for this story is a 'pari-charcha' (panel discussion) I heard the other day on the government FM channel. India had won their 2nd ODI against England and most of it was because of Yuvraj Singh who played like hell (batting as well as bowling). But surprisingly, the panel expert attributed the win to Dhoni since he thought that it was Dhoni who gave the ball to Yuvi and Viru and that decision turned out to be a winner. I am sure if Yuvi and Viru would have failed, that expert would have still commended Dhoni for trying new faces and for being brave.
For the benefit of some of my readers who may not know enough, Dhoni is the man everyone has his eyes on as far as Cricket is considered. He got us the 20-Twenty World Cup, led India to series Wins in ODI and recently was made Captain for the Test side and there too he gave us a Series Win against Australia.
As per Wikipedia, Mahendra Singh Dhoni (born July 7, 1981 in Lavali Vilage Almora, Uttarakhand) is an Indian cricketer and the current captain of the Indian team. Initially recognized as an extravagantly flamboyant and destructive batsman, Dhoni has come to be regarded as one of the coolest heads to captain the Indian ODI side. Under his captaincy, India won the 2007 ICC World Twenty20, CB Series of 2007-08 and IDEA Cup India-Sri Lanka ODI Series of 2008, the first ever bilateral ODI series win of India in Sri Lanka and The Border-Gavaskar trophy 2008 in which they beat Australia 2-0 thus letting India regain its spot at No.2 in world test rankings(fallen to No.3 after Sri lanka tour). Dhoni is currently ranked the best ODI batsman in the world by the ICC. [1] Mahendra Singh Dhoni was awarded the ODI Player of the Year award in 2008, the first Indian player to achieve this feat.
Now add to this the fact that he also happens to be largest Tax Payer in his home state of Jharkhand. With so many endorsements and so much of new-age cricket (IPL, Champions' League and so on), I am sure that he is going to keep that spot for some more years.
Having learned enough of him, I still wonder that why everyone loves him. I attributed my fan-ship to the fact that I belong to Bihar and he seemed like a nice small town guy from the next town. But then its not only me, its everyone.
And after lot of thought, I guess the reason is that he doesn't come from a existing bastion of Indian Cricket. He is no Sachin (Mumbai), nor Rahul (blr) and definitely not Saurav (Bengal). He is from a place which is probably as in-significant from Cricket perspective that it doesn't matter whether you lap the place or ignore it. And from the same perspective, if I own him as a Marathi or Kannadika or a Punjabi, I do not feel odd. To me he is like from my little town. The disguise has acted as a blessing.
I was brought up in the age of Kapil Dev and I was a huge fan of him till late, and later I lost all interest in the game. But recently that interest has again re-kindled and I love watching Dhoni.
I somehow think that this is our best chance to get the 'World Cup'.
Go Dhoni Go !!
Posted by
Nandan Jha
at
9:52 PM
0
comments