<?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: Save HTML Table to Excel using jQuery</title>
	<atom:link href="http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/</link>
	<description>SEO and Link Building Tips</description>
	<lastBuildDate>Wed, 25 Jan 2012 16:34:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: SWC</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-442</link>
		<dc:creator>SWC</dc:creator>
		<pubDate>Tue, 17 Jan 2012 20:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-442</guid>
		<description>It works for me.  Thanks.</description>
		<content:encoded><![CDATA[<p>It works for me.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-437</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Fri, 13 Jan 2012 21:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-437</guid>
		<description>The SaveToExcel program would need to be changed to something like:
[php]
&lt;?php
header(&quot;Content-type: application/vnd.ms-excel; name=&#039;excel&#039;&quot;);
header(&quot;Content-Disposition: filename=export.csv&quot;);
// Fix for crappy IE bug in download.
header(&quot;Pragma: &quot;);
header(&quot;Cache-Control: &quot;);

$CSV = $_REQUEST[&#039;datatodisplay&#039;] ;
$replacements = array(&quot;@&lt;table[^&gt;]*&gt;@i&quot; =&gt; &#039;&#039; ,
&#039;@&lt;/tabl[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;/table&gt;
&#039;@&lt;thea[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;thead&gt;
&#039;@&lt;tbod[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;tbody&gt;
&#039;@&lt;/the[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;/thead&gt;
&#039;@&lt;/tbo[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;/trbody&gt;
&#039;@&lt;tr[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;tr&gt;
&#039;@&lt;/tr[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;/tr&gt;
&#039;@&lt;th[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove&lt;th&gt;
&#039;@&lt;/th[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove &lt;/th&gt;
&#039;@&lt;td[^&gt;]*&gt;@i&#039; =&gt; &#039;&#039; , // remove&lt;td&gt;
&#039;@&lt;/td[^&gt;]*&gt;@i&#039; =&gt; &#039;,&#039; , // The comma for separating
);

$CSV = preg_replace( array_keys( $replacements ), array_values( $replacements ), $CSV ) ;
?&gt;
&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;&lt;?=$CSV?&gt;
&lt;/body&gt;
&lt;/html&gt;
[/php]

Let me know if it works.</description>
		<content:encoded><![CDATA[<p>The SaveToExcel program would need to be changed to something like:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
header(&quot;Content-type: application/vnd.ms-excel; name='excel'&quot;);
header(&quot;Content-Disposition: filename=export.csv&quot;);
// Fix for crappy IE bug in download.
header(&quot;Pragma: &quot;);
header(&quot;Cache-Control: &quot;);

$CSV = $_REQUEST['datatodisplay'] ;
$replacements = array(&quot;@&lt;table[^&gt;]*&gt;@i&quot; =&gt; '' ,
'@&lt;/tabl[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;/table&gt;
'@&lt;thea[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;thead&gt;
'@&lt;tbod[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;tbody&gt;
'@&lt;/the[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;/thead&gt;
'@&lt;/tbo[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;/trbody&gt;
'@&lt;tr[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;tr&gt;
'@&lt;/tr[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;/tr&gt;
'@&lt;th[^&gt;]*&gt;@i' =&gt; '' , // remove&lt;th&gt;
'@&lt;/th[^&gt;]*&gt;@i' =&gt; '' , // remove &lt;/th&gt;
'@&lt;td[^&gt;]*&gt;@i' =&gt; '' , // remove&lt;td&gt;
'@&lt;/td[^&gt;]*&gt;@i' =&gt; ',' , // The comma for separating
);

$CSV = preg_replace( array_keys( $replacements ), array_values( $replacements ), $CSV ) ;
?&gt;
&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;&lt;?=$CSV?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Let me know if it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SWC</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-436</link>
		<dc:creator>SWC</dc:creator>
		<pubDate>Fri, 13 Jan 2012 01:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-436</guid>
		<description>This is great! Do you also have similar solution for exporting to a CSV file (i.e. w/o going thru Excel)? Thanks in advance.</description>
		<content:encoded><![CDATA[<p>This is great! Do you also have similar solution for exporting to a CSV file (i.e. w/o going thru Excel)? Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-434</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Thu, 12 Jan 2012 18:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-434</guid>
		<description>This may be related to your upload_max_filesize and post_max_size in your php.ini file. I think the default is 2MB. See http://us3.php.net/manual/en/ini.core.php</description>
		<content:encoded><![CDATA[<p>This may be related to your upload_max_filesize and post_max_size in your php.ini file. I think the default is 2MB. See <a href="http://us3.php.net/manual/en/ini.core.php" rel="nofollow">http://us3.php.net/manual/en/ini.core.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eduardo valverde</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-433</link>
		<dc:creator>eduardo valverde</dc:creator>
		<pubDate>Thu, 12 Jan 2012 17:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-433</guid>
		<description>i have a problem when the html documento is too bigger because when i tried with small html it works  ok. can you help me how i can solve this issue ?
thanks</description>
		<content:encoded><![CDATA[<p>i have a problem when the html documento is too bigger because when i tried with small html it works  ok. can you help me how i can solve this issue ?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-363</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Mon, 26 Sep 2011 20:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-363</guid>
		<description>Sounds like your table is not being sent to the server - use the Web Developer tools for Firefox and look at the outgoing call to ensure the table is attached as a parameter.</description>
		<content:encoded><![CDATA[<p>Sounds like your table is not being sent to the server &#8211; use the Web Developer tools for Firefox and look at the outgoing call to ensure the table is attached as a parameter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tech</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-362</link>
		<dc:creator>Tech</dc:creator>
		<pubDate>Thu, 15 Sep 2011 09:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-362</guid>
		<description>Finally Got it to work. Seems that my jsquery library was in a different folder.. :D</description>
		<content:encoded><![CDATA[<p>Finally Got it to work. Seems that my jsquery library was in a different folder.. <img src='http://www.topsemtips.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tech</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-361</link>
		<dc:creator>Tech</dc:creator>
		<pubDate>Thu, 15 Sep 2011 08:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-361</guid>
		<description>Can someone please upload the source files... Thanks :)</description>
		<content:encoded><![CDATA[<p>Can someone please upload the source files&#8230; Thanks <img src='http://www.topsemtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tech</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-360</link>
		<dc:creator>Tech</dc:creator>
		<pubDate>Thu, 15 Sep 2011 08:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-360</guid>
		<description>Hi I need some help. I am having the same problem with Ben, .xls file is blank. When I try to open it in notepad it contains only the 
following tags:
html&gt;

&lt;body
</description>
		<content:encoded><![CDATA[<p>Hi I need some help. I am having the same problem with Ben, .xls file is blank. When I try to open it in notepad it contains only the<br />
following tags:<br />
html&gt;</p>
<p>&lt;body</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jquery Save to Excel II &#124; Top SEO Tips</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/comment-page-1/#comment-357</link>
		<dc:creator>Jquery Save to Excel II &#124; Top SEO Tips</dc:creator>
		<pubDate>Mon, 12 Sep 2011 05:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.topsemtips.com/?p=393#comment-357</guid>
		<description>[...] This code is slightly different to previous code as it will add the export buttons to all tables on the page that do not have a class of &#8216;noExcel&#8217;. Run this script from your jQuery ready() function. A simpler version of this code is available at http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/: [...]</description>
		<content:encoded><![CDATA[<p>[...] This code is slightly different to previous code as it will add the export buttons to all tables on the page that do not have a class of &#8216;noExcel&#8217;. Run this script from your jQuery ready() function. A simpler version of this code is available at <a href="http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/" rel="nofollow">http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/</a>: [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc

Served from: www.topsemtips.com @ 2012-02-08 03:03:10 -->
