How about a "from" on the Twitter HTML/CSS badge for my blog's sidebar
I have twitter's html/css badge on my blog and it works fine (well, it does when twitter's up, anyway). But, I'd like it to show where I posted the tweet from, just like it does on the Twitter web page, e.g.
<...tweet...> about 8 minutes ago from Hahlo
Currently the badge only shows the time when I tweeted.
Anyone know if including the "from" is possible?
<...tweet...> about 8 minutes ago from Hahlo
Currently the badge only shows the time when I tweeted.
Anyone know if including the "from" is possible?
1 person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
-
Inappropriate?You would need to: make your own copy of the http://twitter.com/javascripts/blogge... file and put it on your own web server and change the javascript include line in your web page to point to that file; or change the name of the twitterCallback2 function and include it directly in your blog template. Then edit the twitterCallback2 function and include the value twitters[i].source in the statusHTML assignment statement.
So that line might look like:
statusHTML += ('- <span>'+twitters[i].text+'</span> '+relative_time(twitters[i].created_at)+' from '+twitters[i].source+'
')
Sorry if that seems really complicated. I can't think of a better way to describe this. -
Inappropriate?That worked perfectly. Thanks.
It'd still be nice if this was an option on the twitter/create badges page, though!
I’m happy
Loading Profile...


