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
  • Alchemist: I think you misunderstood mark. I was saying in my read more
  • Demosophist: Roland: I have just never had a good feeling about read more
  • Roland Nikles: In his treatise, The Constitution of Liberty (1960), F. A. read more
  • Demosophist: Roland: If the measure passes I too will hope for read more
  • Glen Wishard: Roland:I am rooting for the thing to pass, with fingers read more
  • Roland Nikles: I regret that I haven't had the time to follow read more
  • Demosophist: My dissertation research was on the 1996 House elections. That read more
  • jan: Congress should be an instrument of the people. But in read more
  • Armed Liberal: Tom, I'd suggest that the other difference is that no read more
  • Foobarista: If there's a sure-fire way to see the downfall of read more
  • mark buehner: I will say both Republicans and Democrats have done a read more
  • mark buehner: "I still think the best way to eliminate these groups read more
  • Alchemist: Honestly, I think both parties are beholden to special interests... read more
  • Perry The Cynic: What will it take? The effective destruction of the "media-industrial read more
  • Tom West: And while experimentation in astronomy and cosmology is scarce, observation 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