{"id":4718,"date":"2003-11-02T13:21:45","date_gmt":"2003-11-02T21:21:45","guid":{"rendered":"http:\/\/www.ikillspies.com\/blog\/2003\/11\/02\/4718\/"},"modified":"2003-11-02T13:21:45","modified_gmt":"2003-11-02T21:21:45","slug":"mt-archive-overhaul","status":"publish","type":"post","link":"http:\/\/www.ikillspies.com\/?p=4718","title":{"rendered":"MT Archive overhaul"},"content":{"rendered":"<p>If you&#8217;re sick to death of reading about this stuff, just skip this article.  I&#8217;m updating the GhostHouse site so it&#8217;s based on MT.<br \/>\n  <b>Summary:  <\/b><br \/>\nI went with the &#8220;one individual archive per entry&#8221; model and generated the content for every kind of article in every archived article page.  Then I split the contents into DIV entities and wrote CSS to only show the appropriate content for that page.<\/p>\n<p \/>\n<ul>\n<li>First we have to <a href=\"http:\/\/mar.anomy.net\/entry\/2003\/06\/22\/17.15.00\/\">Future-proof MT<\/a>.<br \/>\nThis also hides the implementation of individual archives from the casual viewer.  So far I just changed everything to an &#8220;index.html&#8221; (one file per directory)  and didn&#8217;t complete the rest of the conversions.<\/li>\n<li>Make a monster template for the &#8220;individual archive&#8221; pages containing the HTML for an article of every type of category.<\/li>\n<li>Specify the CSS for a given page based on the category name, in addition to the &#8220;General&#8221; CSS file.<\/li>\n<li>For the general CSS, strip out all the design-type elements and move them into the individual category CSS<\/li>\n<li>In the CSS for each category, make the inappropriate entities (HTML which appears in only articles which are not in this category) invisible<\/li>\n<li>for the crew pages, generate (as a template) a .htaccess file which specifies by name every crew article<\/li>\n<li>also nazi all the &#8220;link only&#8221; pages.  Thus, we generate them, but no one will ever see them<\/li>\n<li>since the &#8220;crew hub&#8221; really is more like an announcement page, we need an archive of that&#8230; but if we use a vanilla monthly archive  it will show the things on the main site as well.  So, we make a monthly archive template which only shows the &#8220;crew-only&#8221; content, including the links.<\/li>\n<li>We don&#8217;t really need monthly main-site pages- since entries are not updated on a timely basis, it would be meaningless.  Instead, we make a big archive of all the &#8220;In Production&#8221; and &#8220;Now Showing&#8221; movies, as index page templates.<\/li>\n<li>We need two calendar pages- the main site&#8217;s &#8220;Screening Calendar&#8221; and the crew-only &#8220;Production Calendar&#8221;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re sick to death of reading about this stuff, just skip this article. I&#8217;m updating the GhostHouse site so it&#8217;s based on MT. Summary: I went with the &#8220;one individual archive per entry&#8221; model and generated the content for every kind of article in every archived article page. Then I split the contents into [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-4718","post","type-post","status-publish","format-standard","hentry","category-looky"],"_links":{"self":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts\/4718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4718"}],"version-history":[{"count":0,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts\/4718\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4718"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}