Rating System - Customer ratings and reviews solution Current Language:  



There are fields you might want to change to get additional functionality(* optional):

After you create rating box you will get javascript code for your website. Although there are many fields in the rating box request, all of them are required and you will need to change some of them manually to comply with your site settings.


Value Description
r_companyid Company ID, will be assigned to you by our system.
r_ratingboxid Rating Box ID will be assigned to you by our system.
r_typeid Rating entity type ID, will be assigned to you by our system.
r_itemid "encodeURIComponent(window.location.href)" is your web page URL or you can use your product ID if your product ID is not part of URL.
r_folder Folder Name, will be assigned to you by our system, please don't change it.
r_matte Image Matte, will be assigned to you by our system, please don't change it.
r_css Css File name, will be assigned to you by our system, please don't change it.
r_name Rating Box name
r_userid Need to be changed to comply with your website setting, need to be set to your user ID to have ability to rate and review. If r_userid='0' user will be prompted to login.
If r_userid='-1' - user can rate and review anonymously.
If r_userid='' user will be prompted to login or signup to rating system account(rating-system.com implementation).
r_presentationtype Presentation Type, will be assigned to you by our system.


There are seven parameters you might want to change for your reviews feed (* optional):


After your customer submits a rating & review box, RSS feeds of these reviews will be available for you to present on your website.


RSS url:http://www.rating-system.com/rss/reviews.ashx?cid=You Company ID&cguid=You Company GUID&rid=Rating Box ID&itemid=Product ID&itemtype=Product Type&maxelements=10&page=1


RSS url parameters:

Value Description
cid You Company ID. Will be assigned to you when you create an account with us.
cguid You Company GUID, unique identifier. Will be assigned to you when you create an account with us.
rid You rating box ID, will be assigned when you create rating box.
itemid Your web page URL or Your Product ID, you used for you rating box
itemtype Type of the rated entities. We have tens of types you can choose from. This will be assigned by our system when you choose one.
maxelements Max ammount of reviews are returned by the feed. We suggest to keep default value "10"
page All reviews are sorted date, page=1 means first page of most recent reviews

Rating System - Feeds Integration Options

Place javascript below on your page:



Modify iframe url parameters accordingly:

<script type="text/javascript">
document.write('<iframe width="100%" height="100%" name="feedframe" id="feedframe" marginwidth="0" marginheight="0" frameborder="0" hspace="0" src="http://www.rating-system.com/reviews.html?company=' +r_companyid+ '&ratingboxid=' +r_ratingboxid+ '&typeid=' +r_typeid+ '&itemid=' +r_itemid+ '&folder=' +r_folder+ '&matte=' +r_matte+ '&css=' +r_css+ '&name=' +encodeURIComponent(r_name)+ '&userid_name=' +r_userid+ '&presentationtype=' +r_presentationtype+ '"></iframe>');
</script>

Place ASP.NET code on your page:

Modify iframe url parameters accordingly:

<%@ Register Assembly="RssToolkit" Namespace="RssToolkit" TagPrefix="cc1" %>

<asp:DataList ID="reviews" runat="server" CellPadding="4" DataSourceID="RssDataSource1" ForeColor="#333333" Width="100%" >
<HeaderTemplate>
<h5>Reviews:</h5>
</HeaderTemplate>
<ItemTemplate>
<b><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("link") %>' Text='<%# Eval("title") %>' Target="_blank"></asp:HyperLink></b>
<asp:Label ID="lblDesc" runat="server" Text='<%# Eval("description") %>' />
</ItemTemplate>
<FooterTemplate>
<small>Powered by <a target="_blank" href="http://www.Rating-System.com">Rating-System.com</a></small>
</FooterTemplate>
<FooterStyle HorizontalAlign="Right" />
<ItemStyle BorderColor="ControlDark" BorderStyle="Solid" BorderWidth="1" />
<AlternatingItemStyle BackColor="White" />
</asp:DataList>
<cc1:rssdatasource id="RssDataSource1" runat="server" MaxItems="0"></cc1:rssdatasource>


Codebehind RSSDateSource setting:
RssDataSource1.Url = String.Format("http://www.rating-system.com/rss/reviews.ashx?cid= <Company ID> &cguid= <Company GUID> &rid= <Rating Box ID> &itemid={0}&itemtype= <Rating Entity Type ID> &maxelements=10&page=1", Request.Url.AbsoluteUri.ToString());

* Where Request.Url.AbsoluteUri.ToString() is your web page URL or you can use product id. Use the same value you specified for rating box.
* Please, download RssToolkit and place dll into your website "bin" folder.