Outbrain Integration
We've had a few inquiries as to how to integrate this widget into the platform. Outbrain.com is a widget for marketers and publishers and allows their customers to generate "Related Content" type-widgets on their blog platforms. For our customers, they will need to use the java version of the code.
That generates something that looks like the following depending on what you want to do with the widget:
<script language='JavaScript'> var OB_langJS = 'http://widgets.outbrain.com/lang_en.js'; var OBITm = '1328918120748';var OB_raterMode = 'none';var OB_recMode = 'strip'; var OutbrainPermaLink='DROP_PERMALINK_HERE'; if ( typeof(OB_Script)!='undefined' )OutbrainStart(); else { var OB_Script = true; var str = unescape("%3Cscript src=\'http://widgets.outbrain.com/OutbrainRater.js\' type=\'text/javascript\'%3E%3C/script%3E"); document.write(str); } </script>
The only thing that is needed from Lithium is the PERMALINK value which is: ${http.request.url}
Place that code in a Custom Component and then drop the Component into the layout of the page that the content is to appear.
In order to test it on Stage, the Outbrain IP's need to be whitelisted on for each instance that is trying to test. Those IPs are obtained from Outbrain in their implemention guide.