From: Alex M. <alex@OWAL.co.uk> - 2003-01-07 16:42:44
|
Hi folks, I want to modify one of my slash virtual sites so that when it displays a line of the form Author: Ian Banks it gets automatically converted to Author: <a href="http://mysite.com/cgibin/blah.pl?Ian+Banks">Ian Banks</a> I want to do this for a number of attributes including Title, Publisher, and so on. My problem is that I thought I could do this by modifying article.pl However it looks like article.pl doesnt actually use the article bodytext. It merely specifies the story id and then gets slashDisplay to do the displaying. I can't modify slashDisplay to do this since it is used by other virtual sites which may not want this functionality - or more likely will have their own modifications. Any ideas with this? Perhaps I should add an (optional) callback to slashdisplay which filtered the bodytext? Alex Available for java/perl/C++/web development in London, UK or nearby. Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, First meeting free.http://www.OWAL.co.uk/ |