From: Steve W. <sw...@wc...> - 2000-07-15 18:14:04
|
On Sat, 15 Jul 2000, Arno Hollosi wrote: > One wish I have is this: make the wiki_transform generic enough, so > that it can be used for savepage as well. Let me explain: sooner or > later we want to populate the wikilinks database table. In order to > get the outgoing links they have to be extracted from the document at > save time. Extracting those links is exactly what wiki_transform does > right now (among other things). > > So some sort of PreparePage() or AnalyzePage() which transforms the > wiki markup into a semi-state with placeholders and separate arrays > for wiki links and external links would be most useful. It could then > be reused in wiki_savepage. This would allow the renaming of pages as well, and all links for that page would be changed automatically, e.g. SteveWainsteadEatsWorms to SteveWainsteadIsANiceGuy. sw ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |