Created
March 13, 2013 20:19
-
-
Save charleshimmer/5155769 to your computer and use it in GitHub Desktop.
This is a plain vanilla RR and QA integration for Conversations 2.0 for Travelocity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width"> | |
<!-- Meat and Potatoes of BV Integration Code--> | |
<script src="//travelocity.ugc.bazaarvoice.com/static/0025-en_us/bvapi.js"></script> | |
<script> | |
$BV.ui('rr', 'show_reviews', { | |
productId: 'test', | |
doShowContent: function(){ | |
console.log('code to show reviews tab'); | |
} | |
}); | |
$BV.ui('qa', 'show_questions', { | |
productId: 'test', | |
doShowContent: function(){ | |
console.log('code to show questions tab'); | |
} | |
}); | |
</script> | |
</head> | |
<body> | |
<h1>Demo/Test Bazaarvoice Integration Page</h1> | |
<div id="BVRRSummaryContainer"> | |
<!-- Contents of this div will be filled by Bazaarvoice's JavaScript. --> | |
</div> | |
<div id="BVRRContainer"> | |
<!-- | |
Contents of this div should be filled using the content of the smart SEO HTML file. Bazaarvoice's JS integration will also use this div to render reviews. --> | |
</div> | |
<div id="BVQAContainer"> | |
<!-- | |
Contents of this div should be filled using the content of the smart SEO HTML file. Bazaarvoice's JS integration will also use this div to render reviews. --> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment