This is a quick how to use Feed43 to pull your TripAdvisor reviews.
http://feed43.com/understanding-patterns.html
http://feed43.com/step-by-step.html
Step 1. Specify source page address (URL)
http://www.tripadvisor.com/Hotel_Review-g000000-d00000-Reviews-Your_Hotel_Name_and_loacation.html
Step 2. Define extraction rules
Global Search Pattern:
class="reviewSelector ">{%}
Item (repeatable) Search Pattern*:
{*}
'user_name_name_click')">{%}{*}
{*}
{%}{*}
18 Replies to “How to use Feed43”
Leave a Reply
Is there a way to define the extraction rule or anywhere else in the Feed43.com data to only grab “4 or 5” star reviews? I’m thinking you can somewhere in the “Search Pattern” but haven’t figured it out yet. This is ultimately going into an RSS feeder, not in WordPress.
Not to my knowledge. If you use the premium version then you could download most of your reviews and then filter the best ones by star rating using php.
Hi Greg
Can you help me, i’m battling to pul in the user’s avatar next to the review.
Thanks
Schalk
The avatar is pretty complex from what I remember, I think I ended up just using the TripAdvisor logo as a placeholder for the avatar.
Hi there,
Does this work for reviews on rental accommodation types in Trip Advisor?
Doesn’t seem to find any pattern matches when I try to do mine.
Hi Patrick,
I don’t see why it shouldn’t, send me a link and I’ll give it a go.
would you mind telling me what I need to for pulling reviews of an attraction?
I have tried using the simple instructions but comes back with “Global Pattern didnt match anything”
link: http://www.tripadvisor.it/Attraction_Review-g187791-d2079762-Reviews-The_Red_Bicycle_Touring_Organisation_Day_Tours-Rome_Lazio.html
Hi Glenn,
I’ll take a look and get back to you when I’ve got a little more free time.
Hi Greg,
I’ve just tried to create a feed for the following webpage: http://www.tripadvisor.co.uk/ShowUserReviews-g187048-d1899266-r255931770-Spice_Lounge-Derby_Derbyshire_England.html
Not having much luck, though! I’ve followed the above instructions to the letter but, when I click on my feed, it states:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
ERROR: Feed is not set up properly. Please fill in all required fields
Can you help?
Cheers, Andy
Hi Andy,
I guess I should of responded in order of the messages that I received them. I’ll take a look at this when I have some free time, but the first thing that I notice is that you’re using a .uk extension and everything I’ve worked with has been a .com.
Hi Greg,
Just tried this again using the .com version of the page. Still getting nowhere, though. When I click on “Extract”, I get “Global pattern didn’t match anything”. Can you help?
Hi Andy,
I tried it out using the following URL, http://www.tripadvisor.com/Restaurant_Review-g187048-d1899266-Reviews-Spice_Lounge-Derby_Derbyshire_England.html
It looks like Feed43 does not download enough of the page, so it can’t find
class="reviewSelector ">{%}
I haven’t tried Feed43 paid plans, but their cheapest one should download enough of the page for it to work.hi Andy. same problem but it only appears after months of use. Chrome shows this but IE is okay. So have a try. my rss widget was not working properly, too. After several trials nothing changed except the widget can receive the feed. So I leave the problem there…
The next version will have a built in solution to this problem. I may do a beta release for testing, if you sign up here I will notify you with instructions: http://gregorypearcey.com/sign/
Thanks Greg, what can I do if it’s not, though? Are there any good (and free) alternatives to Feed43, maybe?
The instructions for the feed43 site is not working , can you confirm that its working on your end ?
im using your code with my resturant site url ..
but it just doesnt find any items ..
ive been trying my best to figure this out ,,
all i get is 1 item being extracted when I use
class=”wrap”>{%}
and
{%}
please help, this should be very nice when I get it working 🙂
Seems as though feed43 has changed a bit and will only download a portion of the page. There are two solutions one would be to pay feed43 to download more of the page, the other would be to wait for my next release of the plugin that will have a built in solution. Unfortunately I’ve been extremely busy and I haven’t had the free time to finish the plugin, but I expect to have it ready withing the next couple of months. If you sign up I’ll notify you when I release it: http://gregorypearcey.com/sign/