<?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 Quote Generator Updated</title>
	<atom:link href="http://www.amorian.org/2009/05/08/random-quote-generator-updated/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amorian.org/2009/05/08/random-quote-generator-updated/</link>
	<description>Jeffersonian Deism</description>
	<lastBuildDate>Mon, 06 Feb 2012 11:10:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: 5circles</title>
		<link>http://www.amorian.org/2009/05/08/random-quote-generator-updated/comment-page-1/#comment-561</link>
		<dc:creator>5circles</dc:creator>
		<pubDate>Tue, 21 Jul 2009 19:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.amorian.org/?p=726#comment-561</guid>
		<description>I just tweaked your randomquotes plugin.  It wasn&#039;t working for me when the URL is tweaked (by mod_rewrite I think), because the plugin couldn&#039;t find the quotes file. 
 
I changed the line  
$file = substr($_SERVER[&#039;SCRIPT_FILENAME&#039;],0,strrpos($_SERVER[&#039;SCRIPT_FILENAME&#039;], &quot;/&quot;)+1).&#039;wp-content/plugins/randomquotes/quotes.txt&#039;; 
 
to 
$file = ABSPATH.&#039;wp-content/plugins/randomquotes/quotes.txt&#039;; 
 
Now it works for me. 
 
Thanks for a useful plugin 
Mike Pritchard </description>
		<content:encoded><![CDATA[<p>I just tweaked your randomquotes plugin.  It wasn&#039;t working for me when the URL is tweaked (by mod_rewrite I think), because the plugin couldn&#039;t find the quotes file.</p>
<p>I changed the line </p>
<p>$file = substr($_SERVER[&#039;SCRIPT_FILENAME&#039;],0,strrpos($_SERVER[&#039;SCRIPT_FILENAME&#039;], &quot;/&quot;)+1).&#039;wp-content/plugins/randomquotes/quotes.txt&#039;;</p>
<p>to</p>
<p>$file = ABSPATH.&#039;wp-content/plugins/randomquotes/quotes.txt&#039;;</p>
<p>Now it works for me.</p>
<p>Thanks for a useful plugin</p>
<p>Mike Pritchard</p>
]]></content:encoded>
	</item>
</channel>
</rss>

