[geeklog-users] Auto-parsing for URLs

Dirk Haun dirk at haun-online.de
Tue Feb 4 12:22:44 EST 2003


Kyle Rove <krove at pyramid.net> wrote:

>What is this function actually modifiying.

It doesn't change anything. It just makes URLs clickable on the Admin's
moderation page, e.g. when someone posts a link or has a link in a story
title.

I thought you were asking for how to parse for URLs so that you could
write the functionality yourself? This regexp does that.

The problem I see is that you either need to parse the story every time
it is displayed or you need to change the story's type from plain text to
HTML (to make the links work) - but that could have unwanted side effects
on other parts of the story.

bye, Dirk


-- 
http://www.haun-online.de/
http://geeklog.info/




More information about the geeklog-users mailing list