Tuesday, June 10, 2014

Using TripAdvisor review widgets in WordPress

TripAdvisor reviews are the life-blood of any hotel, but if your website is run on WordPress, you'll be hard pushed to add their widgets to your site (WordPress doesn't like the <script> side of the widget).

For a while, the workaround was to use the TripAdvisor RSS feed for your property, until TA stopped even that a few days ago.

The solution is fiendishly devious: pull the code from a simple html page on your server using an IFRAME in your post or page. Specifically:

1. Get your review widget code, and save to a file called say ta_review.htm
2. FTP the ta_review.htm page to your web server.
3. Insert an IFRAME in your post/page (don't forget to switch to HTML view). Something like this:

<iframe src="http://www.yourwebsite.com/ta/ta_review.htm" height="600" width="500" frameborder="0"></iframe>

4. And Robert is truly your mother's brother.

Sunday, June 01, 2014

A Siddington bike ride

I think you might be interested in this track: https://docs.google.com/file/d/0BxYrDP0zuKceajdsbk14eGpWa3M/edit?usp=drivesdk Created by Google My Tracks on Android Name: Siddington Activity type: biking Description: - Total distance: 20.33 km (12.6 mi) Total time: 1:20:49 Moving time: 1:19:21 Average speed: 15.09 km/h (9.4 mi/h) Average moving speed: 15.37 km/h (9.5 mi/h) Max speed: 41.26 km/h (25.6 mi/h) Average pace: 3:59 min/km (6:24 min/mi) Average moving pace: 3:54 min/km (6:17 min/mi) Fastest pace: 1:27 min/km (2:20 min/mi) Max elevation: 227 m (744 ft) Min elevation: 141 m (463 ft) Elevation gain: 501 m (1644 ft) Max grade: 572 % Min grade: -25 % Recorded: 01/06/2014 5:04pm