<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Converting Reviews from Image to Numerical Values</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Using ProductCart : Converting Reviews from Image to Numerical Values]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 06:36:11 +0000</pubDate>
  <lastBuildDate>Mon, 23 Sep 2013 23:09:37 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=5664</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : Thanks, Lindsay.I still haven&amp;#039;t...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21619.html#21619</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 23-September-2013 at 11:09pm<br /><br />Thanks, Lindsay.<div><br></div><div>I still haven't had the time to hash through exactly how PC is calculating/storing this value as it appears rather situational.</div><div><br></div><div>I any event, the code block I suggested above can be tamed to one decimal place by replacing:</div><div><span style="font-family: 'Courier New', Courier, mono; white-space: pre; : rgb251, 251, 253;">&lt;%=pcv_tmpRating%&gt;</span></div><div><span style="font-family: 'Courier New', Courier, mono; white-space: pre; : rgb251, 251, 253;">with:</span></div><div><span style="font-family: 'Courier New', Courier, mono; white-space: pre; : rgb251, 251, 253;">&lt;%=FormatNumber(pcv_tmpRating,1)%&gt;</span></div><div><span style="font-family: 'Courier New', Courier, mono; white-space: pre; : rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;"><font face="Courier New, Courier, mono"><span style="white-space: pre;">Looks like there's logic elsewhere to have that come out to either N or N.5, mostly for rendering the graphic representation. Not sure how important (or even desirable) it is to have the numeric representation render the same way, though.</span></font></span></div>]]>
   </description>
   <pubDate>Mon, 23 Sep 2013 23:09:37 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21619.html#21619</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : Just a note on the code above,...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21617.html#21617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1407">Lindsay</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 23-September-2013 at 4:25pm<br /><br />Just a note on the code above, when I play with it on a product with a large number of reviews, pcv_tmpRating no longer rounds to the second decimal point. In the case of one popular product, this displayed: <i>		 		 	<span id="aggregateRating" itemprop="aggregateRating" itemscope="" item="http://schema.org/AggregateRating">(<span itemprop="ratingValue">4.82352941176471</span>/5) based on <span itemprop="reviewCount">17</span> customer ratings<br><br></span></i><span id="aggregateRating" itemprop="aggregateRating" itemscope="" item="http://schema.org/AggregateRating"><br></span>]]>
   </description>
   <pubDate>Mon, 23 Sep 2013 16:25:11 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21617.html#21617</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : Thanks Sean for sharing that code,...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21604.html#21604</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1407">Lindsay</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 18-September-2013 at 11:13am<br /><br /><br><br>Thanks Sean for sharing that code, I will try inserting it later today and see if I can get it working for me. <br><br>My understanding is simplistic, I'm sure, but I believe I have added all the necessary schema product markup via editing viewPrdCode.asp and prv_increviews.asp, though I'm still trying to work out a few errors that show when I use google's Structured Data Testing Tool<br><br>I'm Interested in the fix for duplicate title tag, duplicate meta description tag with review pages, how much to purchase? I want to say EI already helped me with the canonical URLs issues, I'd have to check back in emails but I remember it was causing issues creating a sitemap and seems like we worked out a fix..<br>]]>
   </description>
   <pubDate>Wed, 18 Sep 2013 11:13:55 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21604.html#21604</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : Hi Lindsay,Well, maybe not so...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21602.html#21602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 17-September-2013 at 11:11pm<br /><br />Hi Lindsay,<div><br></div><div>Well, maybe not so perfect after all.</div><div><br></div><div>Knowing that you are working on structured data/schema.org markup (which I am too), my quick edit above is way too down and dirty for that, and now that I look at the full implications of it, rather unsightly -- The numeric value will display next to everywhere the icons are called (via the WriteStar subroutine), including on each individual review.&nbsp;</div><div><br></div><div>That, I think, makes it unsightly.</div><div><br></div><div>More to the point for structured data/schema.org markup, though, it's not practical: this sub can't be used to markup the aggregateRating properties, else they will recur over an over again.</div><div><br></div><div>The better solution is to append some code to the end of the pcs_ShowRating subroutine in viewPrdCode.asp and/or on prv_increviews.asp&nbsp;and then again on prv_allreviews.asp.&nbsp;</div><div><br></div><div>Here's a rough on what that code would look like, though I would abstract this out to a subroutine called in each of these instances. In each of these files, find something like:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>END IF 'Main Rating %&gt;</div><div></pre></td></tr></table></div><div>(white space varies a bit in each file)</div><div>Just after that, add:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><span ="Apple-tab-span" style="white-space:pre">					</span>&lt;%</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>query = "SELECT COUNT(pcRev_IDReview) AS revCnt FROM pcReviews WHERE (pcRev_IDProduct = "&amp; pIdProduct &amp;") AND (pcRev_Active = 1);"</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>set rsTemp = connTemp.execute(query)</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>if NOT rsTemp.eof then</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>%&gt;</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>&lt;span id="aggregateRating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"&gt;(&lt;span itemprop="ratingValue"&gt;&lt;%=pcv_tmpRating%&gt;&lt;/span&gt;/&lt;%=pcv_MaxRating%&gt;) based on &lt;span itemprop="reviewCount"&gt;&lt;%=rsTemp("revCnt")%&gt;&lt;/span&gt; customer ratings&lt;/span&gt;</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>&lt;%</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>end if</div><div><span ="Apple-tab-span" style="white-space:pre">					</span>set rsTemp = NOTHING</div><div>%&gt;</div><div></pre></td></tr></table></div><div>My preference would be to add it <span style="line-height: 1.4;">on prv_increviews.asp (rather than viewPrdCode.asp -- so's not to have this twice on the product page AND so's not to clutter up the top of the product page data with it) and then again on prv_allreviews.asp</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">Here's an example (WARNING: wear a hardhat -- work in progress) with this in all three locations:</span></div><div><a href="http://pc47a-wms-net.3060.wmsmerchantservices.com/store/pc/viewPrd.asp?IDProduct=1&amp;IDCategory=2" target="_blank" rel="nofollow">http://pc47a-wms-net.3060.wmsmerchantservices.com/store/pc/viewPrd.asp?IDProduct=1&amp;IDCategory=2</a></div><div><br></div><div>Hope this helps you out better.</div><div><br></div><div>Meanwhile, lots of structured data stuff to do regarding the reviews themselves on both product pages and the "all reviews" page for a product (along with other SEO issues with the latter including duplicate title tag, duplicate meta description tag, bad canonical URL tag, etc. -- issues I've already solved if you are interested).</div>]]>
   </description>
   <pubDate>Tue, 17 Sep 2013 23:11:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21602.html#21602</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : PERFECT! Thank you Sean!  ]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21585.html#21585</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1407">Lindsay</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 10-September-2013 at 5:34pm<br /><br /><br><br>PERFECT! Thank you Sean!]]>
   </description>
   <pubDate>Tue, 10 Sep 2013 17:34:04 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21585.html#21585</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : If you only want the numeric value...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21583.html#21583</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 10-September-2013 at 2:47pm<br /><br />If you only want the numeric value to show on product pages, you could change<div><table width="99%"><tr><td><pre class="BBcode"></div><div><span style=": rgb251, 251, 253;">response.write Rev_SaveRate</span></div><div><span style=": rgb251, 251, 253;"></pre></td></tr></table></span></div><div><span style=": rgb251, 251, 253;">to</span></div><div><span style=": rgb251, 251, 253;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div><span style=": rgb251, 251, 253;">if pcStrPageName = "viewprd.asp" then response.write Rev_SaveRate</span></div><div><span style=": rgb251, 251, 253;"></pre></td></tr></table></span></div><div><span style=": rgb251, 251, 253;">or perhaps this is a bit nicer display:</span></div><div><span style=": rgb251, 251, 253;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div><span style=": rgb251, 251, 253;">if pcStrPageName = "viewprd.asp" then response.write "(" &amp; Rev_SaveRate &amp; "/5)"</span></div><div><span style=": rgb251, 251, 253;"></pre></td></tr></table></span></div><span style="font-size:10px"><br /><br />Edited by Sean@WMS - 10-September-2013 at 2:52pm</span>]]>
   </description>
   <pubDate>Tue, 10 Sep 2013 14:47:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21583.html#21583</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : Great- but is there a way to hide...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21577.html#21577</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1407">Lindsay</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 08-September-2013 at 1:26pm<br /><br /><br>Great- but is there a way to hide that number on listings in search results?<br>]]>
   </description>
   <pubDate>Sun, 08 Sep 2013 13:26:54 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21577.html#21577</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : In pc/prv_incfunctions.asp find...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21489.html#21489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 06-August-2013 at 6:21pm<br /><br />In pc/prv_incfunctions.asp find the following two lines and uncomment the second one :-<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ' Uncomment the following line to show the text value (e.g. "3.5")<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ' response.write Rev_SaveRate<br><br>]]>
   </description>
   <pubDate>Tue, 06 Aug 2013 18:21:09 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21489.html#21489</guid>
  </item> 
  <item>
   <title><![CDATA[Converting Reviews from Image to Numerical Values : Since ProductCart&amp;#039;s latest...]]></title>
   <link>https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21409.html#21409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1407">Lindsay</a><br /><strong>Subject:</strong> 5664<br /><strong>Posted:</strong> 09-July-2013 at 6:49pm<br /><br /><br><br>Since ProductCart's latest release doesn't include structured data markup or the option to add metadata into product pages, I'm trying to use Google's Structured Data Markup Helper to add this information manually.<br><br>It appears that Google's tool is not able to recognize and convert productcart's stars, empty stars, and half stars to a numerical value- so I'm looking for a way to display a numerical value/aggregate score next to (or even instead of) the stars that are just under the product title, on the main product page.&nbsp; Any suggestions?<br>]]>
   </description>
   <pubDate>Tue, 09 Jul 2013 18:49:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/converting-reviews-from-image-to-numerical-values_topic5664_post21409.html#21409</guid>
  </item> 
 </channel>
</rss>