I'm having a problem with Google indexing the timestamp of each tweet on my website (after its pulled into the site) and identifying the word "ago" as one of my website's top keywords.

Obviously, this is more annoying than anything (it isn't causing a lot of harm), but it would be really nice to be able to modify the wording of the timestamp, or remove the timestamp all together. Looking over my keywords in Google Webmasters, its really annoying seeing the word "ago" as my #2 keyword, and I do have to wonder if its messing with my SEO at all.

I've tried editing twitter_views_field_handlers.inc by commenting out this line entirely, but that doesn't seem to fix the problem:
$status->time_ago = t('%time ago', array('%time' => format_interval($time_diff, 2)));

I've also just tried taking out the word "ago" from that text string, and that doesn't get updated on the website either (even after clearing the site's cache).

So this is a mix between a support request and a feature request.
1) The feature would be awesome
2) But more importantly, how can I get rid of this in the code (until the feature is built in, if it ever is)?

Comments

DavidWhite’s picture

Issue summary: View changes
damienmckenna’s picture

Status: Active » Fixed

Please a) update to the latest -dev snapshot (or wait a few days for the new v5.9 to be released), b) implement template_preprocess_twitter_status() and adjust the $variables as needed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.