"Jase Wells" <[EMAIL PROTECTED]> writes:

> > Date: Thu, 25 Aug 2005 14:03:15 -0400
> > From: Lisa Hagemann <[EMAIL PROTECTED]>
> > Subject: [htdig] Using 3.1.6 with HTML::Mason -- possible?
> > 
> > Is anyone using ht://Dig with HTML::Mason and/or mod_perl? I 
> > saw that there was a patch for 3.1.5 issued in 2001 
> > (url-for-template), and was wondering if that was the only 
> > solution, or if there are other ways to incorporate the Mason 
> > handlers into the search page display.
> 
> I use HTML::Mason to generate our Intranet pages, and htdig 3.1.6 is
> used for search. I'm not using any patches to htdig, though. Instead, I
> have a Mason component that acts as the search form and simply calls
> htdig via the command-line. I've got htdig configured to return results
> formatted as XML (using a custom template), so the Mason component just
> parses the XML and displays the results in a custom way.
> 
> Nothing here is really specific to HTML::Mason or Perl; you could do the
> same thing in PHP or pretty much any other environment.

I'm using a similar approach, in Template Toolkit rather than Mason
(but same issues need to be dealt with).   I have custom template
pages for htsearch, and I run it as an external program in my CGI
script and parse out the useful bits (easy because I set up the
template to make it easy) and present them in my format.
-- 
David Dyer-Bennet, <mailto:[EMAIL PROTECTED]>, <http://www.dd-b.net/dd-b/>
RKBA: <http://noguns-nomoney.com/> <http://www.dd-b.net/carry/>
Pics: <http://dd-b.lighthunters.net/> <http://www.dd-b.net/dd-b/SnapshotAlbum/>
Dragaera/Steven Brust: <http://dragaera.info/>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to