<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rating an Object Pattern</title>
	<atom:link href="http://www.yuiblog.com/blog/index.php/2006/02/13/ratinganobject/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/</link>
	<description>The official blog of the YUI Project.</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Beck Laxton</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-380055</link>
		<dc:creator>Beck Laxton</dc:creator>
		<pubDate>Thu, 22 May 2008 14:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-380055</guid>
		<description>I&#039;d like to suggest an improvement. In the example animation, I think it&#039;s confusing that a three-star review is called &#039;Average&#039; (as opposed to Bad, or Excellent), but the same word is used to show the &#039;Average Rating&#039; - so at a glance you might think that the item had been rated Average, rather than the average review rating it as good. 

You could cure this really simply by making a three-star review &#039;Okay&#039; or something similar. (I&#039;d change this rather than the other as there are more options.)</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to suggest an improvement. In the example animation, I think it&#8217;s confusing that a three-star review is called &#8216;Average&#8217; (as opposed to Bad, or Excellent), but the same word is used to show the &#8216;Average Rating&#8217; &#8211; so at a glance you might think that the item had been rated Average, rather than the average review rating it as good. </p>
<p>You could cure this really simply by making a three-star review &#8216;Okay&#8217; or something similar. (I&#8217;d change this rather than the other as there are more options.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Gregory</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-9856</link>
		<dc:creator>Dave Gregory</dc:creator>
		<pubDate>Thu, 12 Oct 2006 20:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-9856</guid>
		<description>I looked around for some code of this and found that the main artcile about the rating pattern:

&lt;a href=&quot;http://developer.yahoo.com/ypatterns/pattern.php?pattern=ratinganobject&amp;showrevision=true&quot; title=&quot;yahoo rating pattern page&quot; rel=&quot;nofollow&quot;&gt;Yahoo! ratings pattern page&lt;/a&gt;

it has links on it for examples and this was the best one:

Yahoo Tech&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I looked around for some code of this and found that the main artcile about the rating pattern:</p>
<p><a href="http://developer.yahoo.com/ypatterns/pattern.php?pattern=ratinganobject&amp;showrevision=true" title="yahoo rating pattern page" rel="nofollow">Yahoo! ratings pattern page</a></p>
<p>it has links on it for examples and this was the best one:</p>
<p>Yahoo Tech</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Engene</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-2912</link>
		<dc:creator>Marcus Engene</dc:creator>
		<pubDate>Wed, 05 Jul 2006 08:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-2912</guid>
		<description>I wanted to save place, using the same stars for the user to select the grade. This was very easy with negative margin. It&#039;s basically three divs with the following styles:

z-index: 1; width: 90px; height: 18px; background-image: url(/v4icons/star_white18x18.gif); background-repeat: repeat-x;

style=&quot;z-index: 2; margin: -18px 0px; width: &#039; . $width . &#039;px; height: 18px; background-image: url(/v4icons/star_red18x18.gif); background-repeat: repeat-x;

style=&quot;z-index: 3; margin: -18px 0px; width: 0px; height: 18px; background-image: url(/v4icons/star_yellow18x18.gif); background-repeat: repeat-x;

Red is users grade. One star is 18px wide, a grade of 2.3 would require width of red stars div to be round(2.3*18)

Callbacks set width of the yellow stars when user mouseovers etc.
documents.getElementById(&quot;idOfYellow&quot;).style.width = stars_selected_times_18 + &quot;px&quot;;

Obviously, the divs do best in a left aligned environment ;-)</description>
		<content:encoded><![CDATA[<p>I wanted to save place, using the same stars for the user to select the grade. This was very easy with negative margin. It&#8217;s basically three divs with the following styles:</p>
<p>z-index: 1; width: 90px; height: 18px; background-image: url(/v4icons/star_white18x18.gif); background-repeat: repeat-x;</p>
<p>style=&#8221;z-index: 2; margin: -18px 0px; width: &#8216; . $width . &#8216;px; height: 18px; background-image: url(/v4icons/star_red18x18.gif); background-repeat: repeat-x;</p>
<p>style=&#8221;z-index: 3; margin: -18px 0px; width: 0px; height: 18px; background-image: url(/v4icons/star_yellow18x18.gif); background-repeat: repeat-x;</p>
<p>Red is users grade. One star is 18px wide, a grade of 2.3 would require width of red stars div to be round(2.3*18)</p>
<p>Callbacks set width of the yellow stars when user mouseovers etc.<br />
documents.getElementById(&#8220;idOfYellow&#8221;).style.width = stars_selected_times_18 + &#8220;px&#8221;;</p>
<p>Obviously, the divs do best in a left aligned environment ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevinknight</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-525</link>
		<dc:creator>kevinknight</dc:creator>
		<pubDate>Thu, 30 Mar 2006 19:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-525</guid>
		<description>Dotcompals!
Let me repeat again for you. Here is the php and js sample.

http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/

It&#039;s very simple to apply at your own site.</description>
		<content:encoded><![CDATA[<p>Dotcompals!<br />
Let me repeat again for you. Here is the php and js sample.</p>
<p><a href="http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/" rel="nofollow">http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/</a></p>
<p>It&#8217;s very simple to apply at your own site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dotcompals</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-490</link>
		<dc:creator>dotcompals</dc:creator>
		<pubDate>Tue, 28 Mar 2006 07:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-490</guid>
		<description>From where I can get the php source file to implement the rate this article in my website?</description>
		<content:encoded><![CDATA[<p>From where I can get the php source file to implement the rate this article in my website?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Smith</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-303</link>
		<dc:creator>Martin Smith</dc:creator>
		<pubDate>Thu, 09 Mar 2006 20:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-303</guid>
		<description>I think this is the Yahoo JavaScript...

http://us.js2.yimg.com/us.yimg.com/lib/ls/js/yg_multirate_200602281800.js</description>
		<content:encoded><![CDATA[<p>I think this is the Yahoo JavaScript&#8230;</p>
<p><a href="http://us.js2.yimg.com/us.yimg.com/lib/ls/js/yg_multirate_200602281800.js" rel="nofollow">http://us.js2.yimg.com/us.yimg.com/lib/ls/js/yg_multirate_200602281800.js</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevinknight</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-295</link>
		<dc:creator>kevinknight</dc:creator>
		<pubDate>Wed, 08 Mar 2006 14:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-295</guid>
		<description>here is the code i found.
http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/</description>
		<content:encoded><![CDATA[<p>here is the code i found.<br />
<a href="http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/" rel="nofollow">http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-252</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 05 Mar 2006 02:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-252</guid>
		<description>Anyone mention code?</description>
		<content:encoded><![CDATA[<p>Anyone mention code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-226</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 28 Feb 2006 20:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-226</guid>
		<description>We are still anxiously awaiting code...</description>
		<content:encoded><![CDATA[<p>We are still anxiously awaiting code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurent</title>
		<link>http://www.yuiblog.com/blog/2006/02/13/ratinganobject/comment-page-1/#comment-123</link>
		<dc:creator>laurent</dc:creator>
		<pubDate>Fri, 17 Feb 2006 10:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-123</guid>
		<description>Code samples would indeed be interesting. But something more interesting imo would be to actually use the yahoo&#039;s api at it&#039;s full capability on this blog !

Nobody can rate up or down this post or some comments. 

What a shame !!!</description>
		<content:encoded><![CDATA[<p>Code samples would indeed be interesting. But something more interesting imo would be to actually use the yahoo&#8217;s api at it&#8217;s full capability on this blog !</p>
<p>Nobody can rate up or down this post or some comments. </p>
<p>What a shame !!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

