Displaying 'Customer Review' XML data in Joomla 2.5 article

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
alanfinn
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jan 22, 2014 2:33 pm

Displaying 'Customer Review' XML data in Joomla 2.5 article

Post by alanfinn » Wed Jul 16, 2014 8:31 pm

My client has signed up for an account with Feefo https://www.feefo.com, which is a third party customer review/feedback 'engine', and I am trying to integrate their XML feed so that it will appear within articles on a Joomla 2.5 site.

The site is http://www.domain.co.uk/, and an example of the XML feed for one of their products is http://www.feefo.com/feefo/xmlfeed.jsp? ... _in_Puglia

Can anyone tell me how I would go about displaying the feed in a Joomla article (or module)?
Ideally I'd like something like this: http://[no tiny url]/1nKeUak (the Feefo 5 stars next to 'Add to Bag').

Feefo have provided XML, PHP and XSL templates for 'compliling' and styling the feed, but they don't give specific instructions for integrating into your site (because 'every site is different' they say).

So how do I get the data from the XML feed URL (above) onto my web page?
Last edited by alanfinn on Wed Jul 23, 2014 2:13 pm, edited 1 time in total.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Displaying 'Customer Review' XML data in Joomla 2.5 arti

Post by dhuelsmann » Thu Jul 17, 2014 5:53 pm

Feedgator would likely work for you http://extensions.joomla.org/extensions ... cles/13573
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

alanfinn
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jan 22, 2014 2:33 pm

Re: Displaying 'Customer Review' XML data in Joomla 2.5 arti

Post by alanfinn » Tue Jul 22, 2014 4:01 pm

Thanks for the suggestion, dhuelsmann.

It turns out that I had to use a PHP include within the Joomla article, and not an XML feed.
(these are all currently on the limits of my knowledge!)

Anyway, I installed a plugin called Sourcerer (http://extensions.joomla.org/extensions ... ntent/5051) which allowed me to add PHP code directly to the article.

Added the following code to article:

Code: Select all

<?php echo file_get_contents('URL-to-be-included'); ?>


Locked

Return to “General Questions/New to Joomla! 2.5”