Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2004-04-27 17:51:36

spyke
Member
From: Denmark
Registered: 2004-04-21
Posts: 14
Website

Re: Movable Type Import 0.4

OHMYGAWD!!!!

I can be even MORE specific with the “entries with images aren’t imported”.

< img src=‘img.jpg’ /> – is in a post that will NOT be imported

< img src=“img.jpg” /> – is in a post that WILL be imported

So…. it’s just a question of single or double quotes???????

Last edited by spyke (2004-04-27 17:51:52)

Offline

#50 2004-04-27 19:02:27

spyke
Member
From: Denmark
Registered: 2004-04-21
Posts: 14
Website

Re: Movable Type Import 0.4

OH MY GAWD I FOUND THE ANSWER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The deal IS the single quotes, but that’s a REAL easy fix.

It’s just a matter of going into your blog setup in MT, clicking on “Search Entries” (on the left), search for ‘ (single-quote) and replace with & # 3 9 ; (without the spaces in between). This will take a million years ‘cause it IS, after all, MT, and you’ll probably get a 500 error which doesn’t mean anything ‘cause it worked anyway.

Don’t even bother to rebuild – the changes were made in the database and that’s all the converter uses – all my entries/comments were imported NO PROBLEMO!!!!

My GAWD i love life today – now it’s just a matter of making my TXP site pretty and dumping MT in the toilet :)

Offline

#51 2004-04-28 00:36:18

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 141
Website

Re: Movable Type Import 0.4

> froehle wrote:

You can extend the maximum runtime of the script by a call to

set_time_limit (<new time in seconds>);

Where exactly would I insert this code into the import script?

EDIT: I can’t get the entire line of code to show up, but I’m quoting an earlier message that suggests putting 300 seconds in for the new runtime.

Last edited by mistersugar (2004-04-28 00:41:21)

Offline

#52 2004-04-30 14:22:37

valdok
Member
From: Chicago
Registered: 2004-03-14
Posts: 31
Website

Re: Movable Type Import 0.4

> indent wrote:

> Why don’t you take the existing import script and try to make it work for files, rather than sitting around and demanding such a beast :)

At the very least, you’ll learn stuff™, and you might even help out Dean, or a whole bunch of TXP users with your code.

Well, I never demanded it, but it seems like a very relevant concern. I was merely a suggestion. If I had the time to learn how to code a script that imports MT entries I would—but I know there are many people capable of the task here.

That said, WordPress has an awesome MT-import-from-textfile script that would probably be a good place to start.

I’m just anxious to import my old entries. They’re golden to me.

Offline

#53 2004-04-30 18:17:53

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

Re: Movable Type Import 0.4

Anyone have a suggestion on how to fix the closed-comments-that-won’t-open and categories-not-imported problems?

i tried just making new categories using the old names but i was told they already exsist.

Offline

#54 2004-04-30 18:24:52

LisaJill
Member
From: White Plains, NY
Registered: 2004-04-26
Posts: 16
Website

Re: Movable Type Import 0.4

Run _update.php, tht fixes the categories. =)

The closed comments thing should be an easy sql query; except I don’t know sql, I posted in “How do I?” but noone’s responded yet. I’m scared of databases, I am. ;)

Offline

#55 2004-04-30 18:56:36

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

Re: Movable Type Import 0.4

> LisaJill wrote:

> Run _update.php, tht fixes the categories. =)

awesome, now to get the comments to open :(

Offline

#56 2004-04-30 19:04:42

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Movable Type Import 0.4

oh if you want to turn comments back on, you can do it using a SQL query. Try this one:

update textpattern set annotate = 1;

That will turn commenting back on for ALL the posts in your textpattern blog.

Of course, to run the query you will need some sort of access to the database itself. Most hosts let you run phpMyAdmin. If you have it installed, then you can go to the textpattern table, click on the sql tab, and run this query there.

Last edited by ramanan (2004-04-30 19:07:18)

Offline

#57 2004-04-30 19:15:58

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

Re: Movable Type Import 0.4

> ramanan wrote:

> oh if you want to turn comments back on, you can do it using a SQL query. Try this one:

update textpattern set annotate = 1;

That will turn commenting back on for ALL the posts in your textpattern blog.

Of course, to run the query you will need some sort of access to the database itself. Most hosts let you run phpMyAdmin. If you have it installed, then you can go to the textpattern table, click on the sql tab, and run this query there.

cool, i’ll be doing this when i get home and hopefully move my main site over from MT to Textpattern this weekend.

Offline

#58 2004-04-30 21:01:18

LisaJill
Member
From: White Plains, NY
Registered: 2004-04-26
Posts: 16
Website

Re: Movable Type Import 0.4

Worked beautifully, I knew it would be easy. Thank you so much ramanan! =)

Last edited by LisaJill (2004-04-30 21:01:40)

Offline

#59 2004-04-30 21:21:22

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Movable Type Import 0.4

No problem. Glad it worked. I was worried you wouldn’t have phpMyAdmin. Setting that up and running the query is really the tricky part.

Offline

Board footer

Powered by FluxBB