如何将大多数 cms 内容从 mediawiki 移动到 django-cms?

发布于 2024-09-10 14:09:08 字数 271 浏览 6 评论 0原文

我计划将网站从 mediawiki 迁移到 django-cms。它有大约 150 页和类似数量的嵌入图像。

问题是如何以最小的努力做到这一点。有几个问题:

  • django-cms不支持mw wiki sintax,我应该导出html吗?
  • 我如何将所有 wiki 页面转储为纯 html,
  • 如何自动化该过程或至少最小化工作量。
  • 如何处理内部链接(内部链接没有那么多,大概在2/页以下)
  • 如何处理图片

I'm planning to move a site from mediawiki to django-cms. It has around 150 pages and a similar number of embedded images.

The question is how to do it with minimal effort. There are several issues:

  • django-cms does not support mw wiki sintax, should I export html?
  • how can I dump all the the wiki pages as plain html
  • how to automate the process or at least minimize the effort.
  • how to deal with internal links (there are not so many internal links, probably under 2/page)
  • how to deal with images

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

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

发布评论

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

评论(1

你不是我要的菜∠ 2024-09-17 14:09:08

第一反应——手动操作。 150 页并不算多,您当然可以在一个工作日内完成(可能更少)——这大约是您查找和测试自动化解决方案所需的时间。

我已将 wiki 移至另一种格式,发现只需在记事本中查找和替换就可以完成很长的路要走!

First reaction - do it manually. 150 pages is not much and you can certainly do it in one working day (probably less) - which is about the same time it will take you to find and test an automated solution.

I've moved a wiki to another format and found I got a long way with just find and replace in Notepad!

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