<?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: Can Anyone Help me Save my Chinese Blog?</title>
	<atom:link href="http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/</link>
	<description>Chinese, Linguistics, Science, Cultural Observations and whatever else I feel like writing about</description>
	<pubDate>Thu, 08 Jan 2009 14:20:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-76189</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 16 Jul 2007 09:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-76189</guid>
		<description>I think Stephan has pretty gotten it fixed for me.  Thanks, everybody.</description>
		<content:encoded><![CDATA[<p>I think Stephan has pretty gotten it fixed for me.  Thanks, everybody.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-76095</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 16 Jul 2007 03:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-76095</guid>
		<description>If you havent been able to fix this yet.  Zip your backup database sql file and post a link to it here and I will update it so it will work for you.</description>
		<content:encoded><![CDATA[<p>If you havent been able to fix this yet.  Zip your backup database sql file and post a link to it here and I will update it so it will work for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72899</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Tue, 03 Jul 2007 06:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72899</guid>
		<description>I should mention, it's "my web site" that I'm talking about in previous post. I don't have access to yours.</description>
		<content:encoded><![CDATA[<p>I should mention, it&#8217;s &#8220;my web site&#8221; that I&#8217;m talking about in previous post. I don&#8217;t have access to yours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72898</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Tue, 03 Jul 2007 06:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72898</guid>
		<description>OK,

I've successfully imported the wp_comments table into my local MySql database using phpMyadmin.

Well, actually, I only imported the first couple hundred records. I've sent you a private email to your gmail account. Please read it as soon as you can.

What I ended up doing (so far) is probably overkill, so I've still got to reduce the number of steps. Basically, I made a new table (different encodings, etc.) to see if that would help. Using "Import", it did NOT help, but if I run the sql Insert commands from the command window, they all work fine.

So, the file upload/import step is where the data gets corrupted.

I'm going to upload the file to the web site, and import direct from there next to see if that also allows a quick fix.

Do you have phpMyAdmin?  Do you have shell access and ability to run mysql from the command line?</description>
		<content:encoded><![CDATA[<p>OK,</p>
<p>I&#8217;ve successfully imported the wp_comments table into my local MySql database using phpMyadmin.</p>
<p>Well, actually, I only imported the first couple hundred records. I&#8217;ve sent you a private email to your gmail account. Please read it as soon as you can.</p>
<p>What I ended up doing (so far) is probably overkill, so I&#8217;ve still got to reduce the number of steps. Basically, I made a new table (different encodings, etc.) to see if that would help. Using &#8220;Import&#8221;, it did NOT help, but if I run the sql Insert commands from the command window, they all work fine.</p>
<p>So, the file upload/import step is where the data gets corrupted.</p>
<p>I&#8217;m going to upload the file to the web site, and import direct from there next to see if that also allows a quick fix.</p>
<p>Do you have phpMyAdmin?  Do you have shell access and ability to run mysql from the command line?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72712</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Mon, 02 Jul 2007 05:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72712</guid>
		<description>Well, now I think I was wrong about the EN-US. I see that's part of the browser ID that you're storing.</description>
		<content:encoded><![CDATA[<p>Well, now I think I was wrong about the EN-US. I see that&#8217;s part of the browser ID that you&#8217;re storing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72711</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Mon, 02 Jul 2007 05:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72711</guid>
		<description>I've looked at the "backup". Now I see that it wasn't done by phpmyadmin. The latin-1 is only a "default" for the table, but it should be changed anyways. However, I think the REAL problem is that every data (insert) line is encoded with en-US.

Tomorrow is last day of finals. After that, I'm going to try and load directly with phpMyAdmin after changing the encoding of the inserts.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve looked at the &#8220;backup&#8221;. Now I see that it wasn&#8217;t done by phpmyadmin. The latin-1 is only a &#8220;default&#8221; for the table, but it should be changed anyways. However, I think the REAL problem is that every data (insert) line is encoded with en-US.</p>
<p>Tomorrow is last day of finals. After that, I&#8217;m going to try and load directly with phpMyAdmin after changing the encoding of the inserts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72578</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 01 Jul 2007 21:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72578</guid>
		<description>Fili, your comment was caught by Akismet.  That's why I missed it.  Thanks for the ideas.  Unfortunately, my backups were created by Dreamhost via their panel.  I have some of my own, but they're really old and missing over a hundred comments.  Maybe I'll just start over.

Hmm... the rolling archives are part of the K2 theme.  The strange thing is that all that stuff still loads when I switch back to my old theme.  I think the drop-down archives in my sidebar may be the culprit!</description>
		<content:encoded><![CDATA[<p>Fili, your comment was caught by Akismet.  That&#8217;s why I missed it.  Thanks for the ideas.  Unfortunately, my backups were created by Dreamhost via their panel.  I have some of my own, but they&#8217;re really old and missing over a hundred comments.  Maybe I&#8217;ll just start over.</p>
<p>Hmm&#8230; the rolling archives are part of the K2 theme.  The strange thing is that all that stuff still loads when I switch back to my old theme.  I think the drop-down archives in my sidebar may be the culprit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72496</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 01 Jul 2007 13:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72496</guid>
		<description>I have tried removing all the "latin-1"s from the file, Stephan.  The import fails.  I also tried just doing a search and replace via a text editor to change all the "latin-1" tags into UTF8.

I really appreciate your suggestions, though.  I'm really not much of an SQL guy at all.</description>
		<content:encoded><![CDATA[<p>I have tried removing all the &#8220;latin-1&#8243;s from the file, Stephan.  The import fails.  I also tried just doing a search and replace via a text editor to change all the &#8220;latin-1&#8243; tags into UTF8.</p>
<p>I really appreciate your suggestions, though.  I&#8217;m really not much of an SQL guy at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-72182</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Sat, 30 Jun 2007 01:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-72182</guid>
		<description>Have you tried just removing the latin-1 "hints" from the script? You shouldn't need them, as it should just take the database default if you don't.

Otherwise, perhaps the "Utf8" tag is incorrect. I assume you're using phpMyAdmin to do the import also?

I'll look at the script today too, and try it out on my server...</description>
		<content:encoded><![CDATA[<p>Have you tried just removing the latin-1 &#8220;hints&#8221; from the script? You shouldn&#8217;t need them, as it should just take the database default if you don&#8217;t.</p>
<p>Otherwise, perhaps the &#8220;Utf8&#8243; tag is incorrect. I assume you&#8217;re using phpMyAdmin to do the import also?</p>
<p>I&#8217;ll look at the script today too, and try it out on my server&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fiLi</title>
		<link>http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/comment-page-1/#comment-71458</link>
		<dc:creator>fiLi</dc:creator>
		<pubDate>Wed, 27 Jun 2007 16:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://toshuo.com/2007/can-anyone-help-me-save-my-chinese-blog/#comment-71458</guid>
		<description>I'm sorry, but I think this has nothing to do with your import, but rather with your export. This file is corrupted ... 

I tried it, and repaired the SQL tables through this little trick here -  http://www.filination.com/tech/2007/04/27/drupal-change-db-and-table-collation-to-unicode-utf-8/

but I already suspected the file doesn't look right.

Do you have a gziped SQL backup file that hasn't been exported through phpmyadmin?

Since you only have a few posts, you can do what you already did before - use the Google Archive to restore everything. It will take an hour or so, but...

-

As for load time, use OctaGate (http://www.octagate.com/service/SiteTimer/) and Web Page Analyzer (http://www.websiteoptimization.com/services/analyze/) to see what's taking so long. 
The index page reports "&lt;!-- Dynamic Page Served (once) in 17.276 seconds --&gt;" which is insane.
For example, you can see that "rolling archives" - whatever that is -  is loading all your archives every single time, etc.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, but I think this has nothing to do with your import, but rather with your export. This file is corrupted &#8230; </p>
<p>I tried it, and repaired the SQL tables through this little trick here -  <a href="http://www.filination.com/tech/2007/04/27/drupal-change-db-and-table-collation-to-unicode-utf-8/" rel="nofollow">http://www.filination.com/tech/2007/04/27/drupal-change-db-and-table-collation-to-unicode-utf-8/</a></p>
<p>but I already suspected the file doesn&#8217;t look right.</p>
<p>Do you have a gziped SQL backup file that hasn&#8217;t been exported through phpmyadmin?</p>
<p>Since you only have a few posts, you can do what you already did before - use the Google Archive to restore everything. It will take an hour or so, but&#8230;</p>
<p>-</p>
<p>As for load time, use OctaGate (http://www.octagate.com/service/SiteTimer/) and Web Page Analyzer (http://www.websiteoptimization.com/services/analyze/) to see what&#8217;s taking so long.<br />
The index page reports &#8220;<!-- Dynamic Page Served (once) in 17.276 seconds -->&#8221; which is insane.<br />
For example, you can see that &#8220;rolling archives&#8221; - whatever that is -  is loading all your archives every single time, etc.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
