{"id":252,"date":"2003-06-22T12:57:04-04:00","date_gmt":"2003-06-22T20:57:04+00:00","guid":{"rendered":"http:\/\/peterjanes.ca\/wordpress\/?p=252"},"modified":"2003-06-22T12:57:04-04:00","modified_gmt":"2003-06-22T20:57:04+00:00","slug":"mt-file-handling","status":"publish","type":"post","link":"https:\/\/peterjanes.ca\/blog\/2003\/06\/22\/mt-file-handling\/","title":{"rendered":"MT file&nbsp;handling"},"content":{"rendered":"<div class='e-content'><p>I&#8217;ve been playing with <a href=\"http:\/\/www.movabletype.org\/\">Movable Type<\/a> for a few weeks, trying to figure out how to associate uploaded files with individual posts, or even just an automatic way to place new files in a templated directory, and it doesn&#8217;t seem to be possible.  The main problem appears to be that MT doesn&#8217;t really <em>do<\/em> files: the model is what I call <cite>accept and forget<\/cite>, which means it doesn&#8217;t care if you accidentally overwrite <samp>picture1.jpg<\/samp> uploaded two months ago with <samp>picture1.jpg<\/samp> taken today.<\/p>\n\n<p>I suppose the reason I&#8217;m disappointed is partly because I&#8217;ve been thinking of MT as a content-management system, when all it is, really, is a weblogging tool&#8211;a very capable and flexible one, granted, but still just a tool.  Given that <a href=\"http:\/\/www.sixapart.com\/\">Six Apart<\/a> distribute it, uncrippled, for free, I hardly have a basis for complaining.  It will be interesting to see if <a href=\"http:\/\/www.sixapart.com\/press\/six_apart_relea.shtml\">Movable Type Pro<\/a> handles this any better, although based on Six Apart&#8217;s press about <a href=\"http:\/\/www.typepad.com\/\">TypePad<\/a> (features of which will be backported to MT Pro) I suspect it won&#8217;t.<\/p>\n\n<p>Maybe I&#8217;ll need to take <cite>Tim Bray<\/cite>&#8216;s <a title=\"Lap to Lamp\" href=\"http:\/\/www.tbray.org\/ongoing\/When\/200x\/2003\/04\/20\/XLamp\">advice<\/a> after all: <q>If you&#8217;re a programmer and you have a blog&#8230; buckle down and write the code yourself.<\/q><\/p><\/div><div class=\"syndication-links\"><\/div>","protected":false},"excerpt":{"rendered":"I&#8217;ve been playing with Movable Type for a few weeks, trying to figure out how to associate uploaded files with individual posts, or even just an automatic way to place new files in a templated directory, and it doesn&#8217;t seem to be possible. The main problem appears to be that MT doesn&#8217;t really do files:&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"venue_id":0},"categories":[3],"tags":[],"kind":false,"_links":{"self":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts\/252"}],"collection":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":0,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"wp:attachment":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}