in reply to Using Perl & PHP together
Template::Toolkit has a [% INCLUDE section %] tag where you can setup 1 template to handle the css linking for the entire site. You can easily convert the frames to templates with a simple script. Just setup each of the frames as a template and include them during the content conversion.
Very Simple Template Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>FOOBAR</title> [% INCLUDE css %] </head> <body> <table> <tr> <td colspan="2">[% INCLUDE top_nav %]</td> </tr> <tr> <td>[% INCLUDE side_nav %]</td> <td> Insert your content here </td> </tr> </table> </body> </html>
|
|---|