{"id":8,"date":"2002-02-14T20:25:40","date_gmt":"2002-02-14T20:25:40","guid":{"rendered":"http:\/\/localhost\/macphoenix.com\/?p=8"},"modified":"2017-04-29T15:49:40","modified_gmt":"2017-04-29T19:49:40","slug":"the-horror-of-the-entities","status":"publish","type":"post","link":"https:\/\/macphoenix.com\/index.php\/2002\/02\/the-horror-of-the-entities\/","title":{"rendered":"The Horror of the Entities"},"content":{"rendered":"<p>This is pure HTML-geek stuff, so if you&#8217;re not interested, skip down to the previous entry, which is a lot more silly.<br \/>\nAnyway, I was wondering why my apostrophes weren&#8217;t working with Movable Type (this very system for the blog). It isn&#8217;t that they wouldn&#8217;t show up correctly, but the XML syndication-thingy wasn&#8217;t working right through PHP. Hmmm&#8230; well, the best thing to do, I thought, was ignore it, and just use the stupid hash marks that everyone thinks are apostrophes, but really aren&#8217;t.<br \/>\nCan you see the difference between these two things?<br \/>\n1. A hash mark: <span style = \"font-size: 24px; background-color:red; font-family:arial;font-weight:bold;\">&nbsp;&nbsp;&prime;&nbsp;&nbsp;<\/span><br \/>\n2. An apostrophe (or single-right quote): <span style = \"font-size: 24px;  background-color:green; font-family:arial;font-weight:bold;\">&nbsp;&nbsp;&#8217;&nbsp;&nbsp;<\/span><br \/>\nWell, I sure can. I hate hash marks, but I was using them anyway, because they were parsing better in the <a href=\"http:\/\/www.macphoenix.com\/portal\/#blog\" target=\"_blank\">blog excerpt<\/a> on my portal page.<br \/>\nBut then, innocently, I was testing some of my pages for HTML and CSS compliance, and I found out, horrors of horrors, that I was using the wrong thing all along anyway. I&#8217;ve always been making my apostrophes by using <b>&amp;#146;<\/b>, but this is very bad, apparently, and will eventually cause browsers to choke and rotate their heads 360&deg; and all that. What I, and everyone else, should be using is <b>&amp;#8217;<\/b>. I never even knew that the HTML entities could even get that large. But, if you&#8217;re still reading this, and the only two people I know who would be are Keith and, maybe, Dan, the complete list is at <a href=\"http:\/\/www.cs.tut.fi\/~jkorpela\/html\/guide\/entities.html\" target=\"_blank\">http:\/\/www.cs.tut.fi\/~jkorpela\/html\/guide\/entities.html<\/a>. Check it out, if you&#8217;re interested. It opened my eyes.<br \/>\nAnd thanks to <a href=\"http:\/\/www.alistapart.com\" target=\"_blank\">A List Apart<\/a>, without which, I would still be blind.<br \/>\n&#8211;JR<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is pure HTML-geek stuff, so if you&#8217;re not interested, skip down to the previous entry, which is a lot more silly. Anyway, I was wondering why my apostrophes weren&#8217;t working with Movable Type (this very system for the blog). It isn&#8217;t that they wouldn&#8217;t show up correctly, but the XML syndication-thingy wasn&#8217;t working right [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-metablogs"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8nj3d-8","_links":{"self":[{"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":2,"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/posts\/8\/revisions\/558"}],"wp:attachment":[{"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macphoenix.com\/index.php\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}