运行 Newskeeper 样本

此样本应用程序使用文档生成服务来从新源中生成文档。

开始之前

关于此任务

Newskeeper 样本应用程序 (dgaas.sample.war) 演示了如何使用文档生成服务技术来生成文档,并为文档生成服务资产和文档提供了存储接口。

此 Newskeeper 样本使用 live RSS 订阅源来生成文档。您可以从用户界面中选择要发布的订阅源。

Newskeeper 样本以 Web 归档文件形式提供,名为 dgaas.sample.war,位于 IBM Rational Publishing Engine 安装目录下的 remote-services 目录中。例如,C:\Program Files\IBM\Rational\Publishing Engine\remote-services\dgaas.sample.war

过程

  1. 在应用程序服务器上部署 dgaas.sample.war 文件。 请参阅应用程序服务器中帮助文档的有关部署至 Apache TomcatWebSphere Application ServerWebSphere Application Server Liberty 的主题。
  2. 要运行 Newskeeper 样本 (dgaas.sample.war),请在浏览器中打开以下 URL:
    http://hostname:port/dgaas.sample/newskeeper
    例如:http://localhost:9080/dgaas.sample/newskeeper/

结果

浏览器中将会显示以下 Newskeeper 样本:

News Keeper 样本的 index.html