[John] came up with the idea to develop some 'plugins' to promote [OpenNTF] on a website.
The result can be seen below:

There are currently three different feeds availlable:
Most active projects, Most downloaded projects, Recent releases
The plugin can be added to a site by copying the code below.

<script type="text/javascript">
<!--
category = "random" //(current 'fixed' categories: "recent","downloads","active") ;
inwidth = 220;
inheight = 170;
innumber = 3;
//-->
</script>
<script type="text/javascript"
src="http://www.openntf.org/projects/pmt.nsf/openntfplugin.js">
</script>

The parameters can be adjusted to suit your needs:
- category determines the feed, if you chose 'random' will select one of the availlable feeds
- inheight and inwidth determine the size of the plugin
- innumber can be used to limit the number of return values.
This helps to prevent the text being cutoff at the bottom of the iframe (since the lookups are dynamic there is no way to predict the exact amount of text returned).

For the Taking Notes plugin, use the same code but with 'podcasts' as category.
There is an additional parameter for Taking Notes in case you want to show the subscription logo for itunes: itunes='yes'



comments powered byDisqus