<?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: Dreamhost List AJAX</title>
	<atom:link href="http://quad341.com/2007/06/21/dreamhost-list-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/</link>
	<description>Opensource Development and Life</description>
	<lastBuildDate>Tue, 19 Jul 2011 04:26:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Christian Louboutin redbottom shoes</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-31292</link>
		<dc:creator>Christian Louboutin redbottom shoes</dc:creator>
		<pubDate>Tue, 19 Jul 2011 04:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-31292</guid>
		<description>Once I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get four emails with the identical comment. Is there any way you&#039;ll be able to remove me from that service? Thanks!</description>
		<content:encoded><![CDATA[<p>Once I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get four emails with the identical comment. Is there any way you&#8217;ll be able to remove me from that service? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skybondsor</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-28407</link>
		<dc:creator>skybondsor</dc:creator>
		<pubDate>Thu, 21 Apr 2011 01:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-28407</guid>
		<description>Thanks for this!  It was really easy to implement, even with the extra fields I&#039;m using in my form.

In order to avoid the tedium of spelling out each extra variable, I modded submitToList() to just grab every non-submit form input and serialized it all using jQuery&#039;s serializeArray() function.</description>
		<content:encoded><![CDATA[<p>Thanks for this!  It was really easy to implement, even with the extra fields I&#8217;m using in my form.</p>
<p>In order to avoid the tedium of spelling out each extra variable, I modded submitToList() to just grab every non-submit form input and serialized it all using jQuery&#8217;s serializeArray() function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elana Berrell</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-28235</link>
		<dc:creator>Elana Berrell</dc:creator>
		<pubDate>Fri, 15 Apr 2011 06:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-28235</guid>
		<description>Enjoyed reading  this, very good stuff,  thankyou .</description>
		<content:encoded><![CDATA[<p>Enjoyed reading  this, very good stuff,  thankyou .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-25024</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 20 Aug 2010 10:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-25024</guid>
		<description>Hi. I&#039;ve been testing this code and can&#039;t get it to submit to an Announce List, even leaving the values as they are in announceListHandler.php it won&#039;t submit to your list?

On submit, the wee loader graphic displays for a little while but I don&#039;t get any response? Nothing showing in Firebug either for the GET response.</description>
		<content:encoded><![CDATA[<p>Hi. I&#8217;ve been testing this code and can&#8217;t get it to submit to an Announce List, even leaving the values as they are in announceListHandler.php it won&#8217;t submit to your list?</p>
<p>On submit, the wee loader graphic displays for a little while but I don&#8217;t get any response? Nothing showing in Firebug either for the GET response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quad341</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-23187</link>
		<dc:creator>Quad341</dc:creator>
		<pubDate>Sun, 20 Dec 2009 17:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-23187</guid>
		<description>Hi Liz

What it sounds like to me is that your form that you have on the page isn&#039;t getting wired into the ajax actions correctly. If you look in example.html, you will notice that, after including two javascript files, it has a third javascript section. That section actually attaches an &quot;on submit&quot; action to the form so that it knows to dispatch an ajax request. This should actually stop the page from refreshing. Even without it, it should work, but the action of your form may not be set correctly. The action of the form should point at the announceListHandler.php file itself (in case someone has javascript disabled).

The debug flag will actually cause the ajax to not work correctly for feedback, but will give you the exact request it sent and got back. This is very useful to see if a bad request was generated locally or if the remote server has more information to help. With debug=true on, you should just submit the form (or an example form) to the php file directly and see if it returns with a success return code. If you are using an ajax call for that, i would suggest using something like firebug (firefox extension) to watch the exact return text of the ajax call (under the net tab i think).

If that doesn&#039;t work, hopefully you can at least get the debug output and we can start debugging that.

hope that helps

jim

PS. The images for the header of your current site are quite nice</description>
		<content:encoded><![CDATA[<p>Hi Liz</p>
<p>What it sounds like to me is that your form that you have on the page isn&#8217;t getting wired into the ajax actions correctly. If you look in example.html, you will notice that, after including two javascript files, it has a third javascript section. That section actually attaches an &#8220;on submit&#8221; action to the form so that it knows to dispatch an ajax request. This should actually stop the page from refreshing. Even without it, it should work, but the action of your form may not be set correctly. The action of the form should point at the announceListHandler.php file itself (in case someone has javascript disabled).</p>
<p>The debug flag will actually cause the ajax to not work correctly for feedback, but will give you the exact request it sent and got back. This is very useful to see if a bad request was generated locally or if the remote server has more information to help. With debug=true on, you should just submit the form (or an example form) to the php file directly and see if it returns with a success return code. If you are using an ajax call for that, i would suggest using something like firebug (firefox extension) to watch the exact return text of the ajax call (under the net tab i think).</p>
<p>If that doesn&#8217;t work, hopefully you can at least get the debug output and we can start debugging that.</p>
<p>hope that helps</p>
<p>jim</p>
<p>PS. The images for the header of your current site are quite nice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liz</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-23148</link>
		<dc:creator>liz</dc:creator>
		<pubDate>Wed, 16 Dec 2009 18:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-23148</guid>
		<description>Thank you for sharing this!  It is exactly what I needed, except for one little issue...

I am trying to use this in a wordpress theme.  I have had to do a few extra steps: putting the js files in the right place and correctly linking to them; changing links like these: 



into links like these:

&lt;script type=&quot;text/javascript&quot; src=&quot;/js/sarissa.js&quot;&gt;

i&#039;m now at the point where the page refreshes when I submit the form, but I don&#039;t know what&#039;s going on and I&#039;m not getting any feedback.  I haven&#039;t gotten any confirmation emails via the DH cgi script, so I know it hasn&#039;t made it that far.  

I changed &quot;$debug = true;&quot; in the announceListHandler.php file, but I&#039;m still not getting feedback.

Since you know your code better than I, and are clearly more skilled with ajax, is there anything else that you think I should do?  

Thanks!

Liz</description>
		<content:encoded><![CDATA[<p>Thank you for sharing this!  It is exactly what I needed, except for one little issue&#8230;</p>
<p>I am trying to use this in a wordpress theme.  I have had to do a few extra steps: putting the js files in the right place and correctly linking to them; changing links like these: </p>
<p>into links like these:</p>
<p>&lt;script type=&quot;text/javascript&quot; src=&quot;/js/sarissa.js&#8221;&gt;</p>
<p>i&#8217;m now at the point where the page refreshes when I submit the form, but I don&#8217;t know what&#8217;s going on and I&#8217;m not getting any feedback.  I haven&#8217;t gotten any confirmation emails via the DH cgi script, so I know it hasn&#8217;t made it that far.  </p>
<p>I changed &#8220;$debug = true;&#8221; in the announceListHandler.php file, but I&#8217;m still not getting feedback.</p>
<p>Since you know your code better than I, and are clearly more skilled with ajax, is there anything else that you think I should do?  </p>
<p>Thanks!</p>
<p>Liz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Hilowitz</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-23126</link>
		<dc:creator>David Hilowitz</dc:creator>
		<pubDate>Sun, 13 Dec 2009 03:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-23126</guid>
		<description>Thanks for putting this together. Worked out of the box for me.</description>
		<content:encoded><![CDATA[<p>Thanks for putting this together. Worked out of the box for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christian summer</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-9133</link>
		<dc:creator>christian summer</dc:creator>
		<pubDate>Thu, 05 Jun 2008 02:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-9133</guid>
		<description>quad341...

thanks for the code...

-c</description>
		<content:encoded><![CDATA[<p>quad341&#8230;</p>
<p>thanks for the code&#8230;</p>
<p>-c</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Simmons</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-8581</link>
		<dc:creator>David Simmons</dc:creator>
		<pubDate>Sat, 03 May 2008 04:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-8581</guid>
		<description>Thanks, I think I have it working now with the example.html file.  I think my problem was with a couple of minor changes I made to the announceListHandler.php when I was having problems.  I&#039;ll try again with the code in the CMS and see what happens...

Oh, and in answer to my first question, the URL&#039;s in the DH list setup appear to have to point to the example.html file, not the handler file.  That was the piece that finally got me working, and the piece that was wrong from the start.</description>
		<content:encoded><![CDATA[<p>Thanks, I think I have it working now with the example.html file.  I think my problem was with a couple of minor changes I made to the announceListHandler.php when I was having problems.  I&#8217;ll try again with the code in the CMS and see what happens&#8230;</p>
<p>Oh, and in answer to my first question, the URL&#8217;s in the DH list setup appear to have to point to the example.html file, not the handler file.  That was the piece that finally got me working, and the piece that was wrong from the start.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quad341</title>
		<link>http://quad341.com/2007/06/21/dreamhost-list-ajax/comment-page-1/#comment-8580</link>
		<dc:creator>Quad341</dc:creator>
		<pubDate>Fri, 02 May 2008 15:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://quad341.com/2007/06/21/dreamhost-list-ajax/#comment-8580</guid>
		<description>Just for testing, I threw together a new example list. I only specified the title, from address, and domain. Then in announceListHandler.php, I changed the list and domain variables to reflect what they are (example and dev.quad341.com respectively if you&#039;d like to see if you can post against that list)

If that doesn&#039;t help, I might be misunderstanding what you are expecting versus what you are seeing.</description>
		<content:encoded><![CDATA[<p>Just for testing, I threw together a new example list. I only specified the title, from address, and domain. Then in announceListHandler.php, I changed the list and domain variables to reflect what they are (example and dev.quad341.com respectively if you&#8217;d like to see if you can post against that list)</p>
<p>If that doesn&#8217;t help, I might be misunderstanding what you are expecting versus what you are seeing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

