hello, i have had an idea for a Perl CGI script for some time. it would
use Template-Toolkit at it's heart, but also use XML::Simple (or some
other XML reading module) and maybe XML::RSS.

it would be a CGI script that would present a webpage to visitors. it
would use a HTML file for the template (eventually i want the script to
allow the visitor to specify alternate templates using something like
'?template=chrome' in the URL address, but that is down the road a
ways.). as for the content itself that it inserts into the template,
that will be held in an XML file (hence the XML::Simple) or files
somewhere on the site, or maybe even offsite.

the real purpose of the CGI script would be to maintain 'dynamic links'.
meaning i would keep a set of links and link info marked up in XML
(already have the structure and some examples), contained in XML files
through-out the site. the template *and* the XML-zed content contained
in the other XML files will have TT2 variables representing pages,
files, or other links.

when the CGI page is visited by a user, the template is read, the
content is inserted into the template, and then the needed links are
inserted into the content.

i have a "push" script that does this already, meaning i run it once,
and it fetches the link and content xml files, and inserts them into the
templates, automatically placing the finished webpages through-out the
site. i now want to turn it into a "pull" script, that pulls the
information to it, instead of casting it out over the site.

my question: does anyone know of a open source application that already
does something like this? while i'd love to do this myself, i'd hate to
spend the time when it already exists.

thanks all.


Reply via email to