Hi,
I am using a Twitter plugin which outputs tweets as plain text. I would like to take the usernames and create links to their profiles from the text.
So I would like…
Coffee’s great @WickedCoffeeCo @StuGoulden. Just not when you’re already in a mood.
To become…
Coffee’s great @WickedCoffeeCo [URL=“http://twtiter.com/StuGoulden”]@StuGoulden. Just not when you’re already in a mood.
So I’d like the script to read the text (which will be in a div with an ID of “tweets”) and grab each @username and create
<a href="http://twitter.com/username">@username</a>
Is this possible? jQuery is already running if that helps : )
Many thanks