{"id":247,"date":"2002-11-04T08:55:00","date_gmt":"2002-11-04T13:55:00","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/uncategorised\/archives_online.html"},"modified":"2006-10-15T19:41:48","modified_gmt":"2006-10-16T00:41:48","slug":"archives_online","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/meta\/archives_online.html","title":{"rendered":"Archives now online"},"content":{"rendered":"<p>I&#8217;ve managed to put an archive listing by adding an &#8220;archive&#8221; flavour and messing with the Apache rules. Here are the lines I added to my Apache ruleset for the blog directory:<\/p>\n<pre><code>RewriteRule ^archives$ archives\/ [R]\r\nRewriteRule archives\/(.*) blosxom.cgi\/$1?flav=archive [L]<\/code><\/pre>\n<p>For some reason that first rule is not automatically filling in a missing trailing slash, so not adding it will just take you to the main page. I will look at that later. I also edited the blosxom.cgi script so that if the flavour is &#8220;archive&#8221;, stories with the same date are not preceeded by that date, and the number of entries displayed is a high number, like 100000.<\/p>\n<p>Bringing up the archive page is a little slow so I might just forward the archives directory to a static page which contains links to per-month archives. This will do for now, however.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve managed to put an archive listing by adding an &#8220;archive&#8221; flavour and messing with the Apache rules. Here are the lines I added to my Apache ruleset for the blog directory:<\/p>\n<p> RewriteRule ^archives$ archives\/ [R] RewriteRule archives\/(.*) blosxom.cgi\/$1?flav=archive [L] <\/p>\n<p>For some reason that first rule is not automatically filling in a missing trailing slash,&nbsp;&hellip;&nbsp;<a class=\"read_more\" href=\"http:\/\/crazedmonkey.com\/blog\/meta\/archives_online.html\" rel=\"bookmark\" title=\"Continue reading &ldquo;Archives now online&rdquo;\"><span>Read more<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[16,17],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/247"}],"collection":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":0,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}