I have some HTML that is generated regularly, a kind of news recap. Currently, I have added the HTML plugin, manually dump the HTML whenever it changes. This is obviously way too much work
What I'd really like is to have a big fat Include() in that plugin. Perhaps I could copy the plugin and modify it so that it does this include instead of the database SELECT? Before I start hacking and kludging, has anyone already done this?
However you could of course also build up your own plugin that uses your own PHP code inside the 'Generate_content' method, then you don'T need a generic include stuff.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Well, the php plugin didn't ever install on my (old version) setup.
What I did is pretty disgusting, but it works. I just replaced the $content= with a readfile("myname.htm"). Very kludgy, I know but it works fine. I never have enough time to do things right, I really should write a plugin that simply allows you to name an HTML file and read it in, what is what my kludge does in one line of php.