RE: Wrapper configuration

"Georgina Allbrook" <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
Hi Jon,

I think what you may be wanting to do is to call htsearch indirectly,
See http://www.htdig.org/FAQ.html#q4.7

So what you would do is call the htsearch cgi within your page rembering
to include the querystring
E.g.       <!--#include virtual="/cgi-bin/htsearch?$QUERY_STRING" -->


Hope this helps,
Georgina


> From: "Jon Sumpster" <[email protected]>
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [htdig] Wrapper configuration
> Date: Mon, 21 Mar 2005 08:59:39 +0000
> 
> Hi Jim,
> 
> Yes, on reflection (and review of the documentation) I seem 
> to have made an 
> incorrect assumption; that as ht://Dig is able to use URLs 
> for certain 
> parameters (e.g. start_url) that it would be able to use URLs for all 
> parameters. It's a shame that it doesn't.
> 
> I wonder if you might have any pointers for my situation; in our 
> application, the 'wrapper' is an HTML page that's content is 
> dynamically 
> rendered when it's URL is called, and in which the 
> appropriate content (such 
> as links, images, styling etc.. which can change over time) is placed.
> 
> In order to retain the dynamism I need to be able call the 
> standard wrapper 
> URL into which I insert the results of the search (by placing 
> the marker in 
> the appropriate position); the only apparent alternative is 
> to create a 
> static wrapper page which resides in the common directory, 
> but then that 
> needs updating as the design of the site changes, something 
> that I was 
> hoping to avoid as it defeats the 'change once, apply 
> everywhere' principle.
> 
> Is there perhaps a way that we can call the htsearch program 
> to return a 
> stream rather than an HTML page, which can then be 
> manipulated and placed in 
> the required position?
> 
> Any thoughts gratefully received!
> 
> Best Regards
> 
> Jon
> 



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_idh82&alloc_id148&op=click
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.