Trying to import Livejournal files (which have already been converted to XML files), but can't find Livejournal module for 4.6

Hello everyone,

Please excuse the distinct smell of clueless newbie.

I have recently installed Drupal 4.6 on my server. The installation went fine and everything seems to be working. I would now like to import approx. 1,200 files into Drupal. About 1,000 of those files were originally Livejournal files. Using the LJ export tool, I have converted those files into XML, one file for every month.

Now I need to put the Livejournal import module (I think) on my server. However, I can't seem to find the module. The Drupal handbook mentions the module here: http://drupal.org/node/1903 which is by Tom Rowan. The link for the download is broken, and I cannot find it anywhere else on his site (http://weblog.rowan.me.uk/?q=search).

I have run searches on drupal.org in the forums, downloads for 4.6, and current CVS, but I can't find anything that is a current, working LJ import module.

Does anyone know where to find one or have any suggestions for how to import all that data (5mbs, 1,200+ separate files) into Drupal without having to enter each document individually via the web based "submit personal blog entry" portal? I feel queasy just thinking about the impact that will have on my carpal tunnel...

Hope someone can help. Thanks in advance!

It's also mentioned on his

Junyor - May 1, 2005 - 12:02

It's also mentioned on his site[1], but all the links are dead. :( Maybe try to contact him through his site?

[1] http://weblog.rowan.me.uk/?q=node/26 and http://weblog.rowan.me.uk/?q=node/33

Work out a working method to import LiveJournal

tola - September 21, 2006 - 22:05

I'd like to import nearly three years worth (219 entries) of my LiveJournal to my new Drupal powered blog. LiveJournal allow you to export entries as either CSV or XML files, a month of entries per file (that's 33 files for me).

There is a page entitled Migrating from LiveJournal on the Drupal web site, but I think it may be slightly out of date. It offers three methods of migration:

1) Use IFRAMEs - not really what I want
2) Using Node Import - by using an RSS feed it says that the actual content will still be hosted at LiveJournal, which isn't what I want. I think it's also now out of date because contrary to what it says, RSS feeds are now available to all LiveJournal users.
3) Use the Livejournal Module to import the raw data into Drupal - This sounds like the best method. Unfortunately, the module is no longer available or maintained.

I'm now thinking that my best option is to use the Node Import module to try and import the CSV or XML files, but I have no idea how to do it and the documentation for that module doesn't mention supporting the blog post content type.

* What XML format do the blog posts need to be in to be imported?
* What date format do they need to use?
* I don't think I will be able to preserve my LiveJournal "tags" because they don't appear in the exported XML files
* I'd quite like to convert all instances of a custom [lj user="joebloggs"] tag with an [a href="http://joebloggs.livejournal.com"] tag.

Alternatively, the new Import/Export API module might do this?

I can program PHP and I'm willing to do some work on this. Will I need to use XSLT to transform the XML into a format that Drupal understands, or is there an easier method? I'm wondering whether using the RSS feed of the LiveJournal will be a better idea, because it already has [lj user] tags converted and contains useful things like a link to the original post and a link to comments made on the original post, which might be nice to include in the Drupal version as I'm going to lose all my comments.

Thank you

--
Ben "tola" Francis
http://tola.me.uk

livejournal import

frog - September 26, 2006 - 00:21

Have you tried this method yet? I'm still working out the kinks of my drupal upgrade, but when I'm done, I'd like to import my LJ locally, too.

 
 

Drupal is a registered trademark of Dries Buytaert.