Jules Posted July 24, 2005 Posted July 24, 2005 I keep getting the "import successful" message, but the entries aren't being listed, so therefore, aren't published. I have no idea what I am doing wrong. Anyone? Quote
marie b. Posted July 25, 2005 Posted July 25, 2005 Are the entries appearing in your archive folders? May be an issue with the format of the saved entries file. I had to redo all of mine a while back. Quote
TweezerMan Posted July 25, 2005 Posted July 25, 2005 Welcome to the forums, Jules! The only thing the "import successful" message indicates is that the import script made it to the end without crashing. It does not indicate whether any entries were imported successfully. Usually, if no entries are being imported, there is a problem with the import file. If you can put a copy of the import file somewhere on your site and post a link to it, I can look at it and tell you what's wrong with it. Quote
Jules Posted July 25, 2005 Author Posted July 25, 2005 Thanks for the welcome! This is what is uploaded in my MT "import" folder. I appreciate any help...trying to learn this as I go!julesofwisdom_blogspot.txt Quote
TweezerMan Posted July 25, 2005 Posted July 25, 2005 - The import file has Windows-style line endings instead of Linux style line endings, which will prevent the server from reading where each line ends correctly. Usually, this occurs because the file was not uploaded to the server in ASCII mode. - The file has a number of format problems. This is the first line in the import file: BlogThis!TITLE: Either Way AUTHOR: julie DATE: 7/21/2005 01:25:00 PM ----- BODY:1) The "BlogThis!" should not be present at all. 2) Each field of an entry is supposed to begin on a new line. 3) BODY text needs to end with '-----' (5 dashes, without the quotes). 4) Each entry is supposed to end with '--------' (8 dashes, without the quotes). 5) The import file has been line-wrapped at 80 characters. This should not be done on a file you intend to import into MT. An entry should actually appear like this in the import file: TITLE: Either WayAUTHOR: julie DATE: 7/21/2005 01:25:00 PM ----- BODY: Entry text appears here. ----- -------- I'm not sure what you're using for a Blogger export template or how you're performing it - you might want to check out my forum post here and see how it compares with what you're doing. Quote
marie b. Posted July 25, 2005 Posted July 25, 2005 (edited) The format in the file is completely wrong ; it looks nothing like it should, and contains superfluous data. Other than that, I'd say you're good to go. The reason the entries aren't showing is because MT can't sort the data into the specific fields. . . Nevermind. David got there first. Edited July 25, 2005 by marie b. Quote
Jules Posted July 25, 2005 Author Posted July 25, 2005 Thank you. Blooger export template? Hmmm...I just did all the steps and then copied/saved the "view page" as a txt. file. What should I have done differently? Also, the step where I am supposed to "change filename" doesn't come up...as I go through Blogger. Is that messing things up? Quote
marie b. Posted July 25, 2005 Posted July 25, 2005 (edited) You may want to look at this, and maybe this too. Also this one. If you follow the instructions to the letter, you shouldn't have problems. It looks like you didn't follow step 3 (on the last link) correctly. Edited July 25, 2005 by marie b. Quote
TweezerMan Posted July 25, 2005 Posted July 25, 2005 Thank you. Blooger export template? Hmmm...I just did all the steps and then copied/saved the "view page" as a txt. file.What should I have done differently? <{POST_SNAPBACK}> Publish your Blogger weblog using the Blogger export template. Also, the step where I am supposed to "change filename" doesn't come up...as I go through Blogger. Is that messing things up? <{POST_SNAPBACK}> I'm not sure what that means - all of the steps listed in my post are done on your Blogger account. Quote
Jules Posted July 25, 2005 Author Posted July 25, 2005 Is there any way I can send you what the page looks like? I took off the "blog this," and edited the template format, like in your post to Kathleen. However: I have 2 time/date formats and on step #5, Change "Blog Filename" I don't have that option. Here is the new text, but why is the formatting still not working? Can I just go through and change? julesofwisdom_blogspot.txt Quote
TweezerMan Posted July 25, 2005 Posted July 25, 2005 Is there any way I can send you what the page looks like? I took off the "blog this," and edited the template format, like in your post to Kathleen. <{POST_SNAPBACK}> Your file has the page as it is. However:I have 2 time/date formats and on step #5, Change "Blog Filename" I don't have that option. <{POST_SNAPBACK}> Step 5 (the Blog Filename) should be located under Settings / Publishing. I can't explain why you have only 2 date/time formats, but your export file has the correct date format, so that doesn't appear to be an issue here. Here is the new text, but why is the formatting still not working? Can I just go through and change? <{POST_SNAPBACK}> Considering the size of your file, it would take a *long* time of manual, tedious editing. It appears that you are still using "View Page" to see the export file in your browser instead of publishing it. Assuming this is true, before saving the file, you would need to do a "View Source" of that page, then save *that* as your export file. On my Blogger account, Blogger is adding 2 lines of HTML code at the beginning of the output page, and 1 line of HTML at the end of the output page, and these lines would need to be removed from your export file. Quote
Jules Posted July 25, 2005 Author Posted July 25, 2005 Your file has the page as it is.Step 5 (the Blog Filename) should be located under Settings / Publishing. I can't explain why you have only 2 date/time formats, but your export file has the correct date format, so that doesn't appear to be an issue here. Considering the size of your file, it would take a *long* time of manual, tedious editing. It appears that you are still using "View Page" to see the export file in your browser instead of publishing it. Assuming this is true, before saving the file, you would need to do a "View Source" of that page, then save *that* as your export file. On my Blogger account, Blogger is adding 2 lines of HTML code at the beginning of the output page, and 1 line of HTML at the end of the output page, and these lines would need to be removed from your export file. <{POST_SNAPBACK}> Quote
Jules Posted July 25, 2005 Author Posted July 25, 2005 OK. I saved the "view source" copy, uploaded it in the import folder...and still the same response. Am about to cry. (Just kidding.) It still says upload successful, but no entries. Quote
TweezerMan Posted July 25, 2005 Posted July 25, 2005 Can we see what the latest version of your export file looks like? Quote
Jules Posted July 25, 2005 Author Posted July 25, 2005 sure! (btw: i very much appreciate your patience!) i saved this: julesofwisdom.blogspot.txt Quote
TweezerMan Posted July 26, 2005 Posted July 26, 2005 The file itself now appears okay to me, but the line endings are still in Windows format, not Linux format. When you upload the file to the server, make sure that it is uploaded to the server in ASCII mode and not BINARY mode. You need to use FTP to transfer the file and not CPanel's File Manager, as the CPanel File Manager will not convert the file's line ending format for you. I dropped the export file in a test install of MT 3.2 I have that is running on Windows, and MT was able to read it and import all of the entries and comments successfully. I think the line ending format issue is the only one remaining for you. Quote
Jules Posted July 26, 2005 Author Posted July 26, 2005 Thank you so much for your input. I went to the FTP site, copied and pasted the txt version of the "view source," but it is still not importing. I don't know what Binary/ASCII/Linux mode means, so that may be something.. . Quote
TweezerMan Posted July 26, 2005 Posted July 26, 2005 I went to the FTP site, copied and pasted the txt version of the "view source," but it is still not importing. I don't know what Binary/ASCII/Linux mode means, so that may be something... <{POST_SNAPBACK}> I'm not sure what you mean by "went to the FTP site". What you need to do is use an FTP program to transfer the file from your computer to the server. In most every FTP program, there is an option for setting the transfer mode to the server to either "ASCII" or "BINARY" mode (and this file needs to be uploaded to the server in "ASCII" mode). Attached to this post is a copy of your file that already has the line endings converted from Windows format to Linux format. I don't know how you're uploading the file from your computer to the server, so this may or may not work, but you can give it a try anyway. julesofwisdom1.blogspot.txt Quote
Jules Posted July 26, 2005 Author Posted July 26, 2005 how/where do i check which mode the server is tranferring the files in? Quote
Jules Posted July 26, 2005 Author Posted July 26, 2005 A friend set this up for me and told me that we don't...officially use an ftp program...we have been ftping in Internet Explorer. do i need to download something and go form there? I have no idea what to do next. (Thank you again!) Quote
TweezerMan Posted July 26, 2005 Posted July 26, 2005 Try uploading the file I attached in my last post with Internet Explorer and see if MT will import your posts. Don't worry about the ASCII/BINARY thing for this one file. You really should have an FTP program - it comes in handy for a number of things when working with files on the server. Take a look at TCH's FTP page on the TCH Help web site. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.