Re: Regex gate patterns

Joshua <[email protected]> Sat, 30 Apr 2005 08:03:08 -0600
Newsgroups gmane.comp.lib.nexista.devel
Message-ID <[email protected]>
  <map:gate name="regex:*" > 

On another note.... I am thinking of killing the map:sql and just turn it into 
a map:script. The only thing the sql builder does now is call query->process 
which needs to be able to be turned off or activated manually (i.e. in the 
sql definition file) for cases when you do not want the db data dumped in 
flow. If I make it so that it has to be called in the query file:
 
    SqlHandler::setName('listing');
    SqlHandler::setConnection('lotus');
    SqlHandler::setPaging($start,$limit);
    SqlHandler::setQuery($sql);
  SqlHanlder::process(); <!-- added this

Than the sql builder has nothing in it :)  kinda pointless. So the above can 
be called from a map:script tag. It's up to you if you want to keep queries 
separate still or mix them. 
What do you think?


On Saturday 30 April 2005 9:04, Albert Lash wrote:
> This used to work, but now does not:
>
>     <map:gate name="*" match="regex">
>      <map:xsl src="../shared/xsl/placeholder.xsl" />
>     </map:gate>
>
> On Sat, 30 Apr 2005, Albert Lash wrote:
> > Hello,
> >
> > How about regex gate matching? The last Nx upgrade we worked something
> > out, but now its not working. Sitemap.php is gone, but I see some stuff
> > in init.php. How about it?
> >
> > Al