<?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: Random Products on Front Page</title>
	<atom:link href="http://www.clubosc.com/random-products-on-front-page.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clubosc.com/random-products-on-front-page.html</link>
	<description>Showcasing osCommerce...the good, the bad and the ugly!</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:32:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Gary</title>
		<link>http://www.clubosc.com/random-products-on-front-page.html/comment-page-1#comment-5414</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 21 Jul 2011 12:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/random-products-on-front-page.html#comment-5414</guid>
		<description>Change the SQL code in the new_products module, to look for products from X category rather than new_products_category_id</description>
		<content:encoded><![CDATA[<p>Change the SQL code in the new_products module, to look for products from X category rather than new_products_category_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.clubosc.com/random-products-on-front-page.html/comment-page-1#comment-5412</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 21 Jul 2011 12:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/random-products-on-front-page.html#comment-5412</guid>
		<description>Hi Angela - yes, it can cause issues for larger databases.  Instead of a simple &#039;rand()&#039; you could try &#039;and rand()&gt;0.9 order by rand()&#039;

A simple rand(), if that is not quick enough, then you would need to optimise all parts of your osCommerce shop anyway.</description>
		<content:encoded><![CDATA[<p>Hi Angela &#8211; yes, it can cause issues for larger databases.  Instead of a simple &#039;rand()&#039; you could try &#039;and rand()&gt;0.9 order by rand()&#039;</p>
<p>A simple rand(), if that is not quick enough, then you would need to optimise all parts of your osCommerce shop anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angela</title>
		<link>http://www.clubosc.com/random-products-on-front-page.html/comment-page-1#comment-5406</link>
		<dc:creator>angela</dc:creator>
		<pubDate>Sun, 17 Jul 2011 08:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/random-products-on-front-page.html#comment-5406</guid>
		<description>Gary, the mysql-based rand() command is rather slow (for large databases), is it not?
I encountered this on a site I was working on for a friend: http://wanderr.com/jay/order-by-slow/2008/01/30/ - I used the join command, instead.</description>
		<content:encoded><![CDATA[<p>Gary, the mysql-based rand() command is rather slow (for large databases), is it not?<br />
I encountered this on a site I was working on for a friend: <a href="http://wanderr.com/jay/order-by-slow/2008/01/30/" rel="nofollow">http://wanderr.com/jay/order-by-slow/2008/01/30/</a> &#8211; I used the join command, instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alain</title>
		<link>http://www.clubosc.com/random-products-on-front-page.html/comment-page-1#comment-5404</link>
		<dc:creator>Alain</dc:creator>
		<pubDate>Fri, 15 Jul 2011 13:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/random-products-on-front-page.html#comment-5404</guid>
		<description>Hello,
regarding that, is it possible  that products of only one category that I will choose will appear on the front page.
thank you.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
regarding that, is it possible  that products of only one category that I will choose will appear on the front page.<br />
thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alain</title>
		<link>http://www.clubosc.com/random-products-on-front-page.html/comment-page-1#comment-5403</link>
		<dc:creator>Alain</dc:creator>
		<pubDate>Wed, 13 Jul 2011 17:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.clubosc.com/random-products-on-front-page.html#comment-5403</guid>
		<description>I found it.
Thanks.</description>
		<content:encoded><![CDATA[<p>I found it.<br />
Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

