<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sphinx Tip &#8211; Multiple config files</title>
	<atom:link href="http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/</link>
	<description>My thoughts and findings on PHP, MySQL and all things web development.</description>
	<lastBuildDate>Mon, 14 May 2012 08:08:10 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pablo</title>
		<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/comment-page-1/#comment-902</link>
		<dc:creator>pablo</dc:creator>
		<pubDate>Tue, 23 Feb 2010 08:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://mwillis.co.uk/?p=126#comment-902</guid>
		<description>too much thx ;) )</description>
		<content:encoded><![CDATA[<p>too much thx <img src='http://mwillis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Willis</title>
		<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/comment-page-1/#comment-900</link>
		<dc:creator>Mark Willis</dc:creator>
		<pubDate>Mon, 22 Feb 2010 14:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://mwillis.co.uk/?p=126#comment-900</guid>
		<description>adding:
#!/usr/bin/php

as the very top of the config will make it look for the php exec when the config is loaded. So you could use any type of parser (perl, ruby etc maybe?)

Mark</description>
		<content:encoded><![CDATA[<p>adding:<br />
#!/usr/bin/php</p>
<p>as the very top of the config will make it look for the php exec when the config is loaded. So you could use any type of parser (perl, ruby etc maybe?)</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pablo</title>
		<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/comment-page-1/#comment-899</link>
		<dc:creator>pablo</dc:creator>
		<pubDate>Mon, 22 Feb 2010 13:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://mwillis.co.uk/?p=126#comment-899</guid>
		<description>you do this in the sphinx.conf.dist directly?? this file suport php?? thx ;)</description>
		<content:encoded><![CDATA[<p>you do this in the sphinx.conf.dist directly?? this file suport php?? thx <img src='http://mwillis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo</title>
		<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/comment-page-1/#comment-30</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Wed, 16 Sep 2009 14:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://mwillis.co.uk/?p=126#comment-30</guid>
		<description>Thanks to you for the fast reply. :-)</description>
		<content:encoded><![CDATA[<p>Thanks to you for the fast reply. <img src='http://mwillis.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Willis</title>
		<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/comment-page-1/#comment-27</link>
		<dc:creator>Mark Willis</dc:creator>
		<pubDate>Tue, 15 Sep 2009 09:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://mwillis.co.uk/?p=126#comment-27</guid>
		<description>Thanks Paolo. I&#039;ve just updated the post - seems that the code got cut out when I posted it up.

&lt;?php
 $files = scandir(&quot;/usr/local/etc/sphinx_confs/&quot;);
 foreach($files as $key =&gt; $value){
 if($value != &quot;.&quot; &amp;&amp; $value != &quot;..&quot; ) {
 include(&quot;sphinx_confs/$value&quot;);
 }
 }
?&gt;
after you scan the directory you want to use for configs $value holds the filename (and we ignore . and ..)</description>
		<content:encoded><![CDATA[<p>Thanks Paolo. I&#8217;ve just updated the post &#8211; seems that the code got cut out when I posted it up.</p>
<p>< ?php<br />
 $files = scandir("/usr/local/etc/sphinx_confs/");<br />
 foreach($files as $key =&gt; $value){<br />
 if($value != "." &amp;&amp; $value != ".." ) {<br />
 include("sphinx_confs/$value");<br />
 }<br />
 }<br />
?><br />
after you scan the directory you want to use for configs $value holds the filename (and we ignore . and ..)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PAolo</title>
		<link>http://mwillis.co.uk/sphinx/sphinx-tip-multiple-config-files/comment-page-1/#comment-26</link>
		<dc:creator>PAolo</dc:creator>
		<pubDate>Tue, 15 Sep 2009 09:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://mwillis.co.uk/?p=126#comment-26</guid>
		<description>where do you assign a value to $value?!</description>
		<content:encoded><![CDATA[<p>where do you assign a value to $value?!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
