
 Dmitry Sheiko - 2007-05-29 11:45:36 - 
In reply to message 1 from RodrigoSorry. I was out of the office. So can answer to you now. Of course you can limit an area of you pages to parse with Thesaurus. Change in your thesaurus.js the following lines:
function parseContent(){
	var BodyObj = document.getElementsByTagName("BODY");
	var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, pcallback, 'body='+encodeURIComponent(BodyObj[0].innerHTML));
}
Like this:
function parseContent(){
	var BodyObj = document.getElementsById("mydiv");
	var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, pcallback, 'body='+encodeURIComponent(BodyObj.innerHTML));
} 
And lines:
var phandleSuccess = function(o){
	if(o.responseText !== undefined){
		var respondStructure = eval( '(' + o.responseText + ')' );
		var BodyObj = document.getElementsByTagName("BODY");
		if(respondStructure.content !== undefined) BodyObj[0].innerHTML = stripSlashes(respondStructure.content);
	}
};
Like this:
var phandleSuccess = function(o){
	if(o.responseText !== undefined){
		var respondStructure = eval( '(' + o.responseText + ')' );
		var BodyObj = document.getElementsById("mydiv");
		if(respondStructure.content !== undefined) BodyObj.innerHTML = stripSlashes(respondStructure.content);
	}
};
Where mydiv is name of ID in your block’s DIV (<div id=”mydiv”>text to parse</>)
As for UTF, try to set in your controller.php line header("Content-type: text/html; charset= iso-8859-1");  and use this charset on your HTML pages