I've written my own script to parse the XML files of several blogs on my site (whose templates have been altered to fit my needs). The script takes information that it finds there, and creates an shtml file with summaries of my blogs entries -- Title, what blog is if from, excerpt, posted by and when, link to the blog index.shtml#entrynum. I'm taking this file and including it in my main index for my site, so visitors can see what is new on my blogs without having to visit each one.
My question is, how do I make this Perl script run whenever one of the blogs is updated -- i.e., run when a new entry is made to any blog? Otherwise I have to run it manually anytime someone makes a new entry or edit, or use it as a CGI included in my main index, which will cause undue stress to my poor webserver.
Thanks for the help.