2 of 2
2
Import Textpattern into EE
Posted: 21 May 2007 01:03 PM   [ Ignore ]   [ # 19 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  570
Joined  10-14-2005

...and although you don’t have this problem because I know you use d.el.ic.io.us (forgive me I can never remember where the dots go so I threw a few extra in for good measure) I think it would be easy to adapt this approach to export the links list from Textpattern and import it into a weblog (section) with custom entry fields. I’m going to give that a shot too and post my results here.

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 21 June 2007 09:05 AM   [ Ignore ]   [ # 20 ]  
Summer Student
Total Posts:  3
Joined  12-13-2002

Jon and Nathan, thanks for this thread—I’m about to migrate a couple of my Txp sites to EE, and it’s nice to find you two pros leading the way.

Profile
 
 
Posted: 22 June 2007 08:33 PM   [ Ignore ]   [ # 21 ]  
Summer Student
Avatar
Total Posts:  30
Joined  10-11-2006

In case anyone is still supporting the export method.. I tried it and the entries worked fine, but it only imported one comment per article, the first comment.
My export data is here http://www.adventures-in-motherhood.com/export I think everything looks ok, and it imports without a problem, but then most of the comments are missing. can anyone help with this?

thanks!

Profile
 
 
Posted: 22 June 2007 08:36 PM   [ Ignore ]   [ # 22 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Hey, shaz!

Looking at the source of your page, the comments have no dashes between them.  If you compare your export to the official mt import format you’ll note that each comment is separated by

——-

5 dashes I think that counts as.  There are 0 dashes between yours so it doesn’t know a new comment has begun. I suspect that tweaking that will get you fixed up =)

 Signature 
Profile
MSG
 
 
Posted: 22 June 2007 08:45 PM   [ Ignore ]   [ # 23 ]  
Summer Student
Avatar
Total Posts:  30
Joined  10-11-2006

thank you, thank you Lisa!!!! works! smile

Profile
 
 
Posted: 22 June 2007 08:56 PM   [ Ignore ]   [ # 24 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Glad to hear it =)

 Signature 
Profile
MSG
 
 
Posted: 26 April 2008 11:11 AM   [ Ignore ]   [ # 25 ]  
Summer Student
Total Posts:  7
Joined  04-26-2008

Thank you for all the details expressed so far in this thread. 

I’m having an issue with the MT Importer Utility however. I’m getting the error “Unable to Import Entries”, and I traced this to the code starting at line 814 of cp.mt_import.php which states that “At Least One Field Must Be Used”.

If the MT import posts don’t have categories, should “-none-” be selected?  I’ve tried a great number of combinations of settings without any luck.

Perhaps I’m looking at this the wrong way.  Any help here would be greatly appreciated!!

The file I’m attempting to import looks like this:
TITLE: Title
AUTHOR: striderz
DATE: 04/25/2008 02:54:50 PM
——-
BODY:
<p>test test</p>
<p>test test</p>
——-
————

Profile
 
 
Posted: 26 April 2008 04:52 PM   [ Ignore ]   [ # 26 ]  
Summer Student
Total Posts:  7
Joined  04-26-2008

Also, from the area of code that is catching the error in my import, what does ${$name} do?  I believe $name just holds a string in this context.

Thanks
striderz

Profile
 
 
Posted: 28 April 2008 08:27 AM   [ Ignore ]   [ # 27 ]  
Summer Student
Total Posts:  7
Joined  04-26-2008

I’m still investigating the issue I’m having here.  If anyone has insight into what the portion of code in the section “At Least One Field Must Be Used” in cp.mt_import.php that gives me the error “Unable to Import Entries” is checking for, that should put us in the right direction towards figuring this out.

Also, I’m working with Build:  20080319.  Let me know if there are any other details I can provide that would be useful.

Thanks!

Profile
 
 
Posted: 02 May 2008 11:14 AM   [ Ignore ]   [ # 28 ]  
Summer Student
Total Posts:  22
Joined  04-16-2008

Hi folks -


just wondering if we need to bump this issue over to support?

here are some additional parameters
we have MSM with 2 active sites. all sites reside on the same server.
the server uses Plesk 7.1.1

As you can imagine being able to import entries is key to our migration process..

striderz - 26 April 2008 11:11 AM

Thank you for all the details expressed so far in this thread. 

I’m having an issue with the MT Importer Utility however. I’m getting the error “Unable to Import Entries”, and I traced this to the code starting at line 814 of cp.mt_import.php which states that “At Least One Field Must Be Used”.

If the MT import posts don’t have categories, should “-none-” be selected?  I’ve tried a great number of combinations of settings without any luck.

Perhaps I’m looking at this the wrong way.  Any help here would be greatly appreciated!!

The file I’m attempting to import looks like this:
TITLE: Title
AUTHOR: striderz
DATE: 04/25/2008 02:54:50 PM
——-
BODY:
<p>test test</p>
<p>test test</p>
——-
————

Profile
 
 
Posted: 18 August 2008 04:22 PM   [ Ignore ]   [ # 29 ]  
Grad Student
Avatar
Rank
Total Posts:  56
Joined  04-14-2006

@dreas did you get this to work? I get the same problems as you. Great post if it worked.

I know it worked previously, wonder what we missed / or has changed?

Profile
 
 
Posted: 18 August 2008 06:01 PM   [ Ignore ]   [ # 30 ]  
Summer Student
Total Posts:  22
Joined  04-16-2008

yes we got it to work….
by completely reinstalling EE. the MSM and then all patches and updates.
and then we imported before activating any modules or plugins…
IOW it was a Maj. PITA

works a charm now. Unfortunately - due to the belt & suspenders approach -I can’t tell you exactly what was causing the issue.

8>

Profile
 
 
Posted: 22 August 2008 06:20 AM   [ Ignore ]   [ # 31 ]  
Grad Student
Avatar
Rank
Total Posts:  56
Joined  04-14-2006

O.k I got this to work too, last week.

Not sure quite how I did it… I have a horrible feeling I copied the text from the browser first time. Second time (which worked) I copied the source.

Maybe someone should hand me a wooden spoon!

Profile
 
 
Posted: 20 September 2008 03:51 AM   [ Ignore ]   [ # 32 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  570
Joined  10-14-2005

Just upgraded my ancient EE install for nathanpitman.com in advance of giving this a proper shot… it’s now or never… wish me luck.

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64939 Total Logged-in Users: 69
Total Topics: 81913 Total Anonymous Users: 40
Total Replies: 440330 Total Guests: 296
Total Posts: 522243    
Members ( View Memberlist )