{"id":41,"date":"2004-12-21T07:09:14","date_gmt":"2004-12-21T11:09:14","guid":{"rendered":"http:\/\/www.steenhagen.us\/~jake\/trunk\/?p=41"},"modified":"2006-11-30T09:53:54","modified_gmt":"2006-11-30T14:53:54","slug":"facelift-for-my-weblog","status":"publish","type":"post","link":"https:\/\/jacob.steenhagen.us\/blog\/2004\/12\/facelift-for-my-weblog\/","title":{"rendered":"Facelift For My Weblog"},"content":{"rendered":"<p class=\"first\">Minor though it may be, I&#8217;ve now given my blog a bit of a face lift. The design itself is still pretty much the default from MoveableType, but I&#8217;ve done a little more with colors. I also added a little bit of Mozilla specific CSS. While the page is certainly still functional in Internet Explorer, it looks better in Mozilla based browsers. CSS really is a beautiful thing once you figure out how it works (I remember it taking quite a while for me to even want to make the transition, let alone actually do it&#8230; I probably still haven&#8217;t, completely). In addition to the front end improvements, I&#8217;ve also made a couple on the semi-backend (eg, not the MT code, but not just CSS). I finally figured out how to make it so links show up in syndicated versions of this blog (this was quite a problem in <a href=\"http:\/\/www.steenhagen.us\/~jake\/blog\/archives\/000040.html\">my last post<\/a>). In case you&#8217;re curious, it was as simple as changing <code>&lt;$MTEntryExcerpt encode_xml=\"1\"$&gt;<\/code> to <code>&lt;$MTEntryBody encode_xml=\"1\"$&gt;<\/code> in the RSS templates. That also has the side effect of having the entire post be syndicated (at the option of the syndicating site) instead of just the first few characters. The other backend thing I did was made the new archive pages (<a href=\"http:\/\/www.steenhagen.us\/~jake\/blog\/archives-03.html\">&#8217;03<\/a> and <a href=\"http:\/\/www.steenhagen.us\/~jake\/blog\/archives-04.html\">&#8217;04<\/a>) much easier. Using a template modules and include statements, I was able to greatly reduce the amount of &#8220;code&#8221; required to make a calendar. In fact, all I need is:<\/p>\n<pre class=\"code\">&lt;!-- JANUARY_2003 --&gt;\r\n&lt;table border=\"0\" cellspacing=\"4\" cellpadding=\"0\"&gt;\r\n&lt;caption class=\"calendarhead\"&gt;January 2003&lt;\/caption&gt;\r\n&lt;$MTInclude module=\"CalendarDOW\"$&gt;\r\n&lt;MTCalendar month=\"200301\"&gt;\r\n&lt;$MTInclude module=\"CalendarDays\"$&gt;\r\n&lt;\/MTCalendar&gt;\r\n&lt;\/table&gt;\r\n&lt;!-- \/JANUARY_2003 --&gt;<\/pre>\n<p>That&#8217;s still a lot more than should be required had a better templating system been used. It would be nice to have all that layout type stuff in one template module so I could just say something like <code>&lt;MTInclude module=\"Calendar\" month=\"200301\"&gt;<\/code> and still be able to get my own layout, but I this is still better than what MoveableType uses by default.<\/p>\n<p><strong>UPDATE<\/strong>: I was just looking at the <a href=\"http:\/\/www.steenhagen.us\/~jake\/blog\/archives-04.html\">2004 Archive<\/a> page. With this entry, I&#8217;ve now posted more in the month of December than I have for the entire other 11 months of 2004. Kinda sad, isn&#8217;t it?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Minor though it may be, I&#8217;ve now given my blog a bit of a face lift. The design itself is still pretty much the default from MoveableType, but I&#8217;ve done a little more with colors. I also added a little bit of Mozilla specific CSS. While the page is certainly still functional in Internet Explorer, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jacob.steenhagen.us\/blog\/2004\/12\/facelift-for-my-weblog\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Facelift For My Weblog&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3,15],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7EJi-F","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/posts\/41"}],"collection":[{"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":0,"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jacob.steenhagen.us\/blog\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}