Solved

Review feed on website

Posted on 2013-02-07
11
985 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
11 Comments
 
LVL 5

Expert Comment

by:Pyromanci
ID: 38864788
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
ID: 38864860
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
ID: 38864868
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 5

Expert Comment

by:Pyromanci
ID: 38865098
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
ID: 38869024
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
 

Assisted Solution

by:emlynrg
emlynrg earned 0 total points
ID: 38869034
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
ID: 38869056
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
ID: 38869057
Points should go to leakim971 as he was the one who pointed out the widgets.
0
 

Author Comment

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

Expert Comment

by:leakim971
ID: 38869694
Thank you Pyromanci
Have a nice week-end!
0
 

Author Closing Comment

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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

630 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