<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/mt_migration_th.php" />
  <link rel="self" type="application/atom+xml" href="http://www.readwriteweb.com/atom.xml" />
  <id>tag:,2008:/1/tag:72.47.210.69,2004://1.4204-</id>
  <updated>2008-09-24T12:29:20Z</updated>
  <title>Comments for MT Migration - The How and the CSS</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.1</generator>
  <entry>
    <id>tag:72.47.210.69,2004://1.4204</id>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/mt_migration_th.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.readwriteweb.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=4204" title="MT Migration - The How and the CSS" />
    <published>2004-05-10T07:07:38Z</published>
    <updated>2007-12-16T23:15:32Z</updated>
    <title>MT Migration - The How and the CSS</title>
    <summary>Yesterday I explained why I moved my blog from Radio Userland and today I&apos;m going to explain how I did it. I&apos;ll also talk a bit about my new CSS layout. The Move I have to give a big shout-out to Bill Kearney, whose Radio Exporter tool made it relatively easy to export all my...</summary>
    <author>
      <name>Richard MacManus</name>
      <uri>http://www.readwriteweb.com</uri>
    </author>
    
    <category term="Authoring Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com/">
      <![CDATA[<p>Yesterday I explained <b>why</b> I moved my blog from Radio Userland and
today I'm going to explain <b>how</b> I did it. I'll also talk a bit about my
new CSS layout.</p>
<h2>The Move</h2>
<p>I have to give a big shout-out to <a href="http://www.ideaspace.net/users/wkearney/">Bill
Kearney</a>, whose <a href="http://www.ideaspace.net/users/wkearney/misc/radio/radio8/exporter/0.4.4/">Radio
Exporter tool</a> made it relatively easy to export all my content from Radio to
MT. There were a couple of gotchas for me though - one was I had to convert the
date format Radio uses (DD-MM-YYYY) to the format MT wanted (MM-DD-YYYY). The
second additional thing I had to do was get rid of all the line breaks I had in
my content - I used MS Word (of all things) to do that. There was some other
faffing about, but eventually I got all the content imported into MT.</p>
<p>The next task was to maintain the same URL structure in my new MT blog, so
that permalinks to past articles wouldn't break. Again <a href="http://www.ideaspace.net/users/wkearney/archives/entries/000264.html">Bill
Kearney had solved this</a> - it was a matter of adjusting the date-based
archive template in MT to use the same date format as Radio.</p>
<p>My comments system proved to be the biggest challenge (apart from the CSS
that is, which I'll get to in a minute). I debated with myself whether to use
MT's in-built comments system, or whether to stick with <a href="http://www.myelin.co.nz/post/">Phil
Pearson's</a> excellent <a href="http://www.pycs.net/">Python Community Server</a>.
I decided it would be easiest to keep going with PYCS, rather than try and
migrate all the comments across. Plus I like the pop-up box method of comments,
rather than sticking comments on the same page as my posts. Although having said
that, I do admit that having comments on the same page as the post encourages <a href="http://www.9rules.com/whitespace/our_thoughts/whose_blog_is_it.php">community-centred
conversations</a>. But for now I'm very happy with PYCS. A big shout-out here to
<a href="http://www.myelin.co.nz/post/">Phil Pearson</a>, who has been helping
me migrate my comments.</p>
<p>NB: some of the old comments haven't yet made it across, so if you're
wondering why a comment you made on my blog in the past is no longer present -
it's not because I deleted it, unfortunately it's stuck in transit. It'll be
back soon.</p>
<p>So that was basically how I moved my content across to MT. There were a few
other gotchas along the way, but that's par for the course whenever you move
weblogs - and every person's gotchas will be different, so there's little point
in me describing them here.</p>
<h2>The CSS Re-design</h2>
<p>Now before I start talking about the CSS, I have to say that I don't think my
new design is - visually speaking - anything to write home about. I'm no <a href="http://www.zeldman.com/">Zeldman</a>
or <a href="http://www.7nights.com/asterisk/">Asterisk</a> or <a href="http://www.simplebits.com/">Simplebits</a>.
Those guys are <b>artistes</b>, whereas I'm not worthy to shine their shoes (in
a web design sense). But even though I have the esthetic sensibilities of a bull
in a paint supplies shop, nevertheless I wanted to design my very own style for
my MT weblog. My goal was to design a fairly unique, CSS-positioned, table-less
layout that had semantically meaningful &lt;div&gt; tags dripping from its very
pores. </p>
<p><a href="http://www.readwriteweb.com/archives/001725.html">Last time</a> I
did a CSS design, I borrowed one from the fab <a href="http://www.csszengarden.com/">CSS
Zen Garden</a> (with the designer's permission of course). But this time I
specifically wanted to create my own CSS design from the ground up. So firstly I
studied lots of existing designs, to see how others did it, and I consulted
various books such as <a href="http://www.ericmeyeroncss.com/">Eric Meyer on CSS</a>
(thanks to <a href="http://codeismandatory.com/">Code is Mandatory</a> for
lending me that, plus <a href="http://www.zeldman.com/dwws/">the Zeldman book</a>).
I noticed that most of the good designs out there are centred and fixed width,
but eventually I decided on a left-aligned fixed width design - to be slightly
different, but also I think the main menu is best positioned on the <b>left</b>
of a page rather than horizontally below the header (where most trendy websites
place it). I also opted for 3 columns, as I wanted to highlight my Quicklinks in
a place that was separate from the main navigation. The right-hand column is
where most bloggers put their quicklinks, and in this case I opted to go with
the common wisdom (<a href="http://www.useit.com/">Jakob Nielsen</a> would be
proud of me).</p>
<p>The CSS design I created uses 'float: left' and 'float: right' to position
the left and right columns, and the main content area fits in between. All 3
columns are placed within a container div. The effect of the two vertical grey
lines that separate each column is attained via a vertically tiled background
image - see <a href="http://www.alistapart.com/articles/fauxcolumns/">Dan
Cederholm's excellent article on Faux Columns</a>. There is one little gotcha
here that I didn't discover until the morning after I published my new CSS - in
the HTML file, the code for the left and right columns must be placed <b>before </b>the
code for the centre column. This means the left and right columns will render
before the centre column, which will prevent jerky scrolling in Mozilla and
overlaying divs in all browsers.</p>
<p>There are a few other things I need to tidy up in my CSS - e.g. there is an
annoying bug in IE's rendering of pages that include an &lt;em&gt; tag. So if
you notice the right grey line missing on a page which has italics, that's the
reason. This and a few other minor things still need patching up. I also suspect
I haven't covered all bases for backwards compatibility (IE 5 browsers and the
like). Sigh, the joys of CSS design. I will try and fix these things up over the
next few weeks.</p>
<p>One more thing, I will try and jazz up the design some more - e.g. with a
graphical header and some more stuff in the right column...maybe music-logging
(a la <a href="http://gonze.com/weblog/">Lucas</a> and <a href="http://radio.weblogs.com/0110772/">Seb</a>)??
Hmmm, have to think about that. Any suggestions?</p>
<h2>Summary</h2>
<p>Well that about brings to a close my latest project - moving to MT and
designing a new CSS layout. I can now get back into writing and other
explorations. I have an interesting RSS article coming up, regarding
E-Government. Stay tuned :-)</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2004://1.4204-comment:35393</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2004://1.4204" type="text/html" href="http://www.readwriteweb.com/archives/mt_migration_th.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/mt_migration_th.php#c35393" />
    <title>Comment from Greg Gershman on 2004-05-10</title>
    <author>
        <name>Greg Gershman</name>
        <uri>http://www.blogdigger.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.blogdigger.com/">
        <![CDATA[<p>The new blog looks good.  I'm also switching off Radio, but I think I'm going to end up using Blogdigger to author my new blog - as soon as the code is all finished!</p>

<p>By the way, it is possible to do pop-up comments with MT - I believe the default template comes with Javascript code that pops up a comment box for each post when clicked (I can send you some samples if you like, I believe I have the code lying around somewhere).  The archive pages still get comments appended onto the end, which I think is a good idea because then search engines come along and grab the comments content as well, which adds value, overall, to the information on the page (the commenttors values in addition to your own).  I've even seen some RSS feeds that append comments to the end of a post, which, if your aggregator is smart, will be considered an update, and will push out new comments to subscribers.</p>]]>
    </content>
    <published>2004-05-10T16:56:31Z</published>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2004://1.4204-comment:35394</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2004://1.4204" type="text/html" href="http://www.readwriteweb.com/archives/mt_migration_th.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/mt_migration_th.php#c35394" />
    <title>Comment from Richard MacManus on 2004-05-10</title>
    <author>
        <name>Richard MacManus</name>
        <uri>http://www.readwriteweb.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com">
        <![CDATA[<p>Thanks for your comments Greg. Re appending comments onto end of each post, I'm still unsure whether I want to do that. If I implemented the MT plug-in that removes the commenters URL from the comment, then that may convince me - because that disuades spammers from 'participating in the conversation'(!!). It's the spam problem that is my main issue, but also I kind of like the idea of keeping comments separate from the post. But I have to admit that's not really in keeping with my 'two-way web' principles... Hmmm, I'm slowing coming round.</p>]]>
    </content>
    <published>2004-05-11T00:01:07Z</published>
  </entry>

</feed>