Winds of Change.NET: Liberty. Discovery. Humanity. Victory.

Formal Affiliations
  • Anti-Idiotarian Manifesto
  • Euston Democratic Progressive Manifesto
  • Real Democracy for Iran!
  • Support Denamrk
  • Million Voices for Darfur
  • milblogs
Syndication
 Subscribe in a reader

Moveable Type Tech Bleg

| 6 Comments

I've managed to get a text-file output of my old Armedliberal.com site, and am trying to get it to import into the MT 3.3 instance we're running here.

When I try, I get a 'file too big' error.

When I break the file up into little files and try again - same thing.

Any ideas, anyone?

6 Comments

When I had a similar problem (just the HTML files, not the database), I wrote a small perl script to take the entries, break them into their component parts, and then add them back to the database via the API. The only shortcoming is that I couldn't save the comments and trackbacks. You might try a similar approach.

Jeff's on the right track although for a one-shot it would probably be a little easier to generate a SQL script that would insert the necessary entries into the databsae.

No luck getting a database dump, eh?

Nope. Does. Not. Exist.

Dave, there are Perl libraries for loading the entries into the database. It took me about 20 minutes to write. That said, a SQL script would work just fine; it just requires more knowledge of the MT internals.

I just looked for the script, and couldn't find it (it was so fast to do, I likely didn't keep it), or I would post it.

I was on vacation — did you ever get this fixed? If not, you might check the directory. As I understand the process, MT will import every file in that directory, so if you've left a big file there, you'd get the error even if you broke it up in to other little files. Otherwise, drop me e-mail off line.

Leave a comment

Here are some quick tips for adding simple Textile formatting to your comments, though you can also use proper HTML tags:

*This* puts text in bold.

_This_ puts text in italics.

bq. This "bq." at the beginning of a paragraph, flush with the left hand side and with a space after it, is the code to indent one paragraph of text as a block quote.

To add a live URL, "Text to display":http://windsofchange.net/ (no spaces between) will show up as Text to display. Always use this for links - otherwise you will screw up the columns on our main blog page.




Recent Comments
  • TM Lutas: Jobs' formula was simple enough. Passionately care about your users, read more
  • sabinesgreenp.myopenid.com: Just seeing the green community in action makes me confident read more
  • Glen Wishard: Jobs was on the losing end of competition many times, read more
  • Chris M: Thanks for the great post, Joe ... linked it on read more
  • Joe Katzman: Collect them all! Though the French would be upset about read more
  • Glen Wishard: Now all the Saudis need is a division's worth of read more
  • mark buehner: Its one thing to accept the Iranians as an ally read more
  • J Aguilar: Saudis were around here (Spain) a year ago trying the read more
  • Fred: Good point, brutality didn't work terribly well for the Russians read more
  • mark buehner: Certainly plausible but there are plenty of examples of that read more
  • Fred: They have no need to project power but have the read more
  • mark buehner: Good stuff here. The only caveat is that a nuclear read more
  • Ian C.: OK... Here's the problem. Perceived relevance. When it was 'Weapons read more
  • Marcus Vitruvius: Chris, If there were some way to do all these read more
  • Chris M: Marcus Vitruvius, I'm surprised by your comments. You're quite right, read more
The Winds Crew
Town Founder: Left-Hand Man: Other Winds Marshals
  • 'AMac', aka. Marshal Festus (AMac@...)
  • Robin "Straight Shooter" Burk
  • 'Cicero', aka. The Quiet Man (cicero@...)
  • David Blue (david.blue@...)
  • 'Lewy14', aka. Marshal Leroy (lewy14@...)
  • 'Nortius Maximus', aka. Big Tuna (nortius.maximus@...)
Other Regulars Semi-Active: Posting Affiliates Emeritus:
Winds Blogroll
Author Archives
Categories
Powered by Movable Type 4.23-en