<?xml version="1.0"?><rss version="2.0">
<channel>
  <title>Alan&#039;s Ramblings - roller tag</title>
  <link>http://bleaklow.com:80/tags/roller/</link>
  <description>My opinions may be incorrect, but they are my own</description>
  <language>en</language>
  <copyright>Alan Burlison</copyright>
  <lastBuildDate>Wed, 29 Feb 2012 20:50:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  <image>
    <url>http://bleaklow.com/images/misc/logo.gif</url>
    <title>Alan&#039;s Ramblings</title>
    <link>http://bleaklow.com:80/</link>
  </image>
  <item>
    <title>Simple parser for MovableType exports</title>
    <link>http://bleaklow.com:80/2010/05/23/simple_parser_for_movabletype_exports.html</link>
    <description>
          &lt;p&gt;
As part of moving my blog over to &lt;a href=&#034;http://pebble.sourceforge.net/&#034; pebble=&#034;&#034;&gt;&lt;/a&gt; I needed to be able to transfer the content from my old &lt;a href=&#034;http://www.movabletype.com/&#034;&gt;MovableType&lt;/a&gt; blog and my blogs.sun.com blog, which runs on &lt;a href=&#034;http://www.movabletype.com/&#034;&gt;Roller&lt;/a&gt;.  Both MT and Roller can export in &lt;a href=&#034;http://www.sixapart.com/movabletype/docs/mtimport&#034;&gt;MovableType export format&lt;/a&gt; and Pebble has a MT importer, so it looked relatively straightforward.  However when I looked at the content I was importing it was clear I&#039;d need to munge it on its way into Pebble.  The Pebble MT importer is one-pass and loads the entries into Pebble as it reads them, whereas I wanted to read them in, munge them and only then load them into Pebble, so I wrote a simple parser to read in the MT export.  It&#039;s not a thing of great beauty but it got the job done.  I thought it might be useful for other people who want to read MovableType exports from Java, so I&#039;ve put a copy of it &lt;a href=&#034;files/2010/MTParser.tar.gz&#034;&gt;here&lt;/a&gt;.
&lt;/p&gt;</description>
      <category>Web</category>
    <category>Tech</category>
    <category>Java</category>
    <comments>http://bleaklow.com:80/2010/05/23/simple_parser_for_movabletype_exports.html#comments</comments>
    <guid isPermaLink="true">http://bleaklow.com:80/2010/05/23/simple_parser_for_movabletype_exports.html</guid>
    <pubDate>Sun, 23 May 2010 10:03:00 GMT</pubDate>
  </item>
  </channel>
</rss>

