{"id":256,"date":"2005-06-28T12:42:14","date_gmt":"2005-06-28T12:42:14","guid":{"rendered":"http:\/\/www.stevepugh.net\/VTT\/?p=256"},"modified":"2005-06-28T12:42:14","modified_gmt":"2005-06-28T12:42:14","slug":"tags-clouds-and-operas","status":"publish","type":"post","link":"https:\/\/stevepugh.net\/VTT\/2005\/06\/tags-clouds-and-operas\/","title":{"rendered":"Tags, Clouds and Operas"},"content":{"rendered":"<p>Looking over the <a href=\"http:\/\/technorati.com\/\">Technorati<\/a> redesign as <a href=\"http:\/\/meyerweb.com\/eric\/thoughts\/2005\/06\/21\/technorati-redesigns\/\">plugged by Eric Meyer<\/a> (same old stuff &ndash; nice CSS but fixed width design, fixed font sizes in IE, breaks with only a couple of font size increases in FireFox, minor validation errors) I saw that the <a href=\"http:\/\/technorati.com\/tags\/\">Tags page<\/a> didn&#8217;t display properly in Opera 8.01.<\/p>\n<p>The relative frequency of the tags are indicated via nested <code>&lt;em&gt;<\/code> elements with a CSS style <code>font-size: 1.03em<\/code> to produce the increased size.<\/p>\n<p>But Opera screws up and rounds the font sizes down. I&#8217;ve written up a <a href=\"http:\/\/steve.pugh.net\/articles\/opera-bug-compfntsize-rounding.html\">description of the bug<\/a> and submitted a bug report to Opera.<\/p>\n<p>Until Opera and\/or Technorati do something about this issue there&#8217;s a quick fix that Opera users can apply. As Technorati includes <code>id=\"technorati\"<\/code> on the <code>&lt;body&gt;<\/code> tag it&#8217;s relatively easy to add <br \/><strong><code>#technorati .heatmap em {font-size: 1.06em !important;}<\/code><\/strong><br \/>to a user stylesheet and restore the tag coloud to its full glory. The exact size value needed will vary depending on your particular default and minimum font size values.<\/p>\n<p>Moving away from the Opera bug we&#8217;re still left with the larger issue. What&#8217;s the best way to (a) mark-up and (b) indicate relative importance in various media.<\/p>\n<p>As far as the mark-up goes HTML doesn&#8217;t offer us that many options and <code>&lt;em&gt;<\/code> is probably the best choice. Things are slightly confused by the presence of <code>&lt;strong&gt;<\/code> &ndash; how does strong emphasis relate to multiple levels of emphasis created via nested <code>&lt;em&gt;<\/code> elements?<\/p>\n<p>By default browsers don&#8217;t change their output for nested <code>&lt;em&gt;<\/code>s so there&#8217;s no way short of viewing the source for the user to see the level of importance. For graphical media increasing the font size is one possibility but even when Opera&#8217;s shortcomings are ignored this might break down (consider mobile devices for example). In non-graphical media the font-size is meaningless.<\/p>\n<p>Volume or pitch are options in aural media but don&#8217;t make for an easy listening experience (this sort of tag cloud is designed for visual skimming and doesn&#8217;t really work the same way when listened to linearly; but if a listener chooses to listen to it they should get the same information as the reader, via some means or other).<\/p>\n<p>The best solution I can think of would be to add title attributes to each tag giving the relative level of importance. So a tag surrounded with four levels of <code>&lt;em&gt;<\/code>s would have <code>title=\"Level Four\"<\/code> or something similar.<\/p>\n<p>Whilst not ideal (and <a href=\"http:\/\/www.zeldman.com\/daily\/0505a.shtml\">maybe tag clouds aren&#8217;t such a good idea<\/a>) this does have the advantage that it brings together mark-up, styling and metadata (the <code>&lt;em&gt;<\/code> elements, the font-sizing and the titles) to reinforce the same message. The message. Ah, that&#8217;s the real problem. <strong>The relative popularity of the various tags is the message<\/strong> and the message should be in the data not in anything else. But that means turning the funky tag cloud into a boring table. \ud83d\ude41<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looking over the <a href=\"http:\/\/technorati.com\/\">Technorati<\/a> redesign as <a href=\"http:\/\/meyerweb.com\/eric\/thoughts\/2005\/06\/21\/technorati-redesigns\/\">plugged by Eric Meyer<\/a> (same old stuff &ndash; nice CSS but fixed width design, fixed font sizes in IE, breaks with only a couple of font size increases in FireFox, minor validation errors) I saw that the <a href=\"http:\/\/technorati.com\/tags\/\">Tags page<\/a> didn&#8217;t display properly in Opera 8.01.<\/p>\n<p><a href=\"http:\/\/www.stevepugh.net\/VTT\/?p=256\">Continue reading this Very True Thing<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","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","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[18,15],"tags":[74],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-browsers","category-www","tag-css"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1fxq5-48","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":0,"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"wp:attachment":[{"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevepugh.net\/VTT\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}