<?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: Author&#039;s RSS Feed field in comments</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bloggie Broad</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10071</link>
		<dc:creator>Bloggie Broad</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10071</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;Breaking from the breaking news....&lt;/strong&gt;
to announce that you can post your RSS feed in...</description>
		<content:encoded><![CDATA[<trackback /><strong>Breaking from the breaking news&#8230;.</strong><br />
to announce that you can post your RSS feed in&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Psst!</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10072</link>
		<dc:creator>Psst!</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10072</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;http://www.ryskamp.org/brain/psst/archives/2004_03.html#000575&lt;/strong&gt;
Add field to MT...
</description>
		<content:encoded><![CDATA[<trackback /><strong><a href="http://www.ryskamp.org/brain/psst/archives/2004_03.html#000575" rel="nofollow">http://www.ryskamp.org/brain/psst/archives/2004_03.html#000575</a></strong><br />
Add field to MT&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Live in the Delirious Cool</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10069</link>
		<dc:creator>Live in the Delirious Cool</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10069</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;Commenting, it&#039;s where the fun is.&lt;/strong&gt;
Can you believe in all this time I&#039;ve never once hacked or altered my MT files?  This might be worth it.  Also, a nice, easy fix to the &quot;remember me&quot; problem seen in MT commenting.</description>
		<content:encoded><![CDATA[<trackback /><strong>Commenting, it&#039;s where the fun is.</strong><br />
Can you believe in all this time I&#039;ve never once hacked or altered my MT files?  This might be worth it.  Also, a nice, easy fix to the &#034;remember me&#034; problem seen in MT commenting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bloggie Broad</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10070</link>
		<dc:creator>Bloggie Broad</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10070</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;Bloggie Scripty Reverb&lt;/strong&gt;
I like to keep an up-to-date listing of all the...</description>
		<content:encoded><![CDATA[<trackback /><strong>Bloggie Scripty Reverb</strong><br />
I like to keep an up-to-date listing of all the&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Big Pink Cookie</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10068</link>
		<dc:creator>Big Pink Cookie</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10068</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;I See You...&lt;/strong&gt;
I see all these people floating through my personal blogosphere, but no one is stopping to say hi. Come on...</description>
		<content:encoded><![CDATA[<trackback /><strong>I See You&#8230;</strong><br />
I see all these people floating through my personal blogosphere, but no one is stopping to say hi. Come on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10066</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10066</guid>
		<description>(I meant .RDF or .XML feeds)</description>
		<content:encoded><![CDATA[<p>(I meant .RDF or .XML feeds)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10065</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10065</guid>
		<description>FYI - if you&#039;d like to display a long list of XML feeds from anyone that&#039;s ever commented on your site and filled out that field, use this code:&lt;h3&gt;&lt;?
mysql_connect (&quot;localhost&quot;, &quot;DBUSERNAME&quot;, &quot;DBPASSWORD&quot;) or die (&#039;I cannot connect to the database because: &#039; . mysql_error());
	mysql_select_db (&quot;MTDATABASE&quot;);
	&#036;query = &quot;SELECT DISTINCT comment_author_rss, comment_author FROM mt_comment
 WHERE comment_author_rss &lt;&gt; &#039;&#039; order by comment_author&quot;;
	&#036;result = mysql_query(&#036;query);
	&#036;numrows = mysql_num_rows(&#036;result);
	for (&#036;i=0; &#036;i &lt; &#036;numrows; &#036;i++) {
		&#036;row = mysql_fetch_array(&#036;result);
		if (stristr(&#036;row[&#039;comment_author_rss&#039;], &quot;.rdf&quot;) &#124;&#124; stristr(&#036;row[&#039;comment_author_rss&#039;], &quot;.xml&quot;)) {
		echo &#036;row[&#039;comment_author&#039;]; 
		echo &quot;&lt;br&gt;&quot;;
		echo &quot;&lt;a href=&#092;&quot;&quot;.&#036;row[&#039;comment_author_rss&#039;].&quot;&#092;&quot;&gt;&quot;;
		echo &#036;row[&#039;comment_author_rss&#039;];
		echo &quot;&lt;/a&gt;&quot;;
		echo &quot;&lt;br&gt;&quot;;
		echo &quot;&lt;br&gt;&quot;;
		}
	}	
?&gt;&lt;/h3&gt;</description>
		<content:encoded><![CDATA[<p>FYI &#8211; if you&#039;d like to display a long list of XML feeds from anyone that&#039;s ever commented on your site and filled out that field, use this code:<br />
<h3>&lt;?<br />
mysql_connect (&#034;localhost&#034;, &#034;DBUSERNAME&#034;, &#034;DBPASSWORD&#034;) or die (&#039;I cannot connect to the database because: &#039; . mysql_error());<br />
	mysql_select_db (&#034;MTDATABASE&#034;);<br />
	&#36;query = &#034;SELECT DISTINCT comment_author_rss, comment_author FROM mt_comment<br />
 WHERE comment_author_rss &lt;&gt; &#034; order by comment_author&#034;;<br />
	&#36;result = mysql_query(&#36;query);<br />
	&#36;numrows = mysql_num_rows(&#36;result);<br />
	for (&#36;i=0; &#36;i &lt; &#36;numrows; &#36;i++) {<br />
		&#36;row = mysql_fetch_array(&#36;result);<br />
		if (stristr(&#36;row['comment_author_rss'], &#034;.rdf&#034;) || stristr(&#36;row['comment_author_rss'], &#034;.xml&#034;)) {<br />
		echo &#36;row['comment_author'];<br />
		echo &#034;&lt;br&gt;&#034;;<br />
		echo &#034;&lt;a href=&#92;&#034;".&#36;row['comment_author_rss'].&#034;&#92;&#034;&gt;&#034;;<br />
		echo &#36;row['comment_author_rss'];<br />
		echo &#034;&lt;/a&gt;&#034;;<br />
		echo &#034;&lt;br&gt;&#034;;<br />
		echo &#034;&lt;br&gt;&#034;;<br />
		}<br />
	}<br />
?&gt;</h3>
]]></content:encoded>
	</item>
	<item>
		<title>By: JLT</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10064</link>
		<dc:creator>JLT</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10064</guid>
		<description>Thanks for the great help as always!  Keep up the great work, I really appreciate it.</description>
		<content:encoded><![CDATA[<p>Thanks for the great help as always!  Keep up the great work, I really appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10063</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10063</guid>
		<description>Yes - sort of. The hack can be used to add any type of extra field - with the exception that what I add to comments.pm - is some code to check to make sure it&#039;s a valid URL. If you wanted it to add the field directly to the database...then instead of this part:&lt;h3&gt;my &#036;rssfeed = &#036;q-&gt;param(&#039;rssfeed&#039;) &#124;&#124; &#039;&#039;;
if (&#036;rssfeed) {
require MT::Util;
if (my &#036;fixed2 = MT::Util::is_valid_url(&#036;rssfeed)) {
&#036;rssfeed = &#036;fixed2;
} else {
return &#036;app-&gt;handle_error(&#036;app-&gt;translate(
&quot;Invalid URL &#039;[_1]&#039;&quot;, &#036;rssfeed));
}
}
&#036;comment-&gt;author_rss(remove_html(&#036;rssfeed));&lt;/h3&gt;&lt;p&gt;Just add this:&lt;/p&gt;&lt;h3&gt;&#036;comment-&gt;author_rss(&#036;q-&gt;param(&#039;rssfeed&#039;));&lt;/h3&gt;</description>
		<content:encoded><![CDATA[<p>Yes &#8211; sort of. The hack can be used to add any type of extra field &#8211; with the exception that what I add to comments.pm &#8211; is some code to check to make sure it&#039;s a valid URL. If you wanted it to add the field directly to the database&#8230;then instead of this part:<br />
<h3>my &#36;rssfeed = &#36;q-&gt;param(&#039;rssfeed&#039;) || &#034;;<br />
if (&#36;rssfeed) {<br />
require MT::Util;<br />
if (my &#36;fixed2 = MT::Util::is_valid_url(&#36;rssfeed)) {<br />
&#36;rssfeed = &#36;fixed2;<br />
} else {<br />
return &#36;app-&gt;handle_error(&#36;app-&gt;translate(<br />
&#034;Invalid URL &#039;[_1]&#039;&#034;, &#36;rssfeed));<br />
}<br />
}<br />
&#36;comment-&gt;author_rss(remove_html(&#36;rssfeed));</h3>
<p>Just add this:</p>
<h3>&#36;comment->author_rss(&#36;q->param(&#039;rssfeed&#039;));</h3>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al-Muhajabah</title>
		<link>http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/comment-page-1/#comment-10060</link>
		<dc:creator>Al-Muhajabah</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/06/12/authors-rss-feed-field-in-comments/#comment-10060</guid>
		<description>Jennifer, this isn&#039;t specifically about your new plugin-hack, but I want to thank you for giving such detailed instructions. I had been trying to implement a plugin-hack to create threaded comments and a new comment subject field. But for some reason, it wouldn&#039;t work!

It turns out that I had forgotten about the subscribe to comments script. Since I didn&#039;t put the new fields in the processing.tmpl page, they got lost before they were entered in the database.

After I read your instructions here (and after I stopped banging my head on my computer monitor!) I went and added the new fields to processing.tmpl. Now it works like a charm!</description>
		<content:encoded><![CDATA[<p>Jennifer, this isn&#039;t specifically about your new plugin-hack, but I want to thank you for giving such detailed instructions. I had been trying to implement a plugin-hack to create threaded comments and a new comment subject field. But for some reason, it wouldn&#039;t work!</p>
<p>It turns out that I had forgotten about the subscribe to comments script. Since I didn&#039;t put the new fields in the processing.tmpl page, they got lost before they were entered in the database.</p>
<p>After I read your instructions here (and after I stopped banging my head on my computer monitor!) I went and added the new fields to processing.tmpl. Now it works like a charm!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

