The offline-site generator allows to generate representations of the resources described in the content graph for offline usage of for deployment on a traditional file-based webserver.
An offline site can be retrieved at /admin/offline/download with the following query parameters:
- 1 baseUri: for all resources with a URI starting with this Uri
creation of the specified target fomats is attempted
- 1 targetUri: where base-uri appears in the representations it is replaces with target-uri
- 0 or 1 rootLinkPrefix: prefix to be prepended to links with Uri reference starting with a slash
- 1 - n formatExtension: the file- extensions represing the different formats to be produced, the extensions are added to the generated files where the file would not otherwise end with the extension.
Example: http://clerezza.apache.org/admin/offline/download?baseUri=http://clerezza.apache.org/&targetUri=http://incubator.apache.org/clerezza/test&formatExtension=xhtml&formatExtension=rdf&formatExtension=png&formatExtension=html&formatExtension=js&rootLinkPrefix=/clerezza/test