Warning: Declaration of ThemeSwitcherWidget::update($new_instance) should be compatible with WP_Widget::update($new_instance, $old_instance) in /home/kingston/hitormiss/wp-content/plugins/theme-switcher/theme-switcher.php on line 0
Importing Blogger posts with comments into Movable Type

Hit or Miss

Importing Blogger posts with comments into Movable Type

I’ve been trying to develop a template for importing Blogger posts with the new comment system into Moveable Type (not because I don’t like the new Blogger system, just because I figure people will want to do it eventually), but I’ve run into a problem.

Here’s my updated version of the template provided by MT:

TITLE: <BlogItemTitle><BlogItemURL><a href="<$BlogItemURL$>"></BlogItemURL><$BlogItemTitle$></a></BlogItemTitle>
AUTHOR: <$BlogItemAuthor$>
DATE: <$BlogItemDateTime$>
AUTHOR: <$BlogCommentAuthor$>
DATE: <$BlogCommentDateTime$>

The problem is that <$BlogCommentAuthor$> automatically formats the comment author name with the URL to the Blogger profile page, while MT needs just the name. You could do a little regex search and replace to transform it, but that defeats the idea of simple template output.