Recently I came across a collection of comments online that were are evidently part of a comment generation script. Fascinated by this, I wrote some code to select the random words / phrases and piece them together into their intended stupid sentences.

As an example of how this works, have a look at the following line:

Woah! I’m really (loving\enjoying\digging) the theme of this (site\website\blog).

By running a script that randomly selects a word from each set of brackets and then replaces each set of brackets and their content with their respectively selected word, nine different (though similar) sentences can be produced from the single line. The combinations are shown below:

Woah! I’m really loving the theme of this site.
Woah! I’m really loving the theme of this website.
Woah! I’m really loving the theme of this blog.

Woah! I’m really enjoying the theme of this site.
Woah! I’m really enjoying the theme of this website.
Woah! I’m really enjoying the theme of this blog.

Woah! I’m really digging the theme of this site.
Woah! I’m really digging the theme of this website.
Woah! I’m really digging the theme of this blog.

Obviously, the more word options and brace sets per line, the more combinations that can be produced. The posts below are randomly generated from lines in this way:

1.
"Hello there, I discovered your website by the use of Google whilst looking for a related topic, your web site got here up, it appears great. I have bookmarked it in my google bookmarks."
2.
"Hi, just wanted to tell you, I loved this article. It was helpful. Keep on posting!"
3.
"I absolutely love your website.. Pleasant colors & theme. Did you build this amazing site yourself? Please reply back as I'm trying to create my very own website and would like to learn where you got this from or exactly what the theme is called. Kudos!"
4.
"Greetings from Idaho! I'm bored to death at work so I decided to check out your blog on my iphone during lunch break. I really like the knowledge you present here and can't wait to take a look when I get home. I'm shocked at how quick your blog loaded on my mobile .. I'm not even using WIFI, just 3G .. Anyhow, great blog!"
5.
"Hello just wanted to give you a quick heads up. The words in your post seem to be running off the screen in Firefox. I'm not sure if this is a formatting issue or something to do with web browser compatibility but I figured I'd post to let you know. The layout look great though! Hope you get the problem resolved soon. Cheers"

This is not intended as a how-to guide on how to be a spammer, but rather to inform on the sneaky way the comments are generated.

Note that all the comments are positive and complimentary / congratulatory with the hope of the recipient believing they are hand-typed, feeling flattered and allowing the comments to appear on their blog. Usually they are posted with a back-link to the spammer’s website which is the whole purpose.