Author: buildbot
Date: Fri Feb 17 11:13:30 2012
New Revision: 805171
Log:
Staging update by buildbot for stanbol
Modified:
websites/staging/stanbol/trunk/ (props changed)
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/index.html
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/index.html
Propchange: websites/staging/stanbol/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Feb 17 11:13:30 2012
@@ -1 +1 @@
-1245391
+1245393
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/index.html
==============================================================================
---
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/index.html
(original)
+++
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/index.html
Fri Feb 17 11:13:30 2012
@@ -76,7 +76,7 @@
</pre></div>
-<p>For detailed information please see the documentation provided by the
Stanbol Web UI (e.g. <a
href="http://localhost:8080/enhancer">http://localhost:8080/enhancer</a>
assuming that Apache Stanbol runs on localhost:8080).</p>
+<p>For detailed information please see the documentation of the <a
href="enhancerrest.html">Stanbol Enhancer RESTful Services</a>. A short version
is also provided by the Stanbol Web UI (e.g. <a
href="http://localhost:8080/enhancer">http://localhost:8080/enhancer</a>
assuming that Apache Stanbol runs on localhost:8080).</p>
<h3 id="java_api">Java API:</h3>
<p>The usage of the Java API requires the following OSGI Services</p>
<div class="codehilite"><pre><span class="nd">@Reference</span>
@@ -156,21 +156,6 @@
<li>entity-type: This property can be used to specify the type of the entity
(optional) </li>
<li>The occurrences of the entity within the content (the exact positions
within the text where this entity is referred) are determined by outgoing
dc:relation links.</li>
</ul>
-<h2 id="response_in_rdf">Response in RDF</h2>
-<p>The Apache Stanbol enhancer is able to serialize the response in the
following RDF formats:</p>
-<div class="codehilite"><pre>application/json (JSON-LD)
-application/rdf+xml (RDF/XML)
-application/rdf+json (RDF/JSON)
-text/turtle (Turtle)
-text/rdf+nt (N-TRIPLES)
-</pre></div>
-
-
-<p>By default the URI of the content item being enhanced is a local, non
de-referencable URI automatically built out of a hash digest of the binary
content. Sometimes it might be helpful to provide the URI of the content-item
to be used in the enhancements RDF graph. This can be achieved by passing a URI
request parameter as follows:</p>
-<div class="codehilite"><pre>curl -X POST -H <span class="s2">"Accept:
text/turtle"</span> -H <span class="s2">"Content-type:
text/plain"</span> <span class="se">\</span>
- --data <span class="s2">"John Smith was born in London."</span>
<span class="se">\</span>
- <span
class="s2">"http://localhost:8080/engines?uri=urn:fise-example-content-item"</span>
-</pre></div>
</div>
<div id="footer">
Modified: websites/staging/stanbol/trunk/content/stanbol/docs/trunk/index.html
==============================================================================
--- websites/staging/stanbol/trunk/content/stanbol/docs/trunk/index.html
(original)
+++ websites/staging/stanbol/trunk/content/stanbol/docs/trunk/index.html Fri
Feb 17 11:13:30 2012
@@ -66,7 +66,7 @@
<li>Demos</li>
</ul>
<p><em>Note</em>: In addition to the documentation on this site, every Apache
Stanbol instance provides you with live documentation when pointing your
browser to the Apache Stanbol start page. It contains further descriptions and
the most up-to-date documenation for each component and its RESTful API.
Additional technical notes for each component can be found within various
README files within the <a
href="http://svn.apache.org/repos/asf/incubator/stanbol/trunk/">source
code</a>.</p>
-<h2 id="documentation_for_apache_stanbol_contributors">Documentation for
Apache Stanbol Contributors</h2>
+<h2
id="documentation_for_apache_stanbol_for_developers_and_contributors">Documentation
for Apache Stanbol for Developers and Contributors</h2>
<ul>
<li>Java API for developers</li>
<li>How to contribute to software development</li>