• Greetings:

    I’m trying to convert an intranet site over to to WordPress and I’m running into a snag and was hoping someone here could give me some pointers.

    Right now, I have an existing search engine that indexes external files (pdf, data files, images etc.) and can be called as a cgi script, i.e.:

    http://my.domain.com/cgi-bin/searchengine.cgi?query=foo&parameter=bar

    The user sets parameters via an html form which should then call the cgi script with the appropriate variables. The cgi script returns a list of links to local files for the user to view.

    My question is: how can I call the cgi script from within wordpress and get the results integrated back into wordpress? I’d like the results to appear either in a page or in the posts area.

    Again, the code for doing the searches already exists and works (the cgi script is perl running under lighttpd if that matters). I just need to put the results in an appropriate place in wordpress. Is there some plugin I haven’t found yet that can do this for me?

    Any help is appreciated.

  • The topic ‘Display results from an external cgi’ is closed to new replies.