You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fc...@apache.org on 2011/09/28 13:31:21 UTC

svn commit: r1176830 [1/3] - in /incubator/stanbol/trunk/demos/assap: ./ src/main/resources/content/

Author: fchrist
Date: Wed Sep 28 11:31:20 2011
New Revision: 1176830

URL: http://svn.apache.org/viewvc?rev=1176830&view=rev
Log:
STANBOL-327 added three list boxes to show found persons, organisations, and places in website

Added:
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/json2.js
Removed:
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/json.js
Modified:
    incubator/stanbol/trunk/demos/assap/README.md
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/functions.js
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/jquery.js
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/overlay.js
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/overlay.xul
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/results.js
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/results.xul
    incubator/stanbol/trunk/demos/assap/src/main/resources/content/settings.xul

Modified: incubator/stanbol/trunk/demos/assap/README.md
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/demos/assap/README.md?rev=1176830&r1=1176829&r2=1176830&view=diff
==============================================================================
--- incubator/stanbol/trunk/demos/assap/README.md (original)
+++ incubator/stanbol/trunk/demos/assap/README.md Wed Sep 28 11:31:20 2011
@@ -6,7 +6,7 @@ This is a Mozilla Firefox extension that
 sending its plain text content to a running instance of Stanbol Enhancement
 engines. The raw annotation results will be displayed in an extra window.
 
-* Supported Firefox versions    : 3.0 - 4.x
+* Supported Firefox versions    : 3.0 - 6.x
 * Tested on Ubuntu with Firefox : 3.6.22
 
 ## Packaging the SAP

Modified: incubator/stanbol/trunk/demos/assap/src/main/resources/content/functions.js
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/demos/assap/src/main/resources/content/functions.js?rev=1176830&r1=1176829&r2=1176830&view=diff
==============================================================================
--- incubator/stanbol/trunk/demos/assap/src/main/resources/content/functions.js (original)
+++ incubator/stanbol/trunk/demos/assap/src/main/resources/content/functions.js Wed Sep 28 11:31:20 2011
@@ -25,6 +25,9 @@ function extractTextContent(element) {
 	var output = element_clone.textContent;
   output = output.replace(/<\S[^><]*>/g, "");
 
+  output = output.replace(/\n\n/g, " ");
+  output = output.replace(/\t/g, " ");
+  
 	return output;
 }