Help - Search - Members - Calendar
Full Version: Live Journal to MT...
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
Stev
I ran a search and found a couple of programs that could be used to convert Live Journal posts to MT, but I wanted to post here to find out which way is the best?

Recommendations from people who have actually used said method are especially desirable smile.gif

Thanks!

-Steve
kadyellebee
Meredith seems to have a pretty good
tutorial for importing.

I'm moving this to the import forum since it seems to fit that better smile.gif

Kristine
odinriko
I don't know that I'm even asking this at the right place.. I'm trying to export my livejournal entries into my mt install. I've read the Tutorial But I can't seem to find a copy of the perl script they speak of using. Is there any other method, or someplace that google and metacrawler doesn't pickup to get lj2mt.pl?

Well, thank you for your time.

-odin
markpasc
Looks like Google has a copy though it needs run through a deHTMLifier.
odinriko
Where could I find a utility like that? deHTMLifier? I don't know much about perl, is it just another command like chop?
markpasc
Sorry, I meant that for some reason between the original publishing of that page and Google caching it, the text of the script got escaped as HTML. You'll have to remove the HTML tags and unescape the four standard HTML entities.

If you're trying to learn about Perl, or even just have a local copy you can run, a script something like this will do that:

CODE
#!/usr/bin/perl
while($line = <STDIN>) {
$line =~ s/<[^>]+>//g;
$line =~ s/&amp;lt;/</g;
$line =~ s/&amp;gt;/>/g;
$line =~ s/&amp;quot;/"/g;
$line =~ s/&amp;amp;/&/g;
print $line;
};
etoile
Good grief, I finally figured out why the scripts were inaccessible. Why didn't anybody ever tell me they were getting a 500 error?!

These should work now:
http://www.amanita.net/lj2mt.txt (plain)
http://www.amanita.net/lj2mtmm.txt (append mood/music)

I'm so glad to know my tutorial has been useful.
kupotek
QUOTE (etoile @ May 31 2003, 08:55 PM)
Good grief, I finally figured out why the scripts were inaccessible.  Why didn't anybody ever tell me they were getting a 500 error?!

These should work now:
http://www.amanita.net/lj2mt.txt (plain)
http://www.amanita.net/lj2mtmm.txt (append mood/music)

I'm so glad to know my tutorial has been useful.
*



404 error page not found :/
lisa
QUOTE (kupotek @ Dec 5 2005, 02:15 PM)
QUOTE (etoile @ May 31 2003, 08:55 PM)
Good grief, I finally figured out why the scripts were inaccessible.  Why didn't anybody ever tell me they were getting a 500 error?!

These should work now:
http://www.amanita.net/lj2mt.txt (plain)
http://www.amanita.net/lj2mtmm.txt (append mood/music)

I'm so glad to know my tutorial has been useful.
*


404 error page not found :/
*



First one:
http://www.borg-cube.com/~dburr/lj2mt.pl.txt

I didn't see the second one though.

Her instructions:
http://journal.amanita.net/index.php/2002/...o-movable-type/
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-2010 Invision Power Services, Inc.