I was looking through the blog comments of an Alexa top 20,000 site, and I noticed something odd: when a comment is viewed in the source (or in Firebug with JS turned OFF) the author's name is written like this:
<cite class="fn"><a href='http://example.co.uk' rel='external nofollow' class='url'>Example</a></cite>
What they are doing here is they have a static list of comments cached, using the HTML above, but when the page is loaded with JS, it AJAX calls a database of comments (the same as the static cached comments) but when it loads (it takes about 10 seconds) the same comments are written as below (this time viewed in Firebug with JS turned ON)
<p class="idc-i"><a href="http://example.co.uk"> Example </a><em class="idc-time"></p>
To be clear this is the EXACT same part of the page with the exact same comment below (not shown in these examples), the only part I've changed in the above code is changing the link and anchor tag to example.
Any idea why they would want to do this?
Which version of the code would a search bot see, as I believe they now process JS when the scrape a page?
I don't really want to disclose the name of the site as I fear it will be spammed if it is indeed allowing to follow blog comments on such a high profile site.