Embed ALOE information into your web pages

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.

Leave a Reply

Clicky Web Analytics