Embed ALOE information into your web pages

May 1st, 2010 by Martin

We now offer to embed information from ALOE into other web pages! Simply put this code on your web page:

<script type="text/javascript">
// <![CDATA[
var aloeUrl = 'http://aloe-project.de';
var borderWidth = '1px';
var borderColor = '#FF9933';
document.writeln( '<iframe width="190" height="120" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="' + aloeUrl + '/AloeView/ajax/getResourceMetadataAsHtmlPage?bookmarkUri=' + encodeURIComponent( location.href ) + '&bookmarkTitle=' + encodeURIComponent(document.title) + '〈=en' + '&borderWidth=' + encodeURIComponent(borderWidth) + '&borderColor=' + encodeURIComponent(borderColor) + '" ></iframe>' );
// ]]>

As a result, you’ll get something like this with information from ALOE about the respective page:

Embeddable ALOE information

You can specify the color and size of the border with the variables borderWidth and borderColor.

Clicky Web Analytics