From: <mar...@we...> - 2005-04-22 16:38:17
|
Reini Urban napisał(a): > > Sure. You need to create a special InterWikiMap entry, which maps all > words with a special prefix to a special url. > like > Synset:Unknown => > http://synonimy.sourceforge.net/synset?word=foobar Yeah, that's a good idea. This works definitely. > phpwiki marks all unknown pages by some class, and all known words > with some other class. > so you have to map/generate all your words of your database to the > wikidb. > easiest done by regularly importing pregenerated plain textfiles, without > overwrite. just create missing pages. How do I do that with PhpWiki running on MySQL? Please take into account that I have over 22,000 words, and generating single text files for all of them doesn't seem a best idea... Or should I simply create page records for all the words in my dictionary? > Easier will be to create a hook which looks into a seperate database on > unknown pages (such as imdb.com) and fill the page by data from the > external database combined with some template. That means I can create a hook that could be spawned by clicking the link of the unknown page? BTW, my first impression is quite good, but the Sidebar theme apparently needs some fixing :( Regards, Marcin |