{"id":158,"date":"2002-11-06T13:26:00","date_gmt":"2002-11-06T18:26:00","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/uncategorised\/blosxom_xhtml_name_attributes.html"},"modified":"2006-10-15T19:39:02","modified_gmt":"2006-10-16T00:39:02","slug":"blosxom_xhtml_name_attributes","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/computers\/blosxom_xhtml_name_attributes.html","title":{"rendered":"Blosxom does not create XHTML-compliant name attributes"},"content":{"rendered":"<p>As Vic pointed out, my page ceased to be XHTML-compliant when I moved posts inside categories. Bloxsom generates an ID to use inside the <code>name<\/code> attribute of an <code><a><\/a><\/code> tag in order to facilitate linking to individual posts. This is great except for posts in sub-categories, whose IDs are prepended with the path to that post. The forward-slash is not allowed inside a <code>name<\/code> attribute.<\/p>\n<p>I was experiencing other problems with categories using the Blosxom script I stole from Sam Ruby, so it looks like I will have to drop categories for now. I would delve into the Blosxom code, but it&#8217;s icky Perl and I have enough trouble sleeping as it is. Perhaps I will take a second look at <a href=\"http:\/\/wiki.subtlehints.net\/moin\/PyBlosxom\">pyBlosxom<\/a> and see if that&#8217;s any easier to modify. Unfortunately, I would lose all the niceties in Sam&#8217;s Blosxom script and it would probably be a little slower. We shall see.<\/p>\n<p> <ins> <\/p>\n<p><strong>Update:<\/strong> This issue has been fixed in a more recent version of Blosxom.<\/p>\n<p> <\/ins><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As Vic pointed out, my page ceased to be XHTML-compliant when I moved posts inside categories. Bloxsom generates an ID to use inside the name attribute of an <a><\/a> tag in order to facilitate linking to individual posts. This is great except for posts in sub-categories, whose IDs are prepended with the path to that&nbsp;&hellip;&nbsp;<a class=\"read_more\" href=\"http:\/\/crazedmonkey.com\/blog\/computers\/blosxom_xhtml_name_attributes.html\" rel=\"bookmark\" title=\"Continue reading &ldquo;Blosxom does not create XHTML-compliant name attributes&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":[4,8],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/158"}],"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=158"}],"version-history":[{"count":0,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}