Recent Topics

import format

Started by on Mar 21, 2005 – Contents updated: Mar 21, 2005

Mar 21, 2005 23:09    

I have some homegrown blog software. I'd like to move the posts to my new b2evolution blog using ./blogs/admin/import-mt.php included with the install, but I can't figure out how the file should be formatted. I can't find any examples.

I tried it with a file called import.txt in ./blogs/admin/ and got:
"The file [import.txt] does not seem to be a MT exported file..."

Can someone tell me what a file should look like? I've seen the MT templates, but that doesn't help me since I don't have MT and I'm not sure how it parses the templates.

Here's the content file I tried to import:

TITLE: titleofpost
DATE: 02/08/2005 00:10:00 AM
AUTHOR: ben
-----
BODY:
body goes here.
-----

I'm using: import Movable Type into b2evolution - version 0.9.0.9pre
and b2evolution Paris if that makes any difference...

-------------------------------------------------------------------
So, I've found this. This guy seems to have had my problem, but solved it, but I can't figure out how... Anyone? Please....

http://forums.b2evolution.net/viewtopic.php?t=2325&highlight=mt+import

Mar 22, 2005 02:06

Thanks, that's exactly what I needed to see.... now I get to write a parser that will be used once. yay!

Mar 22, 2005 02:13

So, my problem here was the permission on the file was 700.

Yet I was getting the error:
"The file [import.txt] does not seem to be a MT exported file..."

Changed the permission to 744 and it works. Someone ought to fix the error message that script prints out.


Form is loading...

Build your own site! – This forum is powered by b2evolution CMS, a complete engine for your website.