1

我需要为特定社区提取 wiki html 内容,并且我只能访问数据库。从 wikis.library 表开始并将其与 wikis.media 连接,我可以检索数据、摘要但不能检索 html 内容。wiki 页面的 html 内容保存在哪里?

谢谢。

4

1 回答 1

2

它保存在文件共享中。文件共享在 WebSphere 环境变量 WIKIS_CONTENT_DIR 中配置。从 MEDIA_REVISION 表中读取修订并通过 MEDIA_FILE_ID 字段提取文件共享上页面的文件名。

您可能还可以使用 Wiki API 来检索内容https://ds_infolib.hcltechsw.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=Retrieving_a_wiki_page_ic50&content=apicontent

于 2021-01-18T08:21:55.127 回答