从 ScrewTurn Wiki 导出到 Confluence 的脚本或实用程序?

发布于 2024-09-01 02:57:08 字数 675 浏览 2 评论 0 原文

有没有人尝试从 ScrewTurn 迁移到 汇合?我希望可以将 ScrewTurn 数据库导出为 xml,然后使用实用程序将其设置为 Confluence 可以理解的格式 - 也许是 通用 Wiki 转换器

有人用过这样的实用程序吗?在我尝试自己写一篇文章之前,有什么我应该知道的吗?

更新: 我已经安装了 Confluence 试用版并查看了备份。有一个类似于数据存储的 entities.xml 文件。根标签是 ,这让我相信他们使用 Hibernate< /a>.我对 Hibernate 不熟悉,但这应该有用。

Has anyone tried migrating from ScrewTurn to Confluence? I'm hoping that I can export the ScrewTurn database to xml and then use a utility to put it in a format that Confluence can understand - perhaps the format used by the Universal Wiki Converter.

Has anyone used such a utility? Is there anything I should know before I try to write one myself?

Update:
I've installed the Confluence trial and I took a look at the backup. There's an entities.xml file that looks like the data store. The root tag is <hibernate-generic>, which leads me to believe that they use Hibernate. I'm not familiar with Hibernate, but this should be useful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

很快妥协 2024-09-08 02:57:08
  1. 为 ScrewTurn 实现 Wiki 转换器 。我使用 MediaWiki 的语法转换器作为基础,因为基本 wiki 语法非常相似。我还实现了一些转换器类, UserDateConverter (需要 Confluence UDMF 插件),PagenameConverterAttachmentsConverter、MetaDataCleaner(删除 ScrewTurn 页面文件中的前三行,其中包括页面名称、日期和##PAGE## )。
  2. 在 ScrewTurn 中,将页面存储提供程序更改为本地页面提供程序(如果它使用不同的提供程序,例如 SQL )。
  3. 运行步骤 1 中实现的自定义 UWC,一次转换一个命名空间。

您可以从 GitHub 下载源代码。

  1. Implement a Wiki Converter for ScrewTurn. I used MediaWiki's Syntax Converter as a base since the basic wiki syntax is very similar. I also implemented a few Converter classes, UserDateConverter (requires the Confluence UDMF plugin), PagenameConverter, AttachmentsConverter, MetaDataCleaner (to remove the first three lines in ScrewTurn page files that include page name, date, and ##PAGE##).
  2. In ScrewTurn, change the page storage provider to Local Pages Provider (if its using a different provider such as SQL).
  3. Run the customized UWC implemented in step 1 and convert one namespace at a time.

You can download the source code from GitHub.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文