{"id":72,"date":"2006-07-06T00:25:31","date_gmt":"2006-07-06T05:25:31","guid":{"rendered":"http:\/\/www.powrsurg.com\/blog\/?p=72"},"modified":"2006-07-06T19:51:32","modified_gmt":"2006-07-07T00:51:32","slug":"updates-for-web-site","status":"publish","type":"post","link":"https:\/\/www.powrsurg.com\/blog\/2006\/07\/06\/updates-for-web-site\/","title":{"rendered":"Updates for this Web site"},"content":{"rendered":"<p>Sorry for not posting lately, but I have been backed up by working on things in my free time and have been catching up on my reading\/watching things (<abbr title=\"for example\">e.g.<\/abbr>, the <em>Fantastic Four<\/em> movie). That said, since my last post, I have updated the Web site a little bit. They are:<\/p>\n<ol>\n<li><strong>New look<\/strong> &mdash; I decided it was long past time that I modified the design of the site enough that I was really not using the Nepture theme for WordPress. This new design uses less <acronym title=\"HyperText Markup Language\">HTML<\/acronym> markup and less <acronym title=\"Cascading Styles Sheets\">CSS<\/acronym> code, in addition to using no longer using images for background colors and such, all causing a small download size for users.<\/li>\n<li><strong>Faster loading scripts<\/strong> &mdash; thanks to <a href=\"http:\/\/dean.edwards.name\/\">Dean Edward<\/a> my scripts should now <a href=\"http:\/\/dean.edwards.name\/weblog\/2006\/06\/again\/\">load when the <acronym title=\"Document Object Model\">DOM<\/acronym> is loaded, but before all content (<abbr title=\"that is\">i.e.<\/abbr>, images) is done downloading<\/a>. This should work in browsers that use the Trident, Gecko, <acronym title=\"K Desktop Environment HyperText Markup Language\">KHTML<\/acronym>\/WebKit, and the newest Presto layout engines, or in other words Internet Explorer\/Maxathon, Firefox\/SeaMonkey\/Mozilla\/Netscape, Konqueror\/Safari, and Opera 9. Users of Opera before 9 and for really old browsers are stuck waiting for the browser to finish loading. Sorry.<\/li>\n<li><strong>Improved site security<\/strong> &mdash; this one I&#8217;m a little unsure of. I can&#8217;t find the link I had discussing this, but it made it sound like one could inject additional header information to turn my Contact link into a spammer&#8217;s heaven. I now strip out &#8220;\\r\\n&#8221; from all fields to correct this. I <em>think<\/em> this will secure things better. That said, if anyone knows more on this please comment!<\/li>\n<li><strong>Bug fixing<\/strong> &mdash; Fixed a bug in my <a href=\"\/work\/todom.js\">To <acronym title=\"Document Object Model\">DOM<\/acronym><\/a> script over in my <a href=\"\/work\/\">Work<\/a> section. It wasn&#8217;t a bug in previous versions, but somehow editing stuff introduced a bug. In fixing it, the script now takes two parameters (the string and the object that has nodes added to) instead of one. While working on this post it just occurred to me make one simple change that made the code slightly less ugly, and eliminated a recursive call. Yaaa.<\/li>\n<li><strong>True <acronym title=\"Extensible HyperText Markup Language\">XHTML<\/acronym><\/strong> &mdash; Moved the site to true <acronym title=\"Extensible HyperText Markup Language\">XHTML<\/acronym> for Firefox at least. I&#8217;ll test it tomorrow in Opera 9 (I don&#8217;t have it installed on this machine and don&#8217;t feel logging in as an Administrator to test it). I&#8217;d like to hear from someone to let me know about Safari\/Konqueror. You&#8217;ll know if you&#8217;re getting your page in true <acronym title=\"Extensible HyperText Markup Language\">XHTML<\/acronym> and you see &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; as the first line in the source. Of course, since Internet Explorer does not support <acronym title=\"Extensible HyperText Markup Language\">XHTML<\/acronym> served with the correct <acronym title=\"Multipurpose Internet Mail Extensions \">MIME<\/acronym> type (and because the <acronym title=\"Extensible Markup Language\">XML<\/acronym> decleration sends Internet Explorer into quirks mode), I serve the page in good ole text\/html.<\/li>\n<\/ol>\n<p>Please, let me know your thoughts. I&#8217;m particularly interested in the last point.<\/p>\n<p><strong>Update:<\/strong> Tested it in Opera 9, and it seems that it gets the correct <acronym title=\"Multipurpose Internet Mail Extensions \">MIME<\/acronym> type too. Still would like to hear from people for Safari\/Konqueror folks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sorry for not posting lately, but I have been backed up by working on things in my free time and have been catching up on my reading\/watching things (e.g., the Fantastic Four movie). That said, since my last post, I have updated the Web site a little bit. They are: New look &mdash; I decided [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[4],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-web-stuff","tag--2-2-2"],"_links":{"self":[{"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.powrsurg.com\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}