Home › Forums › JavaScript › getting rid of the time stamp on my twitter feed › Re: getting rid of the time stamp on my twitter feed
May 27, 2010 at 2:51 pm
#76664
david_v
Member
Hi Kloy,
You have two options:
1. Set the anchor tag to display none.
Code:
.tweet_time a { display: none; }
2. Modify the JS file to provide an option to display the date.
Line 18 & 19:
Change this:
Code:
query: null // [string] optional search query
};
};
To This:
Code:
query: null // [string] optional search query
date: 1 // [integer] 1 = yes, 0 = no
};
date: 1 // [integer] 1 = yes, 0 = no
};
Line 148
Change this:
Code:
var date = ‘‘+relative_time(item.created_at)+’‘;
To This:
Code:
var date_template = ‘‘+relative_time(item.created_at)+’‘;
var date = (s.date ? date_template : ”);
Finally, add the date option to your HTML page:
Code:
Best regards,
David