[geeklog-devel] State of the Na^Wproject

Dirk Haun dirk at haun-online.de
Sat Oct 30 16:10:40 EDT 2004


Okay, I think I've fixed the issues with personal events (see CVS). Here
are a few remaining issues:

As mentioned in my other post, the regexp in COM_makeClickableLinks could
need some work.

Actually, I've been thinking if it was a good idea to do the parsing for
links at display time. We've seen that parsing for the "related" links in
stories used a lot of CPU power (hi to groklaw.net) - and now that that
has been resolved, we're doing the same thing again elsewhere.

The same applies to the autotags / autolinks.

For the clickable links in text posts, it would be possible to do the
parsing when they are saved (both comments and stories), although there
are one or two issues with that:

1) Should we undo the change when a plain-text story is edited later?
2) Comments don't store whether they had been posted in plain text or
HTML - that's done at display time by running yet another regexp over
them. So maybe it would make sense to convert them to "pseudo HTML" (i.e.
clickable links + nl2br) when saving them). But that would mean that old
comments would have to be converted.

The whole point of autolinks, however, is that they ARE dynamic, so I
guess the only way out there is to introduce an option to disable them.

Thoughts on this?


Vinny, how are things re: comments in plugins?

That's all I can think of at the moment (well, it's enough ...).

bye, Dirk

P.S. I'll be offline for the next couple of days (back Thursday).


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




More information about the geeklog-devel mailing list