Help - Search - Members - Calendar
Full Version: Importing From Blogger To Mt 4.0
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
katia
Hi there,

I'm a long time user of MT for a number of websites, but have been using blogger for another website - now it's time to migrate, and I'm having terrible trouble trying to import my blogger entries into mt.

Tried the blogger import plugin. No cigar. Told me that my import was successful, but nothing showed. Gave up on that and decided to try the hard way.

Used the following code to extract my entries and create my mtimport.txt file :

CODE
<Blogger>
AUTHOR: <$BlogItemAuthor$>
TITLE: <$BlogItemTitle$>
DATE: <$BlogItemDateTime$>
-----
BODY:
<$BlogItemBody$>
--------
<BlogItemCommentsEnabled>
<BlogItemComments>
COMMENT-AUTHOR:<$BlogCommentAuthor$>
COMMENT-DATE:<$BlogCommentDateTime$>
COMMENT-BODY:<$BlogCommentBody$>
--------
</BlogItemComments>
</BlogItemCommentsEnabled>
</Blogger>


The following is a small extract of what came out :

CODE
AUTHOR: Katia
TITLE: k&k episode 106 - the one where they argue about the meaning of words... again... and stuff...
DATE: 12/30/2007 08:23:00 PM
-----
BODY:
One of our favourite episodes is one from quite some time ago (<a href="http://katiaandkyliemac.blogspot.com/2006/10/kk-episode-05-one-where-they-laugh-at_02.html">episode 5</a> to be exact), and it was all about Words - the different words we use in our respective countries for the same things. In this extra-long holiday special of the podcast, we decide to revisit this much-loved topic, and spend quite a bit of time arguing about the different words we use in reference to food. So get yourself comfortable and listen to the animated discussion in <a href="http://media.libsyn.com/media/katiaandkyliemac/knk_episode106.mp3">episode 106</a>! (<a href="http://katiaandkyliemac.blogspot.com/2006/08/show-links-episodes-81-120.html">Show links</a>)

This episode was brought to you by the word "une frite" (a chip).

<em>Listen to the latest episode right here! </em>

<div align="center"><embed src="http://media.libsyn.com/media/katiaandkyliemac/knk_episode106.mp3" width="128" height="20" type="audio/mpeg" volume="50" loop="false" controls="console" autostart="FALSE"></embed></div>
--------




AUTHOR: Katia
TITLE: k&k episode 105 - the one where they talk about French Christmas traditions... and stuff...
DATE: 12/23/2007 10:09:00 AM
-----
BODY:
This week we bring you the k&k Christmas special! From upside down Christmas trees to creepy Santon (you'll just have to listen to find out what we're on about), in <a href="http://media.libsyn.com/media/katiaandkyliemac/knk_episode105.mp3">episode 105</a> we talk about a few of the more interesting French Christmas traditions, past and present. Now, in light of the holiday season, we're only putting up one episode this week and one next week, but they're extra long ones, so you shouldn't miss us too much! (<a href="http://katiaandkyliemac.blogspot.com/2006/08/show-links-episodes-81-120.html">Show links</a>)

This episode was brought to you by the word "un arbre de Noėl" (a Christmas tree).
--------


COMMENT-AUTHOR:<span style="line-height:16px" class="comment-icon blogger-comment-icon"><img src="http://www.blogger.com/img/b16-rounded.gif" alt="Blogger" style="display:inline;" /></span>&nbsp;<a href="http://www.blogger.com/profile/07100259488053106803" rel="nofollow">L</a>
COMMENT-DATE:8:13 PM
COMMENT-BODY:In the south (Provence, Languedoc-Roussillon), the treize desserts are popular. Don't worry, it's not 13 būches or something like that. You eat one dried abricot, a date, a piece of nougat, some apple, some fougasse (okay, that one's a gateau), some walnuts, and other things of the sort. I assume the dried fruits and nuts represent the 12 apostles and Jesus, but I haven't heard the whole explanation. Christmas trees are sold on the small side, and no one eats pain d'épices or mulled cidar/wine in the south either. Other than that, foie gras, huitres, and the būche are what I've experienced.
--------


When I try to import the whole thing, it correctly grabs the title and date, but instead grabs the LAST entry content in the whole file! And that's it.

When I try to break it down to just one entry (I've only got 150 entries but lots of comments that I don't want to lose, and thought that if I have to go the really long route, I will just upload them one by one), it grabs the title date and then combines the entry and the comment into the entry body.

Can anyone shed some light on this for me? It would give me a really good end to 2007 (or start to 2008) if I can manage to get this one figured out!
sarah
There some problems with your format. I'm not familar with the output of the Blogger tags anymore (some of the date formats/styling, etc. may need fixing), but the following should get you closer to the right format. This old topic and the links within might be helpful.

CODE
<Blogger>
AUTHOR: <$BlogItemAuthor$>
TITLE: <$BlogItemTitle$>
DATE: <$BlogItemDateTime$>
-----
BODY:
<$BlogItemBody$>
-----
<BlogItemCommentsEnabled>
<BlogItemComments>
COMMENT:
AUTHOR: <$BlogCommentAuthor$>
DATE: <$BlogCommentDateTime$>
<$BlogCommentBody$>
-----
</BlogItemComments>
</BlogItemCommentsEnabled>
--------
</Blogger>
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-2009 Invision Power Services, Inc.