1. Install the following as a new Movable Type template called Drupal Convert, with drupal.rdf specified as the Output File.

<?xml version="1.0" encoding="iso-8859-1"?>
<items>
<MTEntries lastn="1000" sort_order="ascend">
<item about="<$MTEntryLink$>">
<title><$MTEntryTitle encode_xml="1"$></title>
<description><$MTEntryBody encode_xml="1"$></description>
<link><$MTEntryLink$></link>
<subject><$MTEntryCategory encode_xml="1"$></subject>
<creator><$MTEntryAuthor encode_xml="1"$></creator>
<date><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></date>
</item>
</MTEntries>
</items>

2. Save the template, and rebuild. Movable Type will offer to rebuild drupal.rdf for you. The file will contain the last 1000 Movable Type entries, encoded as XML, sorted in ascending date order. This will be helpful if you are turning them into Drupal blog entries, because Drupal displays blog entries in reverse node id (database insert) order.

Comments

canishk’s picture

Somebody could tell me how to add this template in the MT.