如何创建 Discourse 内容的只读归档版本

你好。

我希望能够将论坛的内容转换为一个只读的 HTML 版本,即作为论坛内容的存档版本,仅用于参考。这是否可行?

1 个赞

Nevermind,

I just did it with
sudo wget -mk --adjust-extension https://myforum.example
which did a good enough job for my purposes (UPDATED: see next post below)

TY.

4 个赞

Somewhow with the above commands there were some undowloaded pages and unconverted links. Adding the option -e robots=off fixed it this time.

So the complete command that seems to do the trick is:

$ sudo wget -mke robots=off --adjust-extension https://myforum.example

6 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.