memobug
11-12-2004, 06:42 PM
Perl?
1. Is it possible to include a Perl program as a module? or as Custom Page Content?
Including a Cached HTML file?...
2. Is there an easy way to get a simple HTML file into a module? I know I could copy it into a template, but it's changed dynamically every 15 minutes, so I really can't.
It's a cached news.html file on my server generated by a news script. I have the feeling there should be an easier way than what I am doing, which is nasty: using a PHP module to read it in, store it in a variable and print it out with another template. Nasty! There has to be a better way!
Regards,
Matt
1. Is it possible to include a Perl program as a module? or as Custom Page Content?
Including a Cached HTML file?...
2. Is there an easy way to get a simple HTML file into a module? I know I could copy it into a template, but it's changed dynamically every 15 minutes, so I really can't.
It's a cached news.html file on my server generated by a news script. I have the feeling there should be an easier way than what I am doing, which is nasty: using a PHP module to read it in, store it in a variable and print it out with another template. Nasty! There has to be a better way!
Regards,
Matt