Grammatically Correct Comment Count

From Bloggerhacks

(Difference between revisions)
(Initial creation of page)
Line 1: Line 1:
==Platform==
==Platform==
-
Use for [[Blogger]].
+
For use with [[Blogger]] blogs.
==Author==
==Author==
Line 9: Line 9:
==Homepage==
==Homepage==
-
[http://blogfresh.blogspot.com/2006/05/grammatically-correct-comment-count.html#c114814301685524580 Freshblog]
+
[http://blogfresh.blogspot.com/2006/05/grammatically-correct-comment-count.html#c114814301685524580 Grammatically Correct Comment Count]
==Skill Level==
==Skill Level==
-
Novice. Requires [[Blogger template]] editing and insertion of a simple JavaScript.
+
You must be comfortable with editing your [[Blogger template]].
==Description==
==Description==
Line 21: Line 21:
==Method==  
==Method==  
-
* Edit your [[Blogger template]] to include four lines of JavaScript.
+
# Edit your [[Blogger template]] to include four lines of [[JavaScript]], per the [http://blogfresh.blogspot.com/2006/05/grammatically-correct-comment-count.html#c114814301685524580 instructions].
==Sites Using This Hack==
==Sites Using This Hack==
-
[http://the-lastword.blogspot.com Aditya]
+
* [http://the-lastword.blogspot.com Aditya]
[[Category:Hacks]]
[[Category:Hacks]]
[[Category:Comments]]
[[Category:Comments]]

Revision as of 17:08, 25 June 2006

Contents

Platform

For use with Blogger blogs.

Author

Aditya

Homepage

Grammatically Correct Comment Count

Skill Level

You must be comfortable with editing your Blogger template.

Description

This hack addresses the problem of correctly handling plurals with comments. For example, it should read 0 comments, 1 comment or 2 comments etc. That is, comment should be plural for all cases except when there's a solitary comment.

Method

  1. Edit your Blogger template to include four lines of JavaScript, per the instructions.

Sites Using This Hack

Personal tools
FreshTags