If so, link to it. If not, link to a search engine. Perhaps the CGI script just functions as a spell-checker. The basic enhancements of this and the other CGI scripts below is that images should still display from the original page. Also when links are followed, the new page should be put through the CGI script as well.
Input is web page.
Tries to extract all the locations on the page and link them to some online map. Output is this new web page with all these words linked. Alternatively, link to a choice of online maps. Also see basic CGI enhancements above. Enhancement - Link each month to a second CGI script which displays calendar for that month.