If I understand your request right you would have to write a custom
input module or an action if you want to do something "special" with a
request paramter.

Reinhard

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 26, 2003 12:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Can I do this?
> 
> 
> It's really working :) Thanks ! :)
> 
> I just have one problem, if I search for two terms it goes as 
> term1+term2 and it produces no results, as well if i type 
> them under quotes, like "term1 term2" :|
> 
> Can I parse the querystring on the fly ?
> 
> Thanks
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 25, 2003 11:01 PM
> Subject: Re: Can I do this?
> 
> 
> > Oops... forget it I've changed the wrong cocoon.xconf (I'm 
> working on 
> > the network, but have changed local file :| ), it's now error free:)
> >
> > Thanks
> >
> >
> > ----- Original Message -----
> > From: "Reinhard Pötz" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 25, 2003 10:56 PM
> > Subject: RE: Can I do this?
> >
> >
> > Which cocoon version do you use?
> >
> > If you use 2.04 it seems to me that input modules are not 
> supported by 
> > the compiled sitemap. But I'm not sure because I've been 
> using Cocoon 
> > 2.1dev for month (interpreted sitemap and input modules 
> work). But be 
> > warned - Cocoon 2.1 is still alpha!!! But I think this will 
> change in 
> > the nearer future.
> >
> > Regards,
> > Reinhard
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, March 25, 2003 11:48 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Can I do this?
> > >
> > >
> > > Thanks :)
> > >
> > > I've added them into cocoon.xconf, but know i'm having this:
> > >
> > > message Error while creating node 'generate' at file:/C:/Program 
> > > Files/Apache Group/Tomcat 
> > > 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147
> > >
> > > description 
> > > org.apache.avalon.framework.configuration.ConfigurationExcepti
> > > on: Error while creating node 'generate' at file:/C:/Program 
> > > Files/Apache Group/Tomcat 
> > > 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147
> > >
> > > that's here:
> > >
> > >       <map:match pattern="do-search">
> > >
> > > <map:generate type="file" 
> > > src="http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.
> > > fcgi?db=pubmed
> > > &amp;term={request:query}&amp;retmax=200"/>
> > >         <map:transform type="xslt" 
> src="stylesheets/pubmed2html.xsl"/>
> > >         <map:serialize type="html"/>
> > > </map:match>
> > >
> > >
> > > I'm doing anything wrong? Or do I need to use, <input-module 
> > > name="request"/> ?
> > >
> > > TIA
> > >
> > > Joao Cesar
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Reinhard Pötz" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, March 25, 2003 10:29 PM
> > > Subject: RE: Can I do this?
> > >
> > >
> > > Checkout input modules - they should be available in 2.04. They 
> > > grant you easy access to the request parameters.
> > >
> > > <map:generate type="file" 
> > > src=http://blablabla?term={request:query}/>
> > >
> > > Regards,
> > > Reinhard
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, March 25, 2003 10:54 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Can I do this?
> > >
> > >
> > > Can I (?) do anything like this:
> > >
> > > <map:match pattern="search?query=*">
> > >         <map:generate type="file" src=http://blablabla?term={1}/>
> > >         <map:transform type="xslt" 
> src="stylesheets/search2html.xsl"/>
> > >         <map:serialize type="html"/>
> > > </map:match>
> > >
> > > I've found that if I do (...) pattern="*.search"> (...)  
> it works, 
> > > and i can do for example "search phrase".search in the 
> address bar 
> > > and it matches with the generate prototype.. but i want 
> to use that 
> > > notation to match a GET form.
> > >
> > > Thanks
> > >
> > > João César
> > > [EMAIL PROTECTED]
> > >
> > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to