<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2009://24.11996-</id>
  <updated>2011-09-01T02:26:28Z</updated>
  <title>Comments for Import not working...</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=11996" title="Import not working..." />
    <published>2009-01-10T22:52:51Z</published>
    <updated>2009-01-12T19:17:25Z</updated>
    <title>Import not working...</title>
    <summary>Is there a reason why this format: TITLE: PRIDE Nostalgia: Fedor Emelianenko AUTHOR: Leland Roling DATE: 1/9/2009 9:44:00 PM CATEGORY: Fedor Emelianenko BODY: A lot of fans really get angry about PRIDE vs. UFC talk, and it has drawn a...</summary>
    <author>
      <name>Leland</name>
      <uri>http://www.mma-analyst.com</uri>
    </author>
    
    <category term="General" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>Is there a reason why this format:</p>

<p>TITLE: PRIDE Nostalgia: Fedor Emelianenko
AUTHOR: Leland Roling
DATE: 1/9/2009 9:44:00 PM</p>

<h2>CATEGORY: Fedor Emelianenko</h2>

<p>BODY:</p>

<h2>A lot of fans really get angry about PRIDE vs. UFC talk, and it has drawn a line in the fanbase at times&#8230; but looking back at some of the great battles from PRIDE when these guys were all younger, brings back some great memories.</h2>

<hr />

<p>Wouldn&#8217;t import?</p>

<p>I am simply trying to import a .txt file, and it&#8217;s just saying it&#8217;s importing, then it&#8217;s done, and nothing is in my dashboard whatsoever. What am I missing?</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16032</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16032" />
    <title>Comment from Leland on 2009-01-10</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>TITLE: PRIDE Nostalgia: Fedor Emelianenko<br /><br />
AUTHOR: Leland Roling<br /><br />
DATE: 1/9/2009 9:44:00 PM<br /><br />
CATEGORY: Fedor Emelianenko<br /><br />
-----<br /><br />
BODY:<br /><br />
A lot of fans really get angry about PRIDE vs. UFC talk, and it has drawn a line in the fanbase at times... but looking back at some of the great battles from PRIDE when these guys were all younger, brings back some great memories.<br /><br />
-----<br /><br />
--------<br /></p>

<p>Here's what it actually looks like, Editor ate it up.</p>]]>
    </content>
    <published>2009-01-10T23:02:12Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16086</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16086" />
    <title>Comment from Mike T on 2009-01-11</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>It's gotta be an encoding issue. I just imported this one too into sockfish (development branch of the next version of Movable Type). Try this: <a href="http://www.codemonkeyramblings.com/sockfish/import/test2.txt">http://www.codemonkeyramblings.com/sockfish/import/test2.txt</a></p>]]>
    </content>
    <published>2009-01-12T01:41:34Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16096</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16096" />
    <title>Comment from Leland on 2009-01-11</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks a lot for sticking with my pains, Mike.</p>

<p>That test2.txt actually worked. So, my question is as to what I should be encoding? All of the text in the file? And what should I be encoding this to, Unicode?</p>]]>
    </content>
    <published>2009-01-12T02:41:58Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16116</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16116" />
    <title>Comment from Mike T on 2009-01-12</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>It may also be a matter of end-of-line characters. Windows does not terminate lines the same way that Unix systems do. It's very common for people to have to run Windows text files through "dos2unix" on a Unix machine to make it really readable on Unix.</p>]]>
    </content>
    <published>2009-01-12T12:29:16Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16120</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16120" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Mike, I'm not trying to make it readable on Unix. I'm running MT on my localhost, IIS 7, Vista.</p>]]>
    </content>
    <published>2009-01-12T13:23:39Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16128</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16128" />
    <title>Comment from Mike T on 2009-01-12</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>That doesn't mean that Perl isn't assuming that formatting. Compare your file to mine, and make sure that your file follows the same rules as mine since it seemed to work for you.</p>]]>
    </content>
    <published>2009-01-12T14:00:06Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16132</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16132" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>When I get home this evening, I will actually type up the same file in Notepad, and see what happens. If that's the case, it's definitely an encoding issue of some sort.</p>

<p>When I open the test file on Windows, Notepad just runs all the lines together, yet it still works. This is rather frustrating...</p>]]>
    </content>
    <published>2009-01-12T14:08:28Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16138</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16138" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Lemme ask this...</p>

<p>The line terminator, I simply "AppendLine" in my .NET application, so I'm assuming that this likely isn't doing to correct termination.</p>

<p>I should be using \n but in my code, it'll write that literally to the file, so I'll have -----\n actually written in the file if I do so. I'm assuming I need to do some sort of encoding for the writer to recognize \n and break the line?</p>]]>
    </content>
    <published>2009-01-12T14:13:01Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16168</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16168" />
    <title>Comment from Mike T on 2009-01-12</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I've only done some hobby work in .NET, but the StreamWriters should have something that lets you do this:</p>

<p>stream.Write("{1}\n", lineString);</p>]]>
    </content>
    <published>2009-01-12T16:19:41Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16172</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16172" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I'll try that, but I've also been looking at the Environment Namespace and there is a way to add Carriage Returns to lines, so I'll try that as well.</p>]]>
    </content>
    <published>2009-01-12T16:22:19Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16188</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16188" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Mike,</p>

<p>I was able to add Carriage Returns to the end of my lines, no difference. What I did do however was take your copies of your test files and simply copy and paste them to a new file, and then they suddenly didn't work, making me believe this is once again an Encoding problem.</p>

<p>What am I supposed to be encoding this as? Notepad seems to be  bad idea in opening a file, then saving it.</p>]]>
    </content>
    <published>2009-01-12T18:22:12Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16190</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16190" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Also, Mike...</p>

<p>From what I read, there cannot be any HTML tags or anything in the BODY? Is that true? So if I'm importing any formatting for my content, basically, it's stripped away?</p>]]>
    </content>
    <published>2009-01-12T18:26:52Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16194</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16194" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Mike, I need an answer to my HTML tag question... but...</p>

<p>I GOT IT!</p>

<p>Your suggestion about putting it into UNIX format worked.</p>

<p>Notepad++ has an option in a dropdown menu to Convert to UNIX format, once I did that, worked perfectly.</p>]]>
    </content>
    <published>2009-01-12T18:41:37Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16198</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16198" />
    <title>Comment from Mike T on 2009-01-12</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>That should work. MT generates my exports with HTML in them because there are plenty of cases where I put my own HTML in there for things like Paypal forms.</p>]]>
    </content>
    <published>2009-01-12T19:07:34Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.11996-comment:16200</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.11996" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-not-working.html#c16200" />
    <title>Comment from Leland on 2009-01-12</title>
    <author>
        <name>Leland</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks for all your help.</p>]]>
    </content>
    <published>2009-01-12T19:17:25Z</published>
  </entry>

</feed>

