{"id":51,"date":"2006-09-08T02:13:18","date_gmt":"2006-09-08T06:13:18","guid":{"rendered":"http:\/\/www.cchsu.com\/art-en\/2006\/09\/08\/51\/"},"modified":"2006-09-08T15:18:10","modified_gmt":"2006-09-08T19:18:10","slug":"afterwit-my-old-web-pages-are-so-poorly-designed","status":"publish","type":"post","link":"http:\/\/www.cchsu.com\/art-en\/2006\/09\/08\/51\/","title":{"rendered":"Afterwit: My old web pages are so poorly designed"},"content":{"rendered":"<p>Finally I&#8217;ve done the migration of my web site (kind of).  My original intention was to convert all non-blog articles on my site to WordPress Posts. However, I gave up the idea after some pilot runs, and used direct hyperlinks instead.  There are some reasons behind the scence and I think I&#8217;d better stay away from these points if I&#8217;d create any web pages ever again:<\/p>\n<ul>\n<li>Not using Unicode: There are two consequences that one did not use Unicode to write the web page.  First, there will be a lot of redundant span tags like lang=&#8221;zh-tw&#8221; which can be totally avoided by using Unicode.  The other reason is that many tools claimed to support i18n in the way of supporting Unicode only.<\/li>\n<li>Embed formatting info in HTML: For example, the use of font face=&#8221;courier&#8221; to format code segments will cause a lot of troubles once you link a CSS stylesheet with this HTML file.  The trend now is to seperate contents from formattings so that when we change the outlook of a web site, we don&#8217;t need to change its contents.<\/li>\n<li>Using widgets in HTML: FrontPage bots are so old and almost going to extinct.  They also create a lot of trouble when you move pages to different locations.<\/li>\n<\/ul>\n<p>However, these points are pure afterwits.  At the time that I created those old web pages, FrontPage-edited pages looked good enough for a personal web site.  Not to mention when MS developers worked on FrontPage XP, there was literally no usable CSS yet &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally I&#8217;ve done the migration of my web site (kind of). My original intention was to convert all non-blog articles on my site to WordPress Posts. However, I gave up the idea after some pilot runs, and used direct hyperlinks instead. There are some reasons behind the scence and I think I&#8217;d better stay away [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/posts\/51"}],"collection":[{"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cchsu.com\/art-en\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}