Why donate?
- Tutorials, follow the NBT course
Follow us
The NBTwiki platform is a web platform specifically developed to support the Neurophysiological Biomarker Toolbox and NBT Analytics. Current we have on average 2.200 unique visits per month producing 6.400 pageviews. The NBTwiki platform runs on a customized Dokuwiki system.
We have developed two plugins to improve the editing of pages, and the speed of the wiki
The inlineeditor enables easy editing of wiki pages, by a simple double click on the page.
More information can be found here.
This plugin enable the browser cache for users that are not logged in. The cache is automatically refreshed (and checked) using an AJAX call to the server. If the user log in, the plugin also refresh the browser cache.
The plugins improves the load time of users of the NBT wiki.
More information can be found here
We are using the tabinclude plugintabinclude plugin for dokuwiki with added cache.
We simply changed the script.js to ..
var tabincludeCache = new Array(); var tabincludePage = "null"; function pl_ti_onTabClicked(page){ if(page){ document.getElementById('ti_content').style.visibility='hidden'; document.getElementById('ti_loading').style.display='block'; tabincludePage = page; if(tabincludeCache[page]) { document.getElementById('ti_content').innerHTML = tabincludeCache[page]; document.getElementById('ti_loading').style.display ='none'; document.getElementById('ti_content').style.visibility = 'visible'; }else{ pl_ti.sack.onCompletion = plugin_ti_refreshcontent; pl_ti.sack.URLString = ''; pl_ti.sack.runAJAX('call=content&page=' encodeURI(page)); } } } function plugin_ti_refreshcontent(){ data = this.response; document.getElementById('ti_content').innerHTML = data; document.getElementById('ti_loading').style.display='none'; document.getElementById('ti_content').style.visibility='visible'; tabincludeCache[tabincludePage] = data; }