Forums

Display results from an external cgi (1 post)

  1. cryogen
    Member
    Posted 11 months ago #

    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.

Reply

You must log in to post.

About this Topic