Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 368: | Line 368: | ||
var created = parseDate(data[i].created_at); | var created = parseDate(data[i].created_at); | ||
var createdDate = created.getDate()+'-'+(created.getMonth()+1)+'-'+created.getFullYear()+' at '+created.getHours()+':'+created.getMinutes(); | var createdDate = created.getDate()+'-'+(created.getMonth()+1)+'-'+created.getFullYear()+' at '+created.getHours()+':'+created.getMinutes(); | ||
- | tweet = | + | tweet = tweet.parseURL().parseUsername().parseHashtag(); |
//alert(tweet); | //alert(tweet); | ||
$("#twitter").append('<li><a class="what" href="https://twitter.com/#!/MBioinformatics/status/'+data[i].id_str+'"></a></li>'); | $("#twitter").append('<li><a class="what" href="https://twitter.com/#!/MBioinformatics/status/'+data[i].id_str+'"></a></li>'); |
Revision as of 20:06, 15 October 2012