Skip to content

Instantly share code, notes, and snippets.

@loalf
Created June 27, 2013 10:35
Show Gist options
  • Save loalf/5875497 to your computer and use it in GitHub Desktop.
Save loalf/5875497 to your computer and use it in GitHub Desktop.
Small script to show reviews in a page
<html>
<head>
<script type="text/javascript" src="http://timeout.pluck.com/ver1.0/Content/ua/scripts/pluckApps.js"></script>
<link rel="stylesheet" type="text/css" href="http://timeout.pluck.com/ver1.0/Content/ua/css/pluckAll.css" />
<script type="text/javascript">
pluckAppProxy.embedApp("pluck_login_withFacebook", {
plckLogoutUrl: "/Security/Logout"
}, {});
</script>
</head>
<body>
<?php
echo file_get_contents("http://timeout.pluck.com/ver1.0/pluck/reviews/list.app?plckReviewOnKeyType=article&plckReviewOnKey=myfancyarticle&clientUrl=http%3A%2F%2Fdev.timeout.pluck.com%2Findex.php%2F%3Fasdfasdf
")
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment