14 years 8 months ago
Hi David,
The problem with the text being the link is that it often contains links within it to url's and search terms.
I'd suggest you choose some custom text like 'latest tweet' to be placed instead of the date that will link back.
Edit the same file.
Undo the last change you made to return it to the original.
Edit line 130:
var date = '<a href="
twitter.com/'+item.from_user+'/statuses/'+item.id+'" title="view tweet on twitter">
'+relative_time(item.created_at)+'</a>';
Replace the highlighted text with your custom text.
If you're displaying only one tweet then 'latest tweet' would be fine but if you're showing more than one tweet, you could just put your username there.
Ultimately it's your call
Cheers,
Jason.