Running the Newskeeper sample

This sample application uses the document generation service to produce documents from news sources.

Before you begin

  • Deploy the IBM® Rational® Publishing Engine Document Builder on an application server. See the topics for deploying to Apache Tomcat, WebSphere® Application Server, or WebSphere Application Server Liberty.
    Important: To run the document generation service sample applications successfully, you must deploy the document generation service on the same machine and port under the /dgaas URL, see the following example:
    • URL for document generation service: http://localhost:9080/dgaas
    • URL for document generation service sample applications: http://localhost:9080/dgaas.sample

About this task

The Newskeeper sample application (dgaas.sample.war) demonstrates the use of document generation service technology for generating documents, and provide a storage interface for document generation service assets and documents.

This Newskeeper sample uses live RSS feeds to produce documents. You can select the feed to publish from a user interface.

The Newskeeper sample is available as a web archive file, dgaas.sample.war, located in the document-builder directory under the installation directory for IBM Rational Publishing Engine. For example, C:\Program Files\IBM\Rational\Publishing Engine\document-builder\dgaas.sample.war.

Procedure

  1. Deploy the dgaas.sample.war file on your application server. See the help documentation from your application server for deploying to Apache Tomcat, WebSphere Application Server, or WebSphere Application Server Liberty.
  2. To run the Newskeeper sample (dgaas.sample.war) open the following URL in a browser:
    http://hostname:port/dgaas.sample/newskeeper
    For example: http://localhost:9080/dgaas.sample/newskeeper/

Results

The following Newskeeper sample should display in your browser:

index.html of the News Keeper sample


Feedback