validate the css validate the xhtml

HackerMoJo.com


Ceci n'est pas une blog
by Glenn Franxman, Django Developer / Stunt Programmer.

Leaving MT

posted: 2006-02-26 19:19:58 perma-link, RSS comments feed

After all this time with MT, I've decided to go my own way. If you've ever come to the same decision, then you know that MT's export is a pretty lame format that doesn't include all of the information you might need if you migrating to another system.

The solution I've come to is to create a MT template that exposes everything as a single xml document. Here's what I'm using so far:

<?xml version="1.0" encoding="utf-8"?>
<movabletype xmlns="http://movabletype.org/mtexport/1.0">
<blogs>
<mtblogs>
<blog>
<id><$MTBlogID$></id>
<name><$MTBlogName$></name>
<description><$MTBlogDescription$></description>
<url><$MTBlogURL$></url>
<archiveurl><$MTBlogArchiveURL$></archiveurl>
<relativeurl><$MTBlogRelativeURL$></relativeurl>
<sitepath><$MTBlogSitePath$></sitepath>
<host><$MTBlogHost$></host>
<timezone><$MTBlogTimezone$></timezone>
<entrycount><$MTBlogEntryCount$></entrycount>
<commentcount><$MTBlogCommentCount$></commentcount>
<cclicenseurl><$MTBlogCCLicenseURL$></cclicenseurl>
</blog>
</mtblogs>
</blogs>
<entries>
<mtentries lastn="1000">
<entry>
<id><$MTEntryID$></id>
<blogid><$MTBlogID$></blogid>
<title><$MTEntryTitle$></title>
<status><$MTEntryStatus$></status>
<excerpt><$MTEntryExcerpt$></excerpt>
</entry></mtentries></entries></movabletype>

<$MTEntryBody$> <$MTEntryMore$> <$MTEntryLink$> <$MTEntryPermaLink$> <$MTEntryKeywords$> <$MTEntryAuthor$> <$MTEntryAutherNickname$> <$MTEntryAutherEmail$> <$MTEntryAuthorURL$> <$MTEntryAuthorLink$> <$MTEntryDate$> <$MTEntryModifiedDate$> <$MTEntryCommentCount$> <$MTEntryTrackbackCount$> <$MTEntryTrackbackData$> <$MTEntryTrackbackLink$> <$MTEntryTrackbackID$> <$MTEntryCategory$> <$MTCategoryID$> <$MTCommentID$> <$MTCommentEntryID$> <$MTCommentIP$> <$MTCommentAuthor$> <$MTCommentAuthorLink$> <$MTCommentEmail$> <$MTCommentURL$> <$MTCommentBody$> <$MTCommentDate$> <$MTCommentOrderNumber$> <$MTCategoryID$> <$MTCategoryArchiveLink$> <$MTCategoryDescription$> <$MTCategoryCount$> <$MTCategoryTrackbackLink$>


If you'd like to keep track of the comments on this article, you can use this rss feed.

 

Based upon your reading habits, might I recommend:

Or, you might like:

Post a comment


Copyright © 2003,2004,2005,2006,2007,2008 GFranxman. All Rights Reserved


hosting: slicehost.com. powered by: django. written in: python. controlled by: bzr. monsters by: monsterID.

You've been exposed to: {'Programming': 1}