Feefo

Showing reviews - the XML feed

Showing reviews on your site including Google's 'Rich Snippets'.

You can install an XML feed from Feefo that will give you access to Feefo feedback. To simplify the installation, we provide a sample, stylesheets and PHP code (ASP code to come). If you install these files on a new subdirectory on your server, you will be able to receive feedback on a specialized page. You can then adapt the code to incorporate the feedback into your existing pages.

We have updated these files to include the 'rich snippets' tags in the code. 

The files include some alternative GIFs, (stars1.gif etc) which can be used instead of plus.gif and minus.gif if required.   You can alter the stylesheets to suit your site.

You can ask to receive any selection of the feedback that is visible from Feefo. To understand the required parameters, see those passed within Feefo at the top of the feedback page('viewvendor.jsp').

You can download the required files from here.

Parameters taken by the XML feed (which may also be tested on our 'reviews' page - viewvendormain.jsp).

logon   logon is your logon. -e.g www.examplesupplier.com
vendorref   The 'Order Line Ref' that you uploaded. This may have wildcards at beginning or end - e.g. ABCD12*
mode

product/serviceboth

/productonly/productco

overrides the choice made in the registration page

productonly: replace service commens with 'good' or 'excellent'.  productco:  remove ALL service comments

since year/ month/week/6months  
forfeedback ++/+/-/-- see only this type
feedbacktype product_feedback/service_feedback refers to the forfeedback parameter
sortby date/relevance/score  
order asc/desc  
limit 10/25/50/100 number shown

 

Parameters specific to the XML feed

 

negativesanswered true withholds negatives for up to two working days if the supplier has not responded
productxsl path to XSL sheet to convert the XML into HTML for product feedback
servicexsl

path to XSL sheet

to covert the XML into HTML for service feedback

html true/json if 'true' will use the XSL to convert the XML.  if 'json' will return the HTML as JSON
json true returns JSON instead of XML (NOTE this differs from converting to HTML then sending this as JSON)
password [PASSWORD'] will also return private information (customer name, email, order number) about each feedback
method {javascript} used internally to specify the way in which you want the reviews to be displayed (e.g. popup, sliding...)
additionalitemslimit [number] specifies the maximum number of items that the customer 'also bought'
callback [function name] a function name for a direct JSON call.

 

To see an example of a general XML feed, see

http://www.examplesupplier.com/feefo/feefofeedback.php?logon=www.examplesupplier.com

To see feedback displayed for a particular product, add the 'vendorref' parameter, as in

http://www.examplesupplier.com/feefo/feefofeedback.php?logon=www.examplesupplier.com&vendorref=132

You can see a sample of what your own feedback might look like by substituting your own parameters into this page:

http://www.examplesupplier.com/feefo/feefofeedback.php?logon=YOURLOGON&vendorref=VENDORREF

To test whether Google recognizes 'rich snippets' on your feedback page, use this tool

http://www.google.com/webmasters/tools/richsnippets

Find out how it works. Take a Feefo test drive, or register now