> Well, actually, I'd like the link creation to be automated (hopes it's > not a dream...!): the user would just enter his text normally in the > asp.net page, and the latter would detect which words -if any- > correspond to existing flexwiki's topics (I assume by calling some > existing or new methods in flexwiki.dll) and then either render the > text > as hyperlinks at display time or store the text as hyperlink with the > asp.net's database. > > So the key in my mind would be to have flexwiki offering an external > "method" (dll call, web service...) which would take a string as > parameter and return an url (or a bool) when this string corresponds to > a topicname. > > Does that already exist? more or less?
Hmm. Not really, although the pieces are there to put something like that together. If I were going to do it, I'd probably code it up as a simple additional web page in FlexWiki. Maybe something like NameResolver.aspx. I'd have the page return an XML result. Then you could do lookups by hitting a URL like http://your.server.com/wiki/NameResolver.aspx?input=FooBar, parse the result into an XML document, and look to see what the answer was. (This is essentially a small REST-style web service.) This would have the advantage of running in the FlexWiki web application, which means all the setup required by the FlexWiki engine is already done for you. The key class you want to become familiar with is the one called LinkMaker. Make sense? If you decide to pursue this route, feel free to ask questions here on the list, of course (no need to email me personally). ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users