Gila is designed to retrieve information about a specific webpage. It's particularly useful when you have a page where contents change frequently (such as a "What's New" list or "Today's News" page). With Gila, as the contents of a page change, links to that page can change automatically.
At the simplest level, Gila can be utilized as a "last updated" detector, allowing you to display on an index page the date that a file was last modified, with that display automatically hyperlinked to the file page.
Gila can also generate "plugs" for a cover page, including not only the name of the page but also the META-description (which can change over time to automatically reflect the new information in that page). Similarly, Gila can even return the primary keyword of a document as part of this plug.
Gila Syntax
DynaDex Gila is called as a Server Side Includes "exec command", using the syntax:
<!--#exec cmd="/dirpath/gila.cgi [mode]/URLpath/page.html"--> (UNIX)
Note for NT users: the same SSI commands may be used with one exception: you must specify the full pathname for your Perl interpreter to precede the dynadex script file location. For example:
<!--#exec cmd="/perl/bin/perl.exe/dirpath/gila.pl [mode]/URLpath/page.html"--> (NT)
Where "dirpath" is the physical directories to the location of Gila, for example:
/www/cgi-bin/dynadex/
"URLpath/page.html" is the location of the page to retrieve information from, for example:
/pressreleases/0944.html
and "[mode]" is one of the following four commands:
date - return only the date of the document's publication (hyperlinked to the page) for the specific document.
title - return only the title of the document (hyperlinked to the page) for the specific document.
desc - return the title of the document (hyperlinked to the page), and the META-description for the specific document.
key - return only the first META-keyword (hyperlinked to the page) for the specific document.