Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-13 05:11:19

agovella
Member
From: Houston, TX
Registered: 2005-05-01
Posts: 87
Website Twitter

WordPress import does not import existing article IDs

The INSERT was missing the statement for the WordPress article IDs.

I added line 123 of import_wp.php:
ID = '".addslashes($ID)."',

I redid my import and all WP entries and comments were imported correctly. The article IDs in TxP match the post IDs in WordPress.

I think this would be the preferred behavior.

I didn’t change any code anywhere because I’m not really familiar with the rest of the import code base. But that’s how I fixed it and the file.

Offline

#2 2007-06-13 05:49:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: WordPress import does not import existing article IDs

I know that all the importers are likely very out of date, and I don’t know how well they originally worked.

It sounds like your addition should be added to the core, but I’m not able to work on the importers at this time (one more item on the to-do list).

Offline

Board footer

Powered by FluxBB