Review feed on website

Hi Experts

I'm redesigning a website for someone and i thought it would be neat to have they're Trip Advisor reviews show on the front page. Is it possible to have it done and automatically update itself ? or would it have to be a manual input job?

Thanks
emlynrgAsked:
Who is Participating?
 
emlynrgConnect With a Mentor Author Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for emlynrg's comment #a38869034
Assisted answer: 250 points for Pyromanci's comment #a38864788
Assisted answer: 250 points for leakim971's comment #a38864868

for the following reason:

I used the trip advisor widgets, i wasn't initially aware that they had one that displayed review information.
0
 
PyromanciCommented:
Trip Advisor has a RSS feed. You might be able to configure the feed to retrive the information you need, but I'm not sure i didn't read much of the their RSS Feed information.

If they feed can retrive the information you want you can actually use PHP or Javascript to parse the feed.

Php Feed Parser: http://magpierss.sourceforge.net/
Javascript Feed Parser: http://blog.bobcravens.com/2010/05/build-an-rss-feed-reader-with-jquery-and-jgfeed/
0
 
emlynrgAuthor Commented:
Cool, i'll have a read of that tonight, see if i can make something of it. Keep those suggestions coming just in case.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
leakim971Connect With a Mentor PluritechnicianCommented:
0
 
PyromanciCommented:
The problem with that is "TripAdvisor API content is for licensed partners only and is not publicly accessible. A partner key is required to access content from the API." So unless your a partner for TripAdvisor you wont be able to Access it. The RSS feeds are available to everyone.

I did do a little more reading and you can get the reviews in the RSS feed rather easily. There are 2 ways if your browser recognizes application/rss+xml tag link, like firefox, the RSS icon should appear in the address bar or status strip when you go to that business's page. You could then copy it from that icon.

Another way to get the feed for that companies page is to view the source and look for something like:
<link rel="alternate" type="application/rss+xml" title="RSS" href="/Feeds-d111582-treviews.xml"/>

Open in new window


and the just attach http://www.tripadvisor.com/ to the start of the href and you have your RSS link.
0
 
emlynrgAuthor Commented:
Hi experts

I managed to use one of their widgets to give me what i want, but now there is a small problem with the <hr> shown by the widget, they seem to extend outside of my page container, i've tried using the style and width attributes but it doesn't seem to make a difference. The widget itself is only supposed to be about 270 px according to trip advisor. any ideas?

heres a link to the website.

http://www.bandbcardigan.com/REDESIGN/V3/index.html
0
 
emlynrgConnect With a Mentor Author Commented:
Ignore that last comment, it seems to have sorted itself out, i'm gonna split the points between the two of you as you both pushed me in the right direction. Just to clarify about the widgets, i needed access to the account registered to the property in order to get the widgets.

Thanks again experts.
0
 
PyromanciCommented:
Points should go to leakim971 as he was the one who pointed out the widgets.
0
 
emlynrgAuthor Commented:
ok will do, thanks for taking the time to help Pyromanci, its much appreciated.
0
 
leakim971PluritechnicianCommented:
Thank you Pyromanci
Have a nice week-end!
0
 
emlynrgAuthor Commented:
I used the trip advisor widgets, i wasn't initially aware that they had one that displayed review information.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.