Help - Search - Members - Calendar
Full Version: Importing From Wordpress - Losing Created Date Information On Some Ent
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
Saanvik
I'm very impressed with the import tool in MT 4.1. It imported my Wordpress blog without any problems except that certain topics have no create date, and, for some, the permalink is incorrect.

I think they are connected, and it's an issue with the Wordpress exported file, not MT's import. To fix it, though, I need to know which element/attribute in the Wordpress export file determines the entries create date on in MT after import. I suspect it's wp:post_date_gmt, since the affected entries have this:

<wp:post_date>2005-04-11 09:56:00</wp:post_date>
<wp:post_date_gmt>0000-00-00 00:00:00</wp:post_date_gmt>

If created date doesn't affect permalink, can you also tell me which element/attribute sets the permalinks on import?

Thanks, looking forward to my experience with MT.

Saanvik
BTW, RTFM is a perfect answer, just shoot me a link to the proper section of the proper manual.
OtherNiceMan
Looking at the code in the WordPress Export handler it is post_date_gmt that is used.

What problems are you having with the permalinks, can you be more specific or supply a link?
Saanvik
Thanks for the info. I guess I'll need to right up some XSLT to populate that from the post_date element in the Wordpress export file. As a feature request, perhaps the MT import script could fall back to post_date if post_date_gmt has no value.

The permalinks are actually fine. What I was seeing must have been user error.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.