Off the top of my head there are 2 ways to do this. Add a class to
each link and use CSS/JS or use JS to search the page content for
links and modify them on the fly.

For an example of the later check out:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/extlink/extlink.js?revision=1.4.2.7&view=markup

It is JS specific to Drupal so it would have to be modified but the
basics should work. You could also check out the Mediawiki source code
as it has this functionality as well.

Abraham

On Thu, Jun 25, 2009 at 20:43, jefbak<[email protected]> wrote:
>
> Regular expression to find and replace the in-tweet links??
>
>
> On Jun 24, 9:49 am, jefbak <[email protected]> wrote:
>> I  am trying to figure out what css/script would be required to take a
>> link posted in a tweet and style it so that it shows as an icon
>> instead. This way we can display our twitter stream on a web page with
>> nice graphics instead of text URLs showing up in tweets that have
>> links.
>>
>> Has anybody tried this? I have seen an example here:http://www.oberlin.edu/
>



-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.

Reply via email to