Solved

Review feed on website

Posted on 2013-02-07
11
932 Views
Last Modified: 2013-11-18
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
0
Comment
Question by:emlynrg
  • 6
  • 3
  • 2
11 Comments
 
LVL 5

Expert Comment

by:Pyromanci
Comment Utility
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
 

Author Comment

by:emlynrg
Comment Utility
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
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 500 total points
Comment Utility
0
 
LVL 5

Expert Comment

by:Pyromanci
Comment Utility
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
 

Author Comment

by:emlynrg
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Assisted Solution

by:emlynrg
emlynrg earned 0 total points
Comment Utility
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
 

Accepted Solution

by:
emlynrg earned 0 total points
Comment Utility
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
 
LVL 5

Expert Comment

by:Pyromanci
Comment Utility
Points should go to leakim971 as he was the one who pointed out the widgets.
0
 

Author Comment

by:emlynrg
Comment Utility
ok will do, thanks for taking the time to help Pyromanci, its much appreciated.
0
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
Thank you Pyromanci
Have a nice week-end!
0
 

Author Closing Comment

by:emlynrg
Comment Utility
I used the trip advisor widgets, i wasn't initially aware that they had one that displayed review information.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now