<?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: How to Display Ratings with WordPress Links</title>
	<atom:link href="http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/</link>
	<description>Web Design, Development, and Business</description>
	<lastBuildDate>Mon, 20 May 2013 09:12:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Carol</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-50111</link>
		<dc:creator>Carol</dc:creator>
		<pubDate>Mon, 01 Apr 2013 09:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-50111</guid>
		<description><![CDATA[Does anyone know of a way to allow users to rate the links?  I&#039;m looking for a way to determine which links are most helpful to visitors to my site.  Obviously, if I&#039;m rating the links myself, that&#039;s not going to work for my purpose.]]></description>
		<content:encoded><![CDATA[<p>Does anyone know of a way to allow users to rate the links?  I&#8217;m looking for a way to determine which links are most helpful to visitors to my site.  Obviously, if I&#8217;m rating the links myself, that&#8217;s not going to work for my purpose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonie</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-48878</link>
		<dc:creator>Leonie</dc:creator>
		<pubDate>Thu, 17 Jan 2013 15:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-48878</guid>
		<description><![CDATA[I&#039;m looking for something similar, though I don&#039;t want to rate links, but just items in a list. Can anyone help me with that?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m looking for something similar, though I don&#8217;t want to rate links, but just items in a list. Can anyone help me with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: indra putra bungsu</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-34624</link>
		<dc:creator>indra putra bungsu</dc:creator>
		<pubDate>Fri, 27 Jul 2012 02:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-34624</guid>
		<description><![CDATA[a very useful tutorial. I will try to use it..]]></description>
		<content:encoded><![CDATA[<p>a very useful tutorial. I will try to use it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Vivier Chaussures</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-33272</link>
		<dc:creator>Roger Vivier Chaussures</dc:creator>
		<pubDate>Sat, 03 Mar 2012 06:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-33272</guid>
		<description><![CDATA[Roger Vivier Chaussures]]></description>
		<content:encoded><![CDATA[<p>Roger Vivier Chaussures</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentine</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-33085</link>
		<dc:creator>Valentine</dc:creator>
		<pubDate>Tue, 21 Feb 2012 07:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-33085</guid>
		<description><![CDATA[Although the description is very detailed, i still can&#039;t catch the idea.]]></description>
		<content:encoded><![CDATA[<p>Although the description is very detailed, i still can&#8217;t catch the idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cody Burleson</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-29248</link>
		<dc:creator>Cody Burleson</dc:creator>
		<pubDate>Fri, 10 Jun 2011 02:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-29248</guid>
		<description><![CDATA[Ignore the code above, it was a bad paste! Trying again with a pre tag:

&lt;pre&gt;
/* START: RENDER CATEGORIZED BOOKMARKS */
$taxonomy = &#039;link_category&#039;;
$args =&#039;&#039;;
$terms = get_terms( $taxonomy, $args );




if ($terms) {
	foreach($terms as $term) {
		if ($term-&gt;count &gt; 0) {
			echo &#039;&#039; . $term-&gt;name . &#039;  &#039;;
			/* print_r($term); */
			/* was orderby &#039;name&#039; &#039;ASC&#039; */
			$bookmark_args = array(
			&#039;orderby&#039;        =&gt; &#039;rating&#039;,
			&#039;order&#039;          =&gt; &#039;DESC&#039;,
			&#039;limit&#039;          =&gt; -1, 
			&#039;category&#039;       =&gt; $term-&gt;term_id,
			&#039;hide_invisible&#039; =&gt; 1,
			&#039;show_updated&#039;   =&gt; 0 
			);
		  
			
			/*
			 * Returns list of bookmark row objects. Each bookmark object may contain the following:
			 * &#039;link_id&#039;, 
			 * &#039;link_url&#039;, 
			 * &#039;link_name&#039;, 
			 * &#039;link_image&#039;, 
			 * &#039;link_target&#039;, 
			 * &#039;link_category&#039;, 
			 * &#039;link_description&#039;, 
			 * &#039;link_visible&#039;, 
			 * &#039;link_owner&#039;, 
			 * &#039;link_rating&#039;, 
			 * &#039;link_updated&#039;, 
			 * &#039;link_rel&#039;, 
			 * &#039;link_notes&#039;, 
			 * &#039;link_rss&#039; 
			 */
			$bookmarks = get_bookmarks($bookmark_args);
			
			/* if( !empty($bookmarks) )  { */
				$str = &#039;&#039;;
				foreach ( $bookmarks as $bm ) {
					$str .= &#039;&#039;;
					
					if(!empty($bm-&gt;link_image) ){
						$str .= &#039;&lt;a&gt;link_target . &#039;&quot; class=&quot;relatedlink&quot; href=&quot;&#039; . $bm-&gt;link_url . &#039;&quot;&gt;&#039; . &#039;link_image . &#039;&quot; alt=&quot;&quot; align=&quot;left&quot; border=&quot;0&quot;/&gt;&#039; . &#039;&lt;/a&gt;&#039;;
					}
					
					$str .= &#039;&lt;a&gt;link_target . &#039;&quot; class=&quot;relatedlink&quot; href=&quot;&#039; . $bm-&gt;link_url . &#039;&quot;&gt;&#039; . $bm-&gt;link_name . &#039;&lt;/a&gt;&#039;;
					
					
					/* START: STAR RATINGS */
					
					if(!empty($bm-&gt;link_rating) ){
						
						$link_rating = $bm-&gt;link_rating;
						$str .= &#039;&#039;;
						if ($link_rating &gt;= 5){
							
							//If rating is five or greater, just assign a perfect score
							for ($i = 1; $i &lt; 6; $i++){ 
								$str .= &#039;&#039;;
							}
							
						} else {
							//If rating is under 5, display same number of stars.
							for ($i = 1; $i &lt;= $link_rating; $i++){
								$str .= &#039;&#039;;
							}
						}
						$str .= &#039;&#039;;
					}
					
					/* END: STAR RATINGS */
					
					
					if(!empty($bm-&gt;link_description) ){
						$str .= &#039;&#039; . $bm-&gt;link_description . &#039;&#039;;
					}
					
					
					
					

					
				}
				$str .= &quot;&quot;;
				echo $str;
			/* } */
			
		}
	}
}
/* END: RENDER CATEGORIZED BOOKMARKS */

&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Ignore the code above, it was a bad paste! Trying again with a pre tag:</p>
<pre>
/* START: RENDER CATEGORIZED BOOKMARKS */
$taxonomy = 'link_category';
$args ='';
$terms = get_terms( $taxonomy, $args );




if ($terms) {
	foreach($terms as $term) {
		if ($term-&gt;count &gt; 0) {
			echo '' . $term-&gt;name . '  ';
			/* print_r($term); */
			/* was orderby 'name' 'ASC' */
			$bookmark_args = array(
			'orderby'        =&gt; 'rating',
			'order'          =&gt; 'DESC',
			'limit'          =&gt; -1, 
			'category'       =&gt; $term-&gt;term_id,
			'hide_invisible' =&gt; 1,
			'show_updated'   =&gt; 0 
			);
		  
			
			/*
			 * Returns list of bookmark row objects. Each bookmark object may contain the following:
			 * 'link_id', 
			 * 'link_url', 
			 * 'link_name', 
			 * 'link_image', 
			 * 'link_target', 
			 * 'link_category', 
			 * 'link_description', 
			 * 'link_visible', 
			 * 'link_owner', 
			 * 'link_rating', 
			 * 'link_updated', 
			 * 'link_rel', 
			 * 'link_notes', 
			 * 'link_rss' 
			 */
			$bookmarks = get_bookmarks($bookmark_args);
			
			/* if( !empty($bookmarks) )  { */
				$str = '';
				foreach ( $bookmarks as $bm ) {
					$str .= '';
					
					if(!empty($bm-&gt;link_image) ){
						$str .= '<a>link_target . '" class="relatedlink" href="' . $bm-&gt;link_url . '"&gt;' . 'link_image . '" alt="" align="left" border="0"/&gt;' . '</a>';
					}
					
					$str .= '<a>link_target . '" class="relatedlink" href="' . $bm-&gt;link_url . '"&gt;' . $bm-&gt;link_name . '</a>';
					
					
					/* START: STAR RATINGS */
					
					if(!empty($bm-&gt;link_rating) ){
						
						$link_rating = $bm-&gt;link_rating;
						$str .= '';
						if ($link_rating &gt;= 5){
							
							//If rating is five or greater, just assign a perfect score
							for ($i = 1; $i &lt; 6; $i++){ 
								$str .= &#039;';
							}
							
						} else {
							//If rating is under 5, display same number of stars.
							for ($i = 1; $i &lt;= $link_rating; $i++){
								$str .= &#039;';
							}
						}
						$str .= '';
					}
					
					/* END: STAR RATINGS */
					
					
					if(!empty($bm-&gt;link_description) ){
						$str .= '' . $bm-&gt;link_description . '';
					}
					
					
					
					

					
				}
				$str .= "";
				echo $str;
			/* } */
			
		}
	}
}
/* END: RENDER CATEGORIZED BOOKMARKS */

</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cody Burleson</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-29247</link>
		<dc:creator>Cody Burleson</dc:creator>
		<pubDate>Fri, 10 Jun 2011 02:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-29247</guid>
		<description><![CDATA[Thanks! My links page now supports link images, link categories, and thanks to you, no link ratings!

http://www.codyburleson.com/links/

Here&#039;s the code for my whole bookmarks rendering routine in case anybody wants to do something similar (I hope the code is going to paste OK):


count &gt; 0) {
									echo &#039;&#039; . $term-&gt;name . &#039;  &#039;;
									/* print_r($term); */
									/* was orderby &#039;name&#039; &#039;ASC&#039; */
									$bookmark_args = array(
								    &#039;orderby&#039;        =&gt; &#039;rating&#039;,
								    &#039;order&#039;          =&gt; &#039;DESC&#039;,
								    &#039;limit&#039;          =&gt; -1, 
								    &#039;category&#039;       =&gt; $term-&gt;term_id,
								    &#039;hide_invisible&#039; =&gt; 1,
								    &#039;show_updated&#039;   =&gt; 0 
								    );
								  
								    
								    /*
									 * Returns list of bookmark row objects. Each bookmark object may contain the following:
									 * &#039;link_id&#039;, 
									 * &#039;link_url&#039;, 
									 * &#039;link_name&#039;, 
									 * &#039;link_image&#039;, 
									 * &#039;link_target&#039;, 
									 * &#039;link_category&#039;, 
									 * &#039;link_description&#039;, 
									 * &#039;link_visible&#039;, 
									 * &#039;link_owner&#039;, 
									 * &#039;link_rating&#039;, 
									 * &#039;link_updated&#039;, 
									 * &#039;link_rel&#039;, 
									 * &#039;link_notes&#039;, 
									 * &#039;link_rss&#039; 
									 */
								    $bookmarks = get_bookmarks($bookmark_args);
								    
									/* if( !empty($bookmarks) )  { */
										$str = &#039;&#039;;
										foreach ( $bookmarks as $bm ) {
											$str .= &#039;&#039;;
											
											if(!empty($bm-&gt;link_image) ){
										    	$str .= &#039;&lt;a&gt;link_target . &#039;&quot; class=&quot;relatedlink&quot; href=&quot;&#039; . $bm-&gt;link_url . &#039;&quot;&gt;&#039; . &#039;link_image . &#039;&quot; alt=&quot;&quot; align=&quot;left&quot; border=&quot;0&quot;/&gt;&#039; . &#039;&lt;/a&gt;&#039;;
										    }
											
										    $str .= &#039;&lt;a&gt;link_target . &#039;&quot; class=&quot;relatedlink&quot; href=&quot;&#039; . $bm-&gt;link_url . &#039;&quot;&gt;&#039; . $bm-&gt;link_name . &#039;&lt;/a&gt;&#039;;
										    
										    
										    /* START: STAR RATINGS */
										    
											if(!empty($bm-&gt;link_rating) ){
												
												$link_rating = $bm-&gt;link_rating;
										    	$str .= &#039;&#039;;
										    	if ($link_rating &gt;= 5){
										    		
										    		//If rating is five or greater, just assign a perfect score
										    		for ($i = 1; $i &lt; 6; $i++){ 
														$str .= &#039;&#039;;
													}
													
										    	} else {
										    		//If rating is under 5, display same number of stars.
													for ($i = 1; $i &lt;= $link_rating; $i++){
														$str .= &#039;&#039;;
													}
										    	}
										    	$str .= &#039;&#039;;
										    }
										    
										    /* END: STAR RATINGS */
										    
										    
										    if(!empty($bm-&gt;link_description) ){
										    	$str .= &#039;&#039; . $bm-&gt;link_description . &#039;&#039;;
										    }
										    
										    
										    
										    
					
										    
										}
										$str .= &quot;&quot;;
										echo $str;
									/* } */
									
								}
							}
						}
						/* END: RENDER CATEGORIZED BOOKMARKS */
						?&gt;]]></description>
		<content:encoded><![CDATA[<p>Thanks! My links page now supports link images, link categories, and thanks to you, no link ratings!</p>
<p><a href="http://www.codyburleson.com/links/" rel="nofollow">http://www.codyburleson.com/links/</a></p>
<p>Here&#8217;s the code for my whole bookmarks rendering routine in case anybody wants to do something similar (I hope the code is going to paste OK):</p>
<p>count &gt; 0) {<br />
									echo &#8221; . $term-&gt;name . &#8216;  &#8216;;<br />
									/* print_r($term); */<br />
									/* was orderby &#8216;name&#8217; &#8216;ASC&#8217; */<br />
									$bookmark_args = array(<br />
								    &#8216;orderby&#8217;        =&gt; &#8216;rating&#8217;,<br />
								    &#8216;order&#8217;          =&gt; &#8216;DESC&#8217;,<br />
								    &#8216;limit&#8217;          =&gt; -1,<br />
								    &#8216;category&#8217;       =&gt; $term-&gt;term_id,<br />
								    &#8216;hide_invisible&#8217; =&gt; 1,<br />
								    &#8216;show_updated&#8217;   =&gt; 0<br />
								    );</p>
<p>								    /*<br />
									 * Returns list of bookmark row objects. Each bookmark object may contain the following:<br />
									 * &#8216;link_id&#8217;,<br />
									 * &#8216;link_url&#8217;,<br />
									 * &#8216;link_name&#8217;,<br />
									 * &#8216;link_image&#8217;,<br />
									 * &#8216;link_target&#8217;,<br />
									 * &#8216;link_category&#8217;,<br />
									 * &#8216;link_description&#8217;,<br />
									 * &#8216;link_visible&#8217;,<br />
									 * &#8216;link_owner&#8217;,<br />
									 * &#8216;link_rating&#8217;,<br />
									 * &#8216;link_updated&#8217;,<br />
									 * &#8216;link_rel&#8217;,<br />
									 * &#8216;link_notes&#8217;,<br />
									 * &#8216;link_rss&#8217;<br />
									 */<br />
								    $bookmarks = get_bookmarks($bookmark_args);</p>
<p>									/* if( !empty($bookmarks) )  { */<br />
										$str = &#8221;;<br />
										foreach ( $bookmarks as $bm ) {<br />
											$str .= &#8221;;</p>
<p>											if(!empty($bm-&gt;link_image) ){<br />
										    	$str .= &#8216;<a>link_target . &#8216;&#8221; class=&#8221;relatedlink&#8221; href=&#8221;&#8216; . $bm-&gt;link_url . &#8216;&#8221;&gt;&#8217; . &#8216;link_image . &#8216;&#8221; alt=&#8221;" align=&#8221;left&#8221; border=&#8221;0&#8243;/&gt;&#8217; . &#8216;</a>&#8216;;<br />
										    }</p>
<p>										    $str .= &#8216;<a>link_target . &#8216;&#8221; class=&#8221;relatedlink&#8221; href=&#8221;&#8216; . $bm-&gt;link_url . &#8216;&#8221;&gt;&#8217; . $bm-&gt;link_name . &#8216;</a>&#8216;;</p>
<p>										    /* START: STAR RATINGS */</p>
<p>											if(!empty($bm-&gt;link_rating) ){</p>
<p>												$link_rating = $bm-&gt;link_rating;<br />
										    	$str .= &#8221;;<br />
										    	if ($link_rating &gt;= 5){</p>
<p>										    		//If rating is five or greater, just assign a perfect score<br />
										    		for ($i = 1; $i &lt; 6; $i++){<br />
														$str .= &#039;&#8217;;<br />
													}</p>
<p>										    	} else {<br />
										    		//If rating is under 5, display same number of stars.<br />
													for ($i = 1; $i &lt;= $link_rating; $i++){<br />
														$str .= &#039;&#8217;;<br />
													}<br />
										    	}<br />
										    	$str .= &#8221;;<br />
										    }</p>
<p>										    /* END: STAR RATINGS */</p>
<p>										    if(!empty($bm-&gt;link_description) ){<br />
										    	$str .= &#8221; . $bm-&gt;link_description . &#8221;;<br />
										    }</p>
<p>										}<br />
										$str .= &#8220;&#8221;;<br />
										echo $str;<br />
									/* } */</p>
<p>								}<br />
							}<br />
						}<br />
						/* END: RENDER CATEGORIZED BOOKMARKS */<br />
						?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 65 Of The Best WordPress Tutorials &#171; Junkiee.Net</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-11785</link>
		<dc:creator>65 Of The Best WordPress Tutorials &#171; Junkiee.Net</dc:creator>
		<pubDate>Sun, 21 Feb 2010 14:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-11785</guid>
		<description><![CDATA[[...] 23. How To Display Ratings With Wordpress Links [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 23. How To Display Ratings With WordPress Links [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JG Ballard</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-11736</link>
		<dc:creator>JG Ballard</dc:creator>
		<pubDate>Fri, 19 Feb 2010 11:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-11736</guid>
		<description><![CDATA[Adding ratings is so useful, thank you!]]></description>
		<content:encoded><![CDATA[<p>Adding ratings is so useful, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://buildinternet.com/2009/07/how-to-display-ratings-with-wordpress-links/comment-page-1/#comment-10411</link>
		<dc:creator>George</dc:creator>
		<pubDate>Sat, 26 Dec 2009 02:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=4337#comment-10411</guid>
		<description><![CDATA[Thanks very much for this, been looking how to add ratings for ages!!]]></description>
		<content:encoded><![CDATA[<p>Thanks very much for this, been looking how to add ratings for ages!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using memcached
Database Caching using memcached
Object Caching 411/440 objects using disk: basic

Served from: buildinternet.com @ 2013-05-20 11:35:22 -->